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-sim65 Try to fix 0 TrackID for saved tracks #29409
Conversation
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29409/14562
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
The code-checks are being triggered in jenkins. |
@cmsbuild Please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29409/14564
|
The tests are being triggered in jenkins. |
A new Pull Request was created by @bsunanda for master. It involves the following packages: SimG4CMS/Calo @cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@bsunanda , in this PR mainly namespace and LogVerbatim are added. Concerning trackID=0, it is not obvious what is changed for that. I would rename the title and extend description. |
@civanch I modified the print statements to find out the cause of the track id = 0. In fact the fix is in the code of TrackingAction. It is a subtle change in the statement: bool withAncestor = ((extractor_(aTrack).getIDonCaloSurface() == aTrack->GetTrackID()) || |
@civanch Since I had to edit the files for CaloSD and CaloTrackingAction to find out the cause, I made changes by adding namespace to make the code looking more transparent. But my main concern was to get rid of trackId = 0 |
+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. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Try to fix 0 TrackID for saved hits in the calorimeter. Also add namespace and clean up some of the debug statements
PR validation:
Tested with standard runTheMatrix.py and also cfg's in SimG4CMS/Calo/test/python
if this PR is a backport please specify the original PR and why you need to backport that PR:
Nothing special