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
Switching HGCal electrons and photons to TICL-based reconstruction #31527
Switching HGCal electrons and photons to TICL-based reconstruction #31527
Conversation
…instead of the old Multiclusters. In addition, now there is an option to filter the TICL tracksters based on their PID. This is turned off for now, but will be switched on soon in the future. Files affected: RecoParticleFlow/PFClusterProducer/python/particleFlowClusterHGC_cfi.py RecoParticleFlow/PFClusterProducer/plugins/PFClusterFromHGCalMultiCluster.cc 2. Have turned off the old (default) track-based correction for electrons by adding a configurable boolean "useDefaultEnergyCorrection". Files affected: RecoEgamma/EgammaElectronProducers/plugins/GsfElectronProducer.cc RecoEgamma/EgammaElectronAlgos/interface/GsfElectronAlgo.h RecoEgamma/EgammaElectronAlgos/src/GsfElectronAlgo.cc 3. TICL-based electron customization (like ambiguity resolution). Files affected: RecoEgamma/EgammaElectronProducers/python/gsfElectrons_cfi.py
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31527/18494
|
A new Pull Request was created by @SohamBhattacharya for master. It involves the following packages: RecoEgamma/EgammaElectronAlgos @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
-1 Tested at: 2447357 CMSSW: CMSSW_11_2_X_2020-09-21-1100 I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following workflows: runTheMatrix-results/136.874_RunEGamma2018C+RunEGamma2018C+HLTDR2_2018+RECODR2_2018reHLT_skimEGamma_Offline_L1TEgDQM+HARVEST2018_L1TEgDQM/step2_RunEGamma2018C+RunEGamma2018C+HLTDR2_2018+RECODR2_2018reHLT_skimEGamma_Offline_L1TEgDQM+HARVEST2018_L1TEgDQM.log4.22 step2 runTheMatrix-results/4.22_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC/step2_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC.log136.88811 step2 runTheMatrix-results/136.88811_RunJetHT2018D_reminiaodUL+RunJetHT2018D_reminiaodUL+REMINIAOD_data2018UL+HARVEST2018_REMINIAOD_data2018UL/step2_RunJetHT2018D_reminiaodUL+RunJetHT2018D_reminiaodUL+REMINIAOD_data2018UL+HARVEST2018_REMINIAOD_data2018UL.log4.53 step2 runTheMatrix-results/4.53_RunPhoton2012B+RunPhoton2012B+HLTD+RECODR1reHLT+HARVESTDR1reHLT/step2_RunPhoton2012B+RunPhoton2012B+HLTD+RECODR1reHLT+HARVESTDR1reHLT.log136.793 step2 runTheMatrix-results/136.793_RunDoubleEG2017C+RunDoubleEG2017C+HLTDR2_2017+RECODR2_2017reHLT_skimDoubleEG_Prompt+HARVEST2017/step2_RunDoubleEG2017C+RunDoubleEG2017C+HLTDR2_2017+RECODR2_2017reHLT_skimDoubleEG_Prompt+HARVEST2017.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
I see that the tests that have failed are due to file open errors. |
…r/plugins/PFClusterFromHGCalMultiCluster.cc
The last minor update 3c675cb looks fine, as is expected. |
@SohamBhattacharya can you please clarify the last question? From my/reco point of view, it was understood that this is an incremental development change, so as long as there is no regression in standard (non-HGCAL) reco, this would be fine. However, we can set the criterion (or perhaps it already exists and I'm not aware of it) that also upgrade reconstruction should not suffer regressions in the course of development. |
Changes in upgrade reco are acceptable if they're intentional. |
@kpedro88 @jpata As for this PR, here are the plots of TICL-based electron multiplicity and energy response in a flat-pT (0-200 GeV) electron-gun sample at 0 PU. Similarly, here are the corresponding plots for the TICL-based photons in a flat-pT gun sample. It can be seen that both the multiplicity and the response look reasonable at 0 PU in 11_2. |
@SohamBhattacharya thanks for these studies. Can you provide a bit more information:
|
@kpedro88 Here is the electron response before this change. And this is the corresponding plot for photons. As for the changes to "particleFlowClusterHGCalFromMultiCl" I don't see it as a problem as such. If I'm not mistaken, these are used for e-gamma reconstruction alone, and if that works alright, then the changes to "particleFlowClusterHGCalFromMultiCl" should be acceptable. |
thanks; electron response definitely improves, while photon response seems to stay mostly the same. |
+upgrade |
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
HGCal electron (and photon) sequence modified to use TICL as input, instead of the old Multiclusters.
In addition, now there is an option to filter the input TICL tracksters based on their PID. This is turned off for now, but will be switched on soon in the future.
Files affected:
RecoParticleFlow/PFClusterProducer/python/particleFlowClusterHGC_cfi.py
RecoParticleFlow/PFClusterProducer/plugins/PFClusterFromHGCalMultiCluster.cc
Have turned off the old (default) track-based correction for electrons by adding a configurable boolean "useDefaultEnergyCorrection".
Files affected:
RecoEgamma/EgammaElectronProducers/plugins/GsfElectronProducer.cc
RecoEgamma/EgammaElectronAlgos/interface/GsfElectronAlgo.h
RecoEgamma/EgammaElectronAlgos/src/GsfElectronAlgo.cc
TICL-based electron customization (like ambiguity resolution).
Files affected:
RecoEgamma/EgammaElectronProducers/python/gsfElectrons_cfi.py
PR validation:
scram b distclean
git cms-checkdeps -a -A
scram b -j 8
scram b runtests
Outcome: OK.
runTheMatrix.py -l limited -i all --ibeos
Outcome:
35 23 22 15 8 1 0 0 0 tests passed, 0 11 0 0 0 0 0 0 0 failed
scram build code-checks
Outcome: OK.
scram build code-format
Outcome: OK.