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

CandPtrProjector unclustered candidate matching for MET NoHF (bug in miniAOD MET NoHF) #31071

Closed
slava77 opened this issue Aug 6, 2020 · 5 comments

Comments

@slava77
Copy link
Contributor

slava77 commented Aug 6, 2020

I was debugging differences in UL re-miniAOD between 106X and 112X, and was puzzled by the somewhat small but numerous changes in slimmedMETsNoHF UnclusteredEnUp/Down.
If I understood correctly (although I did not add any debug printouts to confirm), the problem is that the "NoHF" is based on noHFCands, which are copies (not Ptrs) of the original PF cands

if (selector_(*pfc)) {
selected_.push_back(reco::PFCandidate(*pfc));
reco::PFCandidatePtr ptrToMother(hc, key);
selected_.back().setSourceCandidatePtr(ptrToMother);

So, the CandPtrProjector can not match the vetoing electron's sourceCandidatePtr (the original particleFlow) to the noHFCands (another check by the cand's sourceCandidatePtr may suffice though).

So, either we

  • need an extension in CandPtrProjector to also check for the main collection sourceCandidatePtr
  • or instead have useDeltaRforFootprint = True for all MET variants with copied candidates;
  • or make noHFCands to be Ptrs

@ahinzmann @camclean @alefisico

@slava77
Copy link
Contributor Author

slava77 commented Aug 6, 2020

assign reconstruction

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2020

New categories assigned: reconstruction

@slava77,@perrotta,@jpata you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2020

A new Issue was created by @slava77 Slava Krutelyov.

@Dr15Jones, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@slava77
Copy link
Contributor Author

slava77 commented Sep 5, 2020

+1

fixed in #31212
(merged on Aug 25)

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2020

This issue is fully signed and ready to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants