ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDataPrepConfig Namespace Reference

Functions

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

Function Documentation

◆ PrimaryMeasContNamesCfg()

MuonDataPrepConfig.PrimaryMeasContNamesCfg ( flags)

Definition at line 6 of file MuonDataPrepConfig.py.

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

MuonDataPrepConfig.xAODUncalibMeasPrepCfg ( flags)

Configuriation snippet to schedule all algorithms providing the Uncalibrated measurements.

Definition at line 29 of file MuonDataPrepConfig.py.

29def 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 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