-
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
Run3-alca226 Update the macros to e used for Run3 analysis of hadron calorimeter calibration data with isolated muons #39063
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39063/31565
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
@cmsbuild Please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39063/31566
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@malbouis, @yuanchao, @saumyaphor4252, @francescobrivio, @ChrisMisan, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type hcal |
@bsunanda please squash the commits |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-76446b/26826/summary.html Comparison SummarySummary:
|
@bsunanda I have a couple comments for possible future improvements of the code, they're applying to the whole HcalCalibAlgos. There is a lot of code which abuses if statement, this can all go into one loop:
There is no reason why those kind of variables shouldn't be an array:
There's a lot of commented lines which doesn't make sense syntax-wise when uncommented:
Instead of using preprocessor directives you should consider using a flag exposed to the python configuration:
There is a lot of memory management issues, for example in this file: maybe it'd be better to use smart pointers instead of manually managing the memory? Please consider using unordered sets and maps when ordering is not necessary: Initializations could be inlined:
There are comments which are misleading or incorrect:
|
@ChrisMisan I am squashing this right now. I shall slowly update the other parts as pointed out by you |
… with isolated muons Code check
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39063/31598
|
Pull request #39063 was updated. @malbouis, @yuanchao, @cmsbuild, @saumyaphor4252, @francescobrivio, @ChrisMisan, @tvami can you please check and sign again. |
@cmsbuild Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-76446b/26864/summary.html Comparison SummarySummary:
|
+alca
|
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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Update the macros to e used for Run3 analysis of HCAL calibration data with isolated muons
PR validation:
Use the macros to analyze Run3 calibration data
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Nothing special