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
Added the switch for the inclusion of PS energy #37491
Added the switch for the inclusion of PS energy #37491
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37491/29193
|
A new Pull Request was created by @ram1123 (Ramkrishna Sharma) 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 |
Hi @ram1123 this is relevant for Run-3 only right? If yes, then I believe it should be under the Run-3 modifier. |
@@ -146,6 +147,7 @@ template <edm::Transition esTransition> | |||
void SCEnergyCorrectorSemiParm::setTokens(const edm::ParameterSet& iConfig, edm::ConsumesCollector cc) { | |||
isHLT_ = iConfig.getParameter<bool>("isHLT"); | |||
isPhaseII_ = iConfig.getParameter<bool>("isPhaseII"); | |||
regTrainedWithPS_ = iConfig.getParameter<bool>("regTrainedWithPS"); |
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.
This parameter should be added to the fillPSetDescription
as well.
Why is it set in this function and not in the constructor itself? It is not needed to set any token.
Aren't modifiers relevant only for offline reco? |
From private conversation with @swagata87 and EGM experts we understood that this change should go together with update of the EGM conditions in the HLT GT. |
urgent
|
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.
After more discussion with EGM experts and @cms-sw/alca-l2 we came up with a tentative plan:
- include this PR in the release with
false
flag (since the conditions are not there yet) - we cut the 12_3_0 release
- we (alca) do the FullTrackValidation (where we can change the flag by hand and thus really test the new conditions)
- we (alca) will do a PR with the new HLT GT and changing the flag to
true
The only drawback is that 12_3_0 won't have the latest HLT GT, but that can always be added later, and this is a good way to include already in 12_3_0 all the c++
changes needed.
@@ -51,6 +51,7 @@ SCEnergyCorrectorSemiParm::SCEnergyCorrectorSemiParm() | |||
caloGeom_(nullptr), | |||
isHLT_(false), | |||
isPhaseII_(false), | |||
regTrainedWithPS_(true), |
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.
@ram1123 please change this to false
. As far as I understood this should restore things to the way they are now.
Once we have the new conditions validate we (@cms-sw/alca-l2) we'll take care of changing it to true
when we update the GT.
@ram1123 somewhere in PR description, please make it clear that this PR is relevant ONLY for HLT supercluster regression, and that it does not effect the offline egamma regression. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37491/29206
|
Pull request #37491 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-63d4f5/23752/summary.html Comparison SummarySummary:
|
assign hlt |
New categories assigned: hlt @missirol,@Martin-Grunewald you have been requested to review this Pull request/Issue and eventually sign? Thanks |
+reconstruction
|
+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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
PR description:
EGamma regression can be trained with and without PS energy taking into consideration. So, we added a switch for this while performing the evaluation in the CMSSW.
This PR is relevant ONLY for HLT supercluster regression, and that it does not effect the offline egamma regression.
PR validation:
We run the code with the current version of update and it worked as expected.
if this PR is a backport please specify the original PR and why you need to backport that PR: