ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDataPrepConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4
5
7 Containers =[]
8 if flags.Detector.EnableMDT:
9 Containers+=["xMdtDriftCircles"]
10 Containers+=["xMdtTwinDriftCircles"]
11 from AthenaConfiguration.Enums import LHCPeriod
12 if flags.Detector.EnableRPC:
13 if flags.GeoModel.Run >= LHCPeriod.Run4:
14 Containers+=["xRpcStrips"]
15 Containers+=["xRpcBILStrips"]
16 else:
17 Containers+=[ "xRpcMeasurements"]
18 if flags.Detector.EnableTGC:
19 Containers+=["xTgcStrips"]
20 if flags.Detector.EnableMM:
21 Containers+=["xAODMMClusters"]
22 if flags.Detector.EnablesTGC:
23 Containers+=["xAODsTgcStrips"]
24 Containers+=["xAODsTgcWires"]
25 Containers+=["xAODsTgcPads"]
26 return Containers
27
30 result = ComponentAccumulator()
31 if not flags.Muon.usePhaseIIGeoSetup:
32 return result
33
34 if flags.Input.isMC:
35 from MuonConfig.MuonSimHitToRdoConfig import MuonSimHitToRdoCnvCfg
36 result.merge(MuonSimHitToRdoCnvCfg(flags))
37 else:
38 from MuonConfig.MuonBytestreamDecodeConfig import MuonByteStreamDecodersCfg
39 result.merge(MuonByteStreamDecodersCfg(flags))
40 from MuonConfig.MuonRdoDecodeConfig import MuonRDOtoPRDConvertorsCfg
41 result.merge(MuonRDOtoPRDConvertorsCfg(flags))
42
43
44 if flags.Input.isMC:
45 from MuonTruthAlgsR4.MuonTruthAlgsConfig import MuonTruthAlgsCfg
46 result.merge(MuonTruthAlgsCfg(flags))
47 from MuonObjectMarker.ObjectMarkerConfig import TruthMeasMarkerAlgCfg
48 result.merge(TruthMeasMarkerAlgCfg(flags))
49 return result
xAODUncalibMeasPrepCfg(flags)
Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.