ATLAS Offline Software
Functions
python.MuonDataPrepConfig Namespace Reference

Functions

def PrimaryMeasContNamesCfg (flags)
 
def xAODUncalibMeasPrepCfg (flags)
 Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements. More...
 

Function Documentation

◆ PrimaryMeasContNamesCfg()

def python.MuonDataPrepConfig.PrimaryMeasContNamesCfg (   flags)

Definition at line 6 of file MuonDataPrepConfig.py.

6 def PrimaryMeasContNamesCfg(flags):
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

◆ xAODUncalibMeasPrepCfg()

def python.MuonDataPrepConfig.xAODUncalibMeasPrepCfg (   flags)

Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.

Definition at line 29 of file MuonDataPrepConfig.py.

29 def xAODUncalibMeasPrepCfg(flags):
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 
41 
42  from MuonConfig.MuonRdoDecodeConfig import MuonRDOtoPRDConvertorsCfg
43  result.merge(MuonRDOtoPRDConvertorsCfg(flags))
44 
45 
46  if flags.Input.isMC:
47  from MuonTruthAlgsR4.MuonTruthAlgsConfig import MuonTruthAlgsCfg
48  result.merge(MuonTruthAlgsCfg(flags))
49  from MuonObjectMarker.ObjectMarkerConfig import TruthMeasMarkerAlgCfg
50  result.merge(TruthMeasMarkerAlgCfg(flags))
51 
52 
53  if flags.Detector.GeometryRPC:
54  from xAODMuonTrkPrepDataCnv.MuonPrepDataCnvCfg import xRpcToRpcPrepDataCnvAlgCfg
55  result.merge(xRpcToRpcPrepDataCnvAlgCfg(flags))
56 
57  from AthenaConfiguration.Enums import LHCPeriod
58  if flags.Detector.GeometryRPC and flags.GeoModel.Run >= LHCPeriod.Run4:
59  from xAODMuonViewAlgs.ViewAlgsConfig import RpcMeasViewAlgCfg
60  result.merge(RpcMeasViewAlgCfg(flags))
61  if flags.Detector.GeometryMDT:
62  from xAODMuonViewAlgs.ViewAlgsConfig import MdtMeasViewAlgCfg
63  result.merge(MdtMeasViewAlgCfg(flags))
64  if flags.Detector.GeometrysTGC:
65  from xAODMuonViewAlgs.ViewAlgsConfig import sTgcMeasViewAlgCfg
66  result.merge(sTgcMeasViewAlgCfg(flags))
67  return result
ViewAlgsConfig.RpcMeasViewAlgCfg
def RpcMeasViewAlgCfg(flags, name="RpcMeasViewAlg", **kwargs)
Definition: ViewAlgsConfig.py:14
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ObjectMarkerConfig.TruthMeasMarkerAlgCfg
def TruthMeasMarkerAlgCfg(flags, name="TruthMeasMarkerAlg", **kwargs)
Definition: ObjectMarkerConfig.py:19
ViewAlgsConfig.sTgcMeasViewAlgCfg
def sTgcMeasViewAlgCfg(flags, name="sTgcMeasViewAlg", **kwargs)
Definition: ViewAlgsConfig.py:6
ViewAlgsConfig.MdtMeasViewAlgCfg
def MdtMeasViewAlgCfg(flags, name="MdtMeasViewAlg", **kwargs)
Definition: ViewAlgsConfig.py:22
MuonTruthAlgsConfig.MuonTruthAlgsCfg
def MuonTruthAlgsCfg(flags)
Definition: MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py:89
MuonPrepDataCnvCfg.xRpcToRpcPrepDataCnvAlgCfg
def xRpcToRpcPrepDataCnvAlgCfg(flags, name="xAODRpcToPrepDataCnvAlg", **kwargs)
Definition: MuonPrepDataCnvCfg.py:7
python.MuonDataPrepConfig.PrimaryMeasContNamesCfg
def PrimaryMeasContNamesCfg(flags)
Definition: MuonDataPrepConfig.py:6
python.MuonSimHitToRdoConfig.MuonSimHitToRdoCnvCfg
def MuonSimHitToRdoCnvCfg(flags)
Snippet to schedule the Muon digitization within the Phase II setup.
Definition: MuonSimHitToRdoConfig.py:6
python.MuonRdoDecodeConfig.MuonRDOtoPRDConvertorsCfg
def MuonRDOtoPRDConvertorsCfg(flags)
Definition: MuonRdoDecodeConfig.py:349
python.MuonDataPrepConfig.xAODUncalibMeasPrepCfg
def xAODUncalibMeasPrepCfg(flags)
Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.
Definition: MuonDataPrepConfig.py:29
python.MuonBytestreamDecodeConfig.MuonByteStreamDecodersCfg
def MuonByteStreamDecodersCfg(flags)
Definition: MuonBytestreamDecodeConfig.py:400