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

Added the switch for the inclusion of PS energy #37491

Merged
merged 2 commits into from Apr 8, 2022

Conversation

ram1123
Copy link
Contributor

@ram1123 ram1123 commented Apr 7, 2022

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:

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37491/29193

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2022

A new Pull Request was created by @ram1123 (Ramkrishna Sharma) for master.

It involves the following packages:

  • RecoEcal/EgammaClusterAlgos (reconstruction)

@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks.
@Sam-Harper, @rchatter, @jainshilpi, @valsdav, @lgray, @sobhatta, @thomreis, @afiqaize, @simonepigazzini, @wrtabb, @argiro, @varuns23 this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@tvami
Copy link
Contributor

tvami commented Apr 7, 2022

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");
Copy link
Contributor

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.

@swagata87
Copy link
Contributor

Hi @ram1123 this is relevant for Run-3 only right? If yes, then I believe it should be under the Run-3 modifier.

Aren't modifiers relevant only for offline reco?
Ram's PR is specific to HLT supercluster regression.

@francescobrivio
Copy link
Contributor

francescobrivio commented Apr 7, 2022

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.
Note that the official request to update the GT hasn't come yet (@saumyaphor4252 please do it asap!), so we might need a couple of days. I'll bring this up at the ORP tomorrow. FYI @perrotta @qliphy

@francescobrivio
Copy link
Contributor

urgent

@cmsbuild cmsbuild added the urgent label Apr 7, 2022
Copy link
Contributor

@francescobrivio francescobrivio left a 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),
Copy link
Contributor

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.

@swagata87
Copy link
Contributor

@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.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37491/29206

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2022

Pull request #37491 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again.

@qliphy
Copy link
Contributor

qliphy commented Apr 8, 2022

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-63d4f5/23752/summary.html
COMMIT: e70ade1
CMSSW: CMSSW_12_4_X_2022-04-07-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37491/23752/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3593039
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3593015
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 200 log files, 45 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@clacaputo
Copy link
Contributor

assign hlt

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2022

New categories assigned: hlt

@missirol,@Martin-Grunewald you have been requested to review this Pull request/Issue and eventually sign? Thanks

@clacaputo
Copy link
Contributor

+reconstruction

@missirol
Copy link
Contributor

missirol commented Apr 8, 2022

+hlt

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2022

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)

@perrotta
Copy link
Contributor

perrotta commented Apr 8, 2022

+1

  • A new option added, and the default value does not change previous behaviour

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

Successfully merging this pull request may close these issues.

None yet

10 participants