ATLAS Offline Software
MuonDataPrepConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from 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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ObjectMarkerConfig.TruthMeasMarkerAlgCfg
def TruthMeasMarkerAlgCfg(flags, name="TruthMeasMarkerAlg", **kwargs)
Definition: ObjectMarkerConfig.py:19
MuonTruthAlgsConfig.MuonTruthAlgsCfg
def MuonTruthAlgsCfg(flags)
Definition: MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py:169
MuonDataPrepConfig.PrimaryMeasContNamesCfg
def PrimaryMeasContNamesCfg(flags)
Definition: MuonDataPrepConfig.py:6
MuonBytestreamDecodeConfig.MuonByteStreamDecodersCfg
def MuonByteStreamDecodersCfg(flags)
Definition: MuonBytestreamDecodeConfig.py:407
MuonDataPrepConfig.xAODUncalibMeasPrepCfg
def xAODUncalibMeasPrepCfg(flags)
Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.
Definition: MuonDataPrepConfig.py:29
MuonSimHitToRdoConfig.MuonSimHitToRdoCnvCfg
def MuonSimHitToRdoCnvCfg(flags)
Snippet to schedule the Muon digitization within the Phase II setup.
Definition: MuonSimHitToRdoConfig.py:6
MuonRdoDecodeConfig.MuonRDOtoPRDConvertorsCfg
def MuonRDOtoPRDConvertorsCfg(flags)
Definition: MuonRdoDecodeConfig.py:392