-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Phase2-hgx321 Make some fixes to the issues in storing hits for the scintillator part of HGCal #39130
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39130/31687
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-39130/31688
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@civanch, @Dr15Jones, @bsunanda, @makortel, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
@bsunanda , two questions:
|
@civanch There was a complaint of issues for scintillator hits in HGCal like an earlier issue for hits in partial wafers in V17 geometry version. We had to write several test code to resolve that issue. For scintillator hits there. is one test code and may be we can call this HGCalTestScintHits or something like that. This is a test code and will not be used in standard simulation. The changes made in the SD code and the parameter is essentially providing a provision to test for particular set of tiles (as we did for partial wafers) which is useful now and even for future. The issue for scintillator hits have been there for all phase2 versions - noticed in some strange way for the D88 scenario. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39130/31691 |
Validation plots can be seen in |
Ciao @bsunanda @srimanob thanks for following up on this. For the record and to keep an history of what happened and how it has been fixed, it would be nice to have some further information from Sunanda on this bug and on the fix. |
+1 |
It is difficult to know what happened. In the process of debugging the SimHits for scintillators, I found several hit id's are declared to be invalid. This was then traced down to wrong assignment of the ID's from position. Most likely while introducing the cassette concept, the conversion between SIM/RECO unit was disturbed. That led to wrong assignment of DetId's. This is cured. Inthe process, possible shifts due to cassette positioning etc are rightly handled now. Most of the codes are used for debugging while a very small fraction is used in the fix. |
I took the liberty to add this comment to the PR description |
Hi @bsunanda This is what I would like to discuss. Should we wait HGCAL validator to look on DQM first, and report or we merge and produce relvals (as the schedule for _pre5 is tomorrow). Additional question: (2) In the PR description, Should be backported to 12_4_X if any MC production for Phase2 scenario will be done using that |
There are bug fixes in this PR. I should not wait for validation results for approving this. Validation will come later. If there are still other issues we have to work on them. That is my point of view |
Since this is a bug report, we prefer the 12_4 version to be rechecked. I know for certain, 12_4_X has holes and some of them can be fixed before starting Phase2 production |
+Upgrade This PR provides the fix to simhits of HGCAL scintillator part. The validation plot from private production can be found in https://cernbox.cern.ch/index.php/s/cj7pX32FGw7nKam (I expect that the report will be posted to the indico, maybe under HGCAL DPG). The official validation should be done again to confirm the fix. Note that, this is not the final fix for D88. The silicon sensor part in HE still have a problem in very high eta region (see slide 5 of above link). |
By the way, there will be no Phase-2 production in 12_4. I think we don't need the backport. |
@felicepantaleo,@rovere,@pfs,@cseez this PR is expected to enter pre5, but the HGCal signature is also required. |
+1 |
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:
Make some fixes to the issues in storing hits for the scintillator part of HGCal.
In the process of debugging the SimHits for scintillators, several hit id's were found to be declared to be invalid. This was traced down to wrong assignment of the ID's from position. Most likely while introducing the cassette concept, the conversion between SIM/RECO unit was disturbed. That led to wrong assignment of DetId's. This is cured by this PR. In the process, possible shifts due to cassette positioning etc are rightly handled now. Most of the codes are used for debugging while a very small fraction is used in the fix.
Since it is a bug fix the comparison plots for many phase2 scenarios will look different
PR validation:
Use several phase2 runTheMatrix test workflows
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:
Should be backported to 12_4_X if any MC production for Phase2 scenario will be done using that