-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Change EGM code to be able to read HCAL PF thresholds from DB #43164
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43164/37483
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
Since "EGM code" could possibly include also code used by EGM at HLT, could you please let us know if the following plugins used at HLT should also be updated to use
FYI: @cms-sw/hlt-l2 |
I'm taking care of this. |
Milestone for this pull request has been moved to CMSSW_14_0_X.Please open a backport if it should also go in to CMSSW_13_3_X. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43164/37551
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
@missirol I am trying to take care of the other one, EgammaHLTHcalVarProducerFromRecHit, in this PR. |
Pull request #43164 was updated. @Martin-Grunewald, @mmusich, @jfernan2, @mandrenguyen, @cmsbuild can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-580732/36078/summary.html Comparison SummarySummary:
|
+1 |
+hlt
|
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. @antoniovilela, @sextonkennedy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
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.
just some suggestions for future improvement (not for this PR!)
HLTrigger/Configuration/python/HLT_75e33/modules/hltEgammaHoverEL1Seeded_cfi.py
Show resolved
Hide resolved
HLTrigger/Configuration/python/HLT_75e33/modules/hltEgammaHoverEUnseeded_cfi.py
Show resolved
Hide resolved
RecoEgamma/EgammaHLTProducers/plugins/EgammaHLTHcalVarProducerFromRecHit.cc
Show resolved
Hide resolved
+1 |
|
||
class EgammaHLTHcalVarProducerFromRecHit : public edm::global::EDProducer<> { | ||
public: | ||
explicit EgammaHLTHcalVarProducerFromRecHit(const edm::ParameterSet &); | ||
|
||
public: | ||
void beginRun(edm::Run const &, edm::EventSetup const &); |
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.
we overlooked that this module is a edm::global::EDProducer
hence beginRun
cannot be override
-n (it's not in the base class). Hence this is never called.
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.
The best fix would be to move the code in beginRun()
to produce()
and remove the hcalCuts
member variable.
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.
#43819 should fix.
PR description:
This is a PR with changes in the EGM code to allow HCAL PF cuts to be taken from DB on demand (i.e., for specific workflows) in alternative to being taken from config files (as discussed here).
Lots of adaptation work was done already on the PF side and in several aspects this should be similar.
#43025
PR validation
Several Run3 and Run2 workflows (e.g. runTheMatrix.py -l 10024.0, runTheMatrix.py -l 10824.0...)
Expected changes
None, modulo that the thresholds provided via GT are the same as previously provided via config file (which should be the case).