Repository navigation
Commit 4ec531b
TRK: IRIS service aluminium from the MaterialManager
The IRIS service modules (addIRISServiceModules and
addIRISServiceModulesSegmented) created their medium by hand as
new TGeoMedium("ALUMINUM", 4, ...): a hard-coded medium ID 4 and all
tracking parameters 0, i.e. ifield = 0. ID 4 is already TRK_AIR$, the
medium of the TRKLayer* mother volumes and the VD petal cases.
Geant4 VMC keys media by ID (TG4GeometryManager::FillMediumMapFromRoot):
the second medium with ID 4 reuses the first one's entry and overwrites
its ifield with 0. With /mcDet/setIsZeroMagField true, every volume of
TRK_AIR$ then gets a zero field, so tracks cross each ML/OT layer
volume (1.2-1.5 cm of air around the staves) without bending. The
geometry file still shows TRK_AIR$ with ifield = 2.
A muon gun (p 2-5 GeV, |eta| < 0.8, A3IP + TRK, ALICE 3 field 2 T)
measures the field each pair of consecutive layers turned the momentum
in: before 0.84 T (7 -> 9 cm) rising to 1.95 T (60 -> 80 cm), the VD
2.00 T; after, every pair 1.99-2.01 T.
The aluminium is now registered in TRKServices::createMaterials with
the TRK's field parameters (ALICE3_TRKSERVICES_ALUMINIUM) and taken
from MaterialManager::getTGeoMedium, which gives it a unique ID. The
material is unchanged (A, Z, density, radiation and interaction
lengths).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>1 parent 992cd42 commit 4ec531b
2 files changed
Lines changed: 8 additions & 6 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
545 | | - | |
| 544 | + | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
621 | | - | |
| 620 | + | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
0 commit comments