-
Notifications
You must be signed in to change notification settings - Fork 4
automatic merge? #3
base: main
Are you sure you want to change the base?
Conversation
if (good_jet_p4s.at(vqqjet_idxs.first).pt() > good_jet_p4s.at(vqqjet_idxs.first).pt()) fixing the typo which makes this condition always true
fixing the typo which makes this condition always true ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer not to merge this into the main branch. You can keep this change separate for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry in advance for the pedantic review: the comment you changed was indeed wrong, but the change is confusing; I think it should read "Sort the two Vqq jets into leading/trailing".
Otherwise, good catch! Glad you are looking at the code closely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah sorry for the confusing comment.
This code analyze vvh semi merged channel on gen level. H-bb and H-non bb branches were created. ld and tr branches were created for the bb and non_bb. for the v bosons: Branches for the leading and trailing V were created and then branches for the leading and trailing fermions, coming from each V, were created. The two vbf quarks were identified (ld and tr branches). At the end branches like gen_ld_v_mass were created to get the compined kinamatics of the V,and H bossons decay prodcutcs.
Committed out if (jet_idx == ld_vbsjet_idx || jet_idx == tr_vbsjet_idx) { continue; } as i am going to choose the vqq jets first and then the vbf jets
added the lines: // Skip Vqq jets candidates if (jet_i == ld_vqqjet_idx || jet_i == tr_vqqjet_idx) { continue; } as i chose the vqq jets first, then i need to exclude them while choosing the vbf quarks. Note: I did this instead of the opposite since i found out that it leads to get results for identifying the vqq jets
selecting the vqq jets first then the vbf jets
// save vbf jet globals to be used in vbs part
// getting the vqq globals to use it to skip vqq jets candidates int ld_vqqjet_idx = globals.getVal<int>("ld_vqqjet_idx"); int tr_vqqjet_idx = globals.getVal<int>("tr_vqqjet_idx");
// vvhqq globals cutflow.globals.newVar<int>("ld_vqqjet_idx"); cutflow.globals.newVar<int>("tr_vqqjet_idx");
No description provided.