-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Implementation of beam halo tagger algorithm for the endcap photons #36901
Implementation of beam halo tagger algorithm for the endcap photons #36901
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36901/28185
|
A new Pull Request was created by @jainshilpi for master. It involves the following packages:
@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters: |
@cmsbuild please test |
The following clang errors seem relevant:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36901/28199
|
Pull request #36901 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again. |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b5b203/22784/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
+reconstruction
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
import FWCore.ParameterSet.Config as cms | ||
from RecoEgamma.EgammaIsolationAlgos.egammaHBHERecHitThreshold_cff import egammaHBHERecHit | ||
|
||
pathToHaloMVATrainingFile = "RecoEgamma/PhotonIdentification/data/beamHaloTaggerID/xgboostToTMVA_BHtagger.root" |
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.
Seems like the beamHaloTaggerID/xgboostToTMVA_BHtagger.root
file wasn't included, so this PR broke the IB judging from #37130 (comment).
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.
Thanks! Should be fixed now by cms-sw/cmsdist#7665
@jainshilpi as suggested by @mmusich in #37143 (comment) there is quite likely some uninitialized variable in the PhotonMVABasedHaloTagger that causes some unphysical (and non reproducible) haloTaggerMVA value, see the results of the comparisons and the plots atteched to the #37143 github thread. |
@perrotta - thanks for pointing to this problem and sorry that I missed to have the appropriate treatment to Run 1+2 files. It seems that the WF 136.7611 essentially picks the 2016 AOD files and tries to find the value of haloTaggerMVAVal_. Since this variable does not exist in those AOD files (which is added by this PR in the releases beyond 12_3_X), this just takes some junk value and puts in haloTaggerMVAVal(). I have fixed this issue in this update: Re-running over the same WF seems now to give -99 value for this variable. I also checked by running over the AOD files generated in 12_3_X and correct values can be seen. Can you please confirm that the treatment to old files seem fine to you? If this is fine, I suppose I should do a new PR? |
Thank you @jainshilpi for the prompt feedback! |
|
This PR concerns the newly developed BDT based algorithm to deal with a huge beam halo background in the ECAL endcap which is identified as good photons. Already presented in ECAL DPG, JetMET POG and E/gamma groups:
The last presentation has the checks done as well comparing the implementation using private framework
and the CMSSW implementation.
This implementation touches the DataFromats/EgammaCandidates/Photon.h
The PR for training file will be done as well in RecoEgamma/PhotonIdentification/data
This training is relevant for photons with PT > 100 GeV - the regime important for single photon (+MET) analyses.
The runMatrix tests have been done and they all ran successfully.
Currently the changes are done only at the miniAOD level. After the discussion with the xpog, the relevant variable will be put in the nanoAOD as well.
Thanks to @thomreis for the help.