fix AFP pixel numbering and particle propagation
AFP pixel numbers should be from 0-79 and 0-335, as expected in AFP_PileUpTool
. Here, we make pixels with numbers 1-80 and 1-336 if particle crosses pixel borders such that Y index increases/decreases.
Also fixing several bugs in particle propagation - position was updated only for one coordinate and in rare occasions it could be set totally off.
Finally, removes #define
s and replaces them with static constexpr
.
I'm not sure if violation of frozen tier-0 policy applies here. The output does change but this code isn't used for any data reconstruction...
Tagging @ladamczy
Closes AFPSOFT-139
Merge request reports
Activity
added ForwardDetectors master labels
added 430 commits
-
09c49535...75793bf1 - 429 commits from branch
atlas:master
- f4a35d73 - Merge remote-tracking branch 'upstream/master' into afp-fix-pixel-numbers
-
09c49535...75793bf1 - 429 commits from branch
added 21.0 alsoTargeting:22.0 labels
removed 21.0 label
added alsoTargeting:21.0 label
added 310 commits
-
6a2a1bf0...4a715fbc - 309 commits from branch
atlas:master
- a061e113 - Merge remote-tracking branch 'upstream/master' into afp-fix-pixel-numbers
-
6a2a1bf0...4a715fbc - 309 commits from branch
This merge request affects 1 package:
- ForwardDetectors/AFP/AFP_G4_SD
This merge request affects 6 files:
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_SensitiveDetector.cxx
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_SensitiveDetector.h
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_SiDSensitiveDetector.cxx
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_SiDSensitiveDetector.h
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_TDSensitiveDetector.cxx
- ForwardDetectors/AFP/AFP_G4_SD/src/AFP_TDSensitiveDetector.h
Adding @ggach as watcher
added Simulation review-pending-level-1 labels
CI Result SUCCESS (hash 6e003d22)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon externals cmake make required tests optional tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
DetCommon: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 55200]removed review-pending-level-1 label
added review-approved label
mentioned in commit c0a27c5d
added sweep:done label
picked the changes into the branch
cherry-pick-c0a27c5d162-22.0
with commit 1ee9066amentioned in merge request !54850 (merged)
mentioned in commit 1ee9066a
picked the changes into the branch
cherry-pick-c0a27c5d162-21.0
with commit 54d286a8mentioned in commit 54d286a8
Sweep summary
successful:- 21.0
- 22.0
(see https://aiatlas154.cern.ch/jenkins/job/auto_git_sweeps/2828/console for details)
mentioned in merge request !54851 (merged)
mentioned in merge request !54910 (merged)
mentioned in commit 76efaee1
mentioned in commit 5542e560