Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

automatic merge? #3

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

automatic merge? #3

wants to merge 20 commits into from

Conversation

es-zenhom
Copy link

No description provided.

es-zenhom and others added 3 commits May 29, 2023 22:41
  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
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Copy link
Owner

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.

Copy link
Owner

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.

Copy link
Author

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.

es-zenhom and others added 17 commits July 29, 2023 01:01
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");
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants