MuonG4R4 - Add muon sim hit sorting algorithm
Hi everybody,
this MR adds a small helper package to resort the xAOD::MuonSimHitContainer such that hits from the same chamber are close together in memory. The algorithm can either create a deep copy or a VIEW_ELEMENTS one which might not be super optimal in memory access patterns later. Anyway, if this should happen in the simulation job, the G4AtlasAlg needs to declare its dependencies. Introducing WriteHandleKeys to the senstive detectors is impossible as the master tool is held by service and by the G4AtlasAlg. Instead, the dependencies can be declared via the ExtraOutput
property. I took the checkxAOD from a recent run 3 file to setup the containers for the other detectors as well. In case, of the Inner detector, I'm not really ceratin to what BCMHits
& BLMHits
belongs to
# checking [HITS/group.det-muon.33831012.EXT0._000060.HITS.pool.root]...
Py:AthFile INFO loading cache from [athfile-cache.ascii.gz]...
Py:AthFile INFO loading cache from [athfile-cache.ascii.gz]... [done]
Py:AthFile INFO opening [HITS/group.det-muon.33831012.EXT0._000060.HITS.pool.root]...
================================================================================
Container type | StoreGate keys
-----------------------------------------+--------------------------------------
SiHitCollection | BCMHits, BLMHits, PixelHits, SCT_Hits
TileHitVector | MBTSHits, TileHitVec
TRTUncompressedHitCollection | TRTUncompressedHits
TGCSimHitCollection | TGC_Hits
RPCSimHitCollection | RPC_Hits
LArHitContainer | LArHitEMB, LArHitEMEC, LArHitFCAL, LArHitHEC
xAOD::EventAuxInfo | EventInfoAux.
MMSimHitCollection | MM_Hits
xAOD::EventInfo | EventInfo
MDTSimHitCollection | MDT_Hits
DataHeader | StreamHITS
TrackRecordCollection | CaloEntryLayer, MuonEntryLayer, MuonExitLayer
sTGCSimHitCollection | sTGC_Hits
McEventCollection | TruthEvent
================================================================================
## Bye.
Tagging @jchapman, @tadej, @sroe as I'm curious to hear about their opinion
Merge request reports
Activity
added 1 commit
- 3b4e03d5 - Declare written containers in Simulation via configuration
This merge request affects 6 packages:
- MuonSpectrometer/MuonG4/MuonG4SD
- MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSimHitSorting
- Simulation/G4Atlas/G4AtlasAlg
- Simulation/G4Atlas/G4AtlasTools
Affected files list will not be printed in this case
Adding @jchapman ,@rosati ,@stavrop ,@jojungge ,@apsallid ,@pscholer as watchers
added MuonSpectrometer Simulation main review-pending-level-1 labels
CI Result SUCCESS (hash 3b4e03d5)Athena AthSimulation externals cmake make 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 1
AthSimulation: number of compilation errors 0, warnings 1
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 78948]- Resolved by Johannes Junggeburth
This merge request affects 6 packages:
- MuonSpectrometer/MuonG4/MuonG4SD
- MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSimHitSorting
- Simulation/G4Atlas/G4AtlasAlg
- Simulation/G4Atlas/G4AtlasTools
Affected files list will not be printed in this case
Adding @jchapman ,@rosati ,@stavrop ,@jojungge ,@apsallid ,@pscholer as watchers
CI Result SUCCESS (hash 7d030ab3)Athena AthSimulation externals cmake make 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
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 78959]added 1 commit
- 7af33d36 - Configure hits of the sillicon detectors as well
This merge request affects 6 packages:
- MuonSpectrometer/MuonG4/MuonG4SD
- MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSimHitSorting
- Simulation/G4Atlas/G4AtlasAlg
- Simulation/G4Atlas/G4AtlasTools
Affected files list will not be printed in this case
Adding @jchapman ,@rosati ,@stavrop ,@jojungge ,@apsallid ,@pscholer as watchers
CI Result SUCCESS (hash 7af33d36)Athena AthSimulation externals cmake make 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 1
AthSimulation: number of compilation errors 0, warnings 1
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 78972]added review-pending-level-2 label and removed review-pending-level-1 label
- Resolved by Johannes Junggeburth
- Resolved by Johannes Junggeburth
Please, @jojungge , fix the compilation warning, otherwise looks fine, I have two comments only...
Pavol [as L2 MR shifter]
added review-user-action-required label and removed review-pending-level-2 label
- Resolved by Johannes Junggeburth
This merge request affects 6 packages:
- MuonSpectrometer/MuonG4/MuonG4SD
- MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4
- MuonSpectrometer/MuonPhaseII/MuonG4/MuonSimHitSorting
- Simulation/G4Atlas/G4AtlasAlg
- Simulation/G4Atlas/G4AtlasTools
Affected files list will not be printed in this case
Adding @jchapman ,@rosati ,@stavrop ,@kluit ,@jojungge ,@apsallid ,@pscholer as watchers
added review-pending-level-1 label and removed review-user-action-required label
CI Result SUCCESS (hash 132d328e)Athena AthSimulation externals cmake make 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
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 79020]added review-approved label and removed review-pending-level-1 label
mentioned in merge request !66215 (merged)
@jojungge does this really depend on !66215 (merged)? If not (and I can't really see how it can), can you remove the dependency so I can merge it?
aaah I scheduled the dependency because I should have touched the same lines of code then in !66215 (merged). In the version, there's no dependency. Let's get this in and follow-up with the remaining configuration modifications once that one is in
mentioned in commit ed16ca8a
added sweep:ignore label