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-sim136 Extend the testing of wrong cell assignments in HCAL #40035
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40035/32989
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40035/32990
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6abba4/28939/summary.html Comparison SummarySummary:
|
@bsunanda , what is a bit worrying me that the test now become mixed with production in HCalSD, for example, in production we call if (testNumber) { for normal hits. Ideally debugging and tests should be maximally disentangle from ordinary computations. I would even add extra methods to the class and |
These my comments mainly to run time methods. |
At least, in HCalSD there are lines 456 and 473, where test is mixed with normal processing. |
@civanch testNumber is used to include layer # in the unitID and not the Set (which is used for run 1 simulation) - there were cases when no neutral density filter was used (most of Run2 and all Run3/Run4 configuration). But it was used for legacy code . So we had to have this test. This is not for any testing of the code. I think the name "testNumberingScheme" is a bit misleading. I used initially for doing the test and some people found it useful when Run2 started and asked to utilise the feature |
@civanch All tests are protected by EDM_ML_DEBUG, plotDebug or printDebug. testNumber is not a test - it is a switch which is used to distinguish Run1 and part of Run2 with tthe most of Run2 and beyond. |
+1 @bsunanda , the name is really misleading - let us not find better name in this PR, because it only includes "printdebug" |
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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
Hi Vladimir
I am planning to change the name HcalTestNumbering to something like HcalExtendedNumbering - not to confuse for future versions. I shall do that in view of 13_0_X. People need not use my memory for future HCAL versions. Regards
Sunanda
…________________________________
From: Vladimir Ivantchenko ***@***.***
Sent: 11 November 2022 10:35
To: cms-sw/cmssw
Cc: Sunanda Banerjee; Mention
Subject: Re: [cms-sw/cmssw] Run3-sim136 Extend the testing of wrong cell assignments in HCAL (PR #40035)
+1
@bsunanda<https://github.com/bsunanda> , the name is really misleading - let us not find better name in this PR, because it only includes "printdebug"
—
Reply to this email directly, view it on GitHub<#40035 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGMZOUBQHE6DY2RT47TP5TWHYHO7ANCNFSM6AAAAAAR4B7L2M>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi Sunanda, It is also possible to include "Run2" or year in the new name. |
+1 |
PR description:
Extend the testing of wrong cell assignments in HCAL
PR validation:
Use the scripts to test workflows for different run periods.
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