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)