13 from AthenaConfiguration.Enums
import BeamType
14 if flags.Beam.Type
is BeamType.Cosmics:
16 if "TRT_Barrel" in flags.Sim.CosmicFilterVolumeNames:
17 envelopeMap[
'TRT::BarrelOuterSupport'] =
'TRTBarrelEntryLayer'
18 elif "TRT_EC" in flags.Sim.CosmicFilterVolumeNames:
19 envelopeMap[
'TRT::WheelA'] =
'TRTECAEntryLayer'
20 envelopeMap[
'TRT::WheelB'] =
'TRTECBEntryLayer'
21 elif "TRT_EC" in flags.Sim.CosmicFilterVolumeNames:
22 envelopeMap[
'SCT::ThShieldOuterCly'] =
'SCTBarrelEntryLayer'
23 elif "Pixel" in flags.Sim.CosmicFilterVolumeNames:
24 envelopeMap[
'Pixel::Pixel'] =
'PixelEntryLayer'
25 if not flags.Sim.ISFRun:
26 if flags.Detector.GeometryID:
27 envelopeMap[
'IDET::IDET'] =
'CaloEntryLayer'
28 if flags.Detector.GeometryITk:
29 envelopeMap[
'ITK::ITK'] =
'CaloEntryLayer'
30 if flags.Detector.GeometryCalo:
31 envelopeMap[
'CALO::CALO'] =
'MuonEntryLayer'
32 if flags.Detector.GeometryMuon:
33 envelopeMap[
'MUONQ02::MUONQ02'] =
'MuonExitLayer'