3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
9 from AthenaConfiguration.Enums
import BeamType
10 if flags.Beam.Type
is BeamType.Cosmics:
11 if flags.Detector.EnableMDT:
12 from MuonG4SD.MuonG4SDToolConfig
import MDTSensitiveDetectorCosmicsCfg
14 if flags.Detector.EnableRPC:
15 from MuonG4SD.MuonG4SDToolConfig
import RPCSensitiveDetectorCosmicsCfg
17 if flags.Detector.EnableTGC:
18 from MuonG4SD.MuonG4SDToolConfig
import TGCSensitiveDetectorCosmicsCfg
20 if flags.Detector.EnableCSC:
21 from MuonG4SD.MuonG4SDToolConfig
import CSCSensitiveDetectorCosmicsCfg
24 if flags.Detector.EnableMDT:
25 from MuonG4SD.MuonG4SDToolConfig
import MDTSensitiveDetectorCfg
27 if flags.Detector.EnableRPC:
28 from MuonG4SD.MuonG4SDToolConfig
import RPCSensitiveDetectorCfg
30 if flags.Detector.EnableTGC:
31 from MuonG4SD.MuonG4SDToolConfig
import TGCSensitiveDetectorCfg
33 if flags.Detector.EnableCSC:
34 from MuonG4SD.MuonG4SDToolConfig
import CSCSensitiveDetectorCfg
37 if flags.Detector.EnablesTGC :
38 from MuonG4SD.MuonG4SDToolConfig
import sTGCSensitiveDetectorCfg
40 if flags.Detector.EnableMM :
41 from MuonG4SD.MuonG4SDToolConfig
import MicromegasSensitiveDetectorCfg
44 result.setPrivateTools(tools)
50 if flags.Detector.EnableMDT:
51 simHitContainers+=[(
"MDTSimHitCollection",
"MDT_Hits")]
52 if flags.Detector.EnableRPC:
53 simHitContainers+=[(
"RPCSimHitCollection",
"RPC_Hits")]
54 if flags.Detector.EnableTGC:
55 simHitContainers+=[(
"TGCSimHitCollection",
"TGC_Hits")]
56 if flags.Detector.EnableMM:
57 simHitContainers+=[(
"MMSimHitCollection",
"MM_Hits")]
58 if flags.Detector.EnablesTGC:
59 simHitContainers+=[(
"sTGCSimHitCollection",
"sTGC_Hits")]
60 if flags.Detector.EnableCSC:
61 simHitContainers+=[(
"CSCSimHitCollection",
"CSC_Hits")]
62 return simHitContainers