-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update VH Leptonic Tags under STXS workflow #1198
Update VH Leptonic Tags under STXS workflow #1198
Conversation
youyingli
commented
Jan 30, 2020
- Update WH Leptonic Tag with full RunII MVA training
- VHLeptonicLooseTag is absorbed into WH Leptonic Tag
- Split WH Leptonic Tag into several reco categories according to MVA and diphoton pt
- Update ZH Leptonic Tag with cut-based selection
rho_, evt.isRealData() ); | ||
|
||
hasGoodElec = ( goodElectrons.size() > 0 ); | ||
std::vector<edm::Ptr<Electron> >goodElectrons = selectStdElectrons( theElectrons->ptrs(), |
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.
From which file are you loading this? please check the issue here:
#1195
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.
Leptonselection.cc is applied in WH Leptonic Tag and ZH Leptonic Tag.
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.
Are you sure those are the recommended IDs from the respective POGs?
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.
In LeptonSelection.cc, WH and ZH leptonic tag use selectStdElectrons function which has cut-based loose electron ID called from MIcroAOD (like electron->passLooseId(), I think this is recommended) and photon veto, but LeptonSelection2018.cc uses electron MVA WP so I didn't use it. Maybe these two files should be merged to a single file which can choose cut-based ID or MVA WP.
Looks good a part for few things I pointed out line by line. Please also check with @edjtscott if the tag producers behavior is the one expected now after the recent changes (I suspect you can remove the TagTruth part). simone |
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.
After a quick look from my side this looks good. Regarding the TagTruth, it's fine to have it in here. The TagSorter now looks for an existing TagTruth, and adds the STXS & truth vertex info if it exists, creating a new TagTruth otherwise.
STXS information now has been added in TagTruth of WH and ZH leptonic Tag |
hi @youyingli and @simonepigazzini - the developments from this PR are now included in PR 1204 so I will close this one. |