-
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
HCAL: setting hardcoded PFCuts conditions for Phase2 #43139
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37418
|
A new Pull Request was created by @abdoulline (Salavat Abdullin) for master. It involves the following packages:
@cmsbuild, @perrotta, @saumyaphor4252, @consuegs can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
HcalPFCut HcalDbHardcode::makePFCut(HcalGenericDetId fId, double intLumi, bool noHE) const { // GeV | ||
|
||
// from SLHCUpgradeSimulations/Configuration/python/aging.py | ||
double lumis[] = {300, 1000, 3000, 4500}; // integrated lumi points |
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.
All these can be made const
and moved inside the scope of the if
block below
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.
@perrotta you're right (I've sketched it on Saturday morning not much thinking...)
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37432
|
Pull request #43139 was updated. @perrotta, @saumyaphor4252, @cmsbuild, @consuegs can you please check and sign again. |
please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
HcalDetId hid(fId); | ||
int depth_m1 = hid.depth() - 1; | ||
for (int i = 0; i < 4; i++) { | ||
if (fabs(intLumi - lumis[i]) < eps) { |
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.
if (fabs(intLumi - lumis[i]) < eps) { | |
if (std::abs(intLumi - lumis[i]) < eps) { |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37446
|
@abdoulline @perrotta |
squash 3 commits
2812288
to
5a86153
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43139/37484
|
Pull request #43139 was updated. @cmsbuild, @perrotta, @saumyaphor4252, @consuegs can you please check and sign again. |
Sorry for unnecessary buzz... I've finally retrieved my notes from the previous squash to use them for this case. |
+1 |
merge |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d29a55/35552/summary.html Comparison SummarySummary:
|
PR description:
Needed in the context of #43025
to use Conditions for all the eras, including Phase2
No any regular wf is affected
PR validation:
(1) dump of the relevant HcalPFCutsRcd from the Event for Phase2 with aging 1000/fb, i.e.
Yields expected numbers:
(2) runTheMatrix.py -l limited --ibeos --useInput all