Skip to content
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

Closed

Conversation

youyingli
Copy link
Contributor

  • 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(),
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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.

Taggers/python/flashggTagSorter_cfi.py Outdated Show resolved Hide resolved
Taggers/python/flashggTags_cff.py Show resolved Hide resolved
@simonepigazzini
Copy link
Contributor

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

Copy link
Contributor

@edjtscott edjtscott left a 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.

@youyingli
Copy link
Contributor Author

STXS information now has been added in TagTruth of WH and ZH leptonic Tag

@edjtscott
Copy link
Contributor

hi @youyingli and @simonepigazzini - the developments from this PR are now included in PR 1204 so I will close this one.

@edjtscott edjtscott closed this Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants