|
ATLAS Offline Software
|
|
def | MDT_FirstXing () |
|
def | MDT_LastXing () |
|
def | MDT_RangeCfg (flags, name="MDT_Range", **kwargs) |
|
def | RT_Relation_DB_DigiToolCfg (flags, name="RT_Relation_DB_DigiTool", **kwargs) |
|
def | MDT_Response_DigiToolCfg (flags, name="MDT_Response_DigiTool", **kwargs) |
|
def | MDT_DigitizationToolCommonCfg (flags, name="MdtDigitizationTool", **kwargs) |
|
def | MDT_DigitizationToolCfg (flags, name="MdtDigitizationTool", **kwargs) |
|
def | MDT_OverlayDigitizationToolCfg (flags, name="Mdt_OverlayDigitizationTool", **kwargs) |
|
def | MDT_OutputCfg (flags) |
|
def | MDT_DigitizationBasicCfg (flags, **kwargs) |
|
def | MDT_OverlayDigitizationBasicCfg (flags, **kwargs) |
|
def | MDT_DigitizationCfg (flags, **kwargs) |
|
def | MDT_DigitizationDigitToRDOCfg (flags) |
|
Define methods to construct configured MDT Digitization tools and algorithms
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
◆ MDT_DigitizationBasicCfg()
def python.MDT_DigitizationConfig.MDT_DigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for MDT digitization
Definition at line 142 of file MDT_DigitizationConfig.py.
143 """Return ComponentAccumulator for MDT digitization"""
145 if "PileUpTools" not in kwargs:
147 kwargs[
"PileUpTools"] = PileUpTools
◆ MDT_DigitizationCfg()
def python.MDT_DigitizationConfig.MDT_DigitizationCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for MDT digitization and Output
Definition at line 179 of file MDT_DigitizationConfig.py.
180 """Return ComponentAccumulator for MDT digitization and Output"""
◆ MDT_DigitizationDigitToRDOCfg()
def python.MDT_DigitizationConfig.MDT_DigitizationDigitToRDOCfg |
( |
|
flags | ) |
|
Return ComponentAccumulator with MDT digitization and Digit to MDTCSM RDO
Definition at line 186 of file MDT_DigitizationConfig.py.
187 """Return ComponentAccumulator with MDT digitization and Digit to MDTCSM RDO"""
◆ MDT_DigitizationToolCfg()
def python.MDT_DigitizationConfig.MDT_DigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "MdtDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured MdtDigitizationTool
Definition at line 96 of file MDT_DigitizationConfig.py.
97 """Return ComponentAccumulator with configured MdtDigitizationTool"""
99 if flags.Digitization.PileUp:
101 if not flags.Digitization.DoXingByXingPileUp:
102 intervals += [acc.popToolsAndMerge(
MDT_RangeCfg(flags))]
103 kwargs.setdefault(
"PileUpMergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=intervals)).name)
105 kwargs.setdefault(
"PileUpMergeSvc",
'')
106 kwargs.setdefault(
"OnlyUseContainerName", flags.Digitization.PileUp)
107 kwargs.setdefault(
"OutputObjectName",
"MDT_DIGITS")
108 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
109 kwargs.setdefault(
"OutputSDOName", flags.Overlay.BkgPrefix +
"MDT_SDO")
111 kwargs.setdefault(
"OutputSDOName",
"MDT_SDO")
113 acc.setPrivateTools(tool)
◆ MDT_DigitizationToolCommonCfg()
def python.MDT_DigitizationConfig.MDT_DigitizationToolCommonCfg |
( |
|
flags, |
|
|
|
name = "MdtDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with common MdtDigitizationTool config
Definition at line 57 of file MDT_DigitizationConfig.py.
58 """Return ComponentAccumulator with common MdtDigitizationTool config"""
59 from MuonConfig.MuonCondAlgConfig
import MdtCondDbAlgCfg
60 from MuonConfig.MuonCalibrationConfig
import MdtCalibDbAlgCfg
67 if not flags.Muon.usePhaseIIGeoSetup:
68 kwargs.setdefault(
"DiscardEarlyHits",
True)
69 kwargs.setdefault(
"UseTof", flags.Beam.Type
is not BeamType.Cosmics)
70 kwargs.setdefault(
"DoQballCharge", (flags.Input.SpecialConfiguration.get(
"MDT_QballConfig",
"False") ==
"True"))
74 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
76 kwargs.setdefault(
"useTwinTubes",
True)
77 if kwargs[
"useTwinTubes"]:
78 from MuonConfig.MuonCablingConfig
import MdtTwinTubeMapCondAlgCfg
81 kwargs.setdefault(
"SimHitKey",
"xMdtSimHits")
82 kwargs.setdefault(
"StreamName",
"MdtDigitForklifting")
84 if flags.Digitization.DoXingByXingPileUp:
87 from RngComps.RngCompsConfig
import AthRNGSvcCfg
88 kwargs.setdefault(
"RndmSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)))
89 if not flags.Muon.usePhaseIIGeoSetup:
90 acc.setPrivateTools(CompFactory.MdtDigitizationTool(name, **kwargs))
92 acc.setPrivateTools(CompFactory.MuonR4.MdtDigitizationTool(name, **kwargs))
◆ MDT_FirstXing()
def python.MDT_DigitizationConfig.MDT_FirstXing |
( |
| ) |
|
◆ MDT_LastXing()
def python.MDT_DigitizationConfig.MDT_LastXing |
( |
| ) |
|
◆ MDT_OutputCfg()
def python.MDT_DigitizationConfig.MDT_OutputCfg |
( |
|
flags | ) |
|
Return ComponentAccumulator with Output for MDT. Not standalone.
Definition at line 126 of file MDT_DigitizationConfig.py.
127 """Return ComponentAccumulator with Output for MDT. Not standalone."""
129 if flags.Output.doWriteRDO:
130 ItemList = [
"MdtCsmContainer#*"]
131 if flags.Digitization.EnableTruth:
132 for pref
in [flags.Overlay.SigPrefix, flags.Overlay.BkgPrefix,
""]:
134 ItemList += [f
"MuonSimDataCollection#{pref}MDT_SDO"]
136 ItemList += [f
"xAOD::MuonSimHitContainer#{pref}MDT_SDO", f
"xAOD::MuonSimHitAuxContainer#{pref}MDT_SDOAux."]
◆ MDT_OverlayDigitizationBasicCfg()
def python.MDT_DigitizationConfig.MDT_OverlayDigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with MDT Overlay digitization
Definition at line 152 of file MDT_DigitizationConfig.py.
153 """Return ComponentAccumulator with MDT Overlay digitization"""
155 from MuonConfig.MuonCalibrationConfig
import MdtCalibDbAlgCfg
158 if flags.Common.ProductionStep != ProductionStep.FastChain:
159 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
160 if flags.Muon.usePhaseIIGeoSetup:
162 "xAOD::MuonSimHitAuxContainer#xMdtSimHitsAux."]))
168 if flags.Concurrency.NumThreads > 0:
169 kwargs.setdefault(
"Cardinality", flags.Concurrency.NumThreads)
172 kwargs.setdefault(
"ExtraInputs", flags.Overlay.ExtraInputs)
174 acc.addEventAlgo(CompFactory.MuonDigitizer(name=
"MDT_OverlayDigitizer", **kwargs))
◆ MDT_OverlayDigitizationToolCfg()
def python.MDT_DigitizationConfig.MDT_OverlayDigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "Mdt_OverlayDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with MdtDigitizationTool configured for Overlay
Definition at line 117 of file MDT_DigitizationConfig.py.
118 """Return ComponentAccumulator with MdtDigitizationTool configured for Overlay"""
119 kwargs.setdefault(
"OnlyUseContainerName",
False)
120 kwargs.setdefault(
"OutputObjectName", flags.Overlay.SigPrefix +
"MDT_DIGITS")
121 kwargs.setdefault(
"OutputSDOName", flags.Overlay.SigPrefix +
"MDT_SDO")
122 kwargs.setdefault(
"PileUpMergeSvc",
'')
◆ MDT_RangeCfg()
def python.MDT_DigitizationConfig.MDT_RangeCfg |
( |
|
flags, |
|
|
|
name = "MDT_Range" , |
|
|
** |
kwargs |
|
) |
| |
Return a PileUpXingFolder tool configured for MDT
Definition at line 28 of file MDT_DigitizationConfig.py.
29 """Return a PileUpXingFolder tool configured for MDT"""
32 kwargs.setdefault(
"CacheRefreshFrequency", 1.0)
33 if flags.Muon.usePhaseIIGeoSetup:
34 kwargs.setdefault(
"ItemList", [
"xAOD::MuonSimHitContainer#xMdtSimHits",
35 "xAOD::MuonSimHitAuxContainer#xMdtSimHitsAux."])
37 kwargs.setdefault(
"ItemList", [
"MDTSimHitCollection#MDT_Hits"])
◆ MDT_Response_DigiToolCfg()
def python.MDT_DigitizationConfig.MDT_Response_DigiToolCfg |
( |
|
flags, |
|
|
|
name = "MDT_Response_DigiTool" , |
|
|
** |
kwargs |
|
) |
| |
Return a configured MDT_Response_DigiTool
Definition at line 48 of file MDT_DigitizationConfig.py.
49 """Return a configured MDT_Response_DigiTool"""
51 kwargs.setdefault(
"DoQballGamma", (flags.Input.SpecialConfiguration.get(
"MDT_QballConfig",
"False") ==
"True"))
52 MDT_Response_DigiTool = CompFactory.MDT_Response_DigiTool
◆ RT_Relation_DB_DigiToolCfg()
def python.MDT_DigitizationConfig.RT_Relation_DB_DigiToolCfg |
( |
|
flags, |
|
|
|
name = "RT_Relation_DB_DigiTool" , |
|
|
** |
kwargs |
|
) |
| |
Return an RT_Relation_DB_DigiTool
Definition at line 41 of file MDT_DigitizationConfig.py.
42 """Return an RT_Relation_DB_DigiTool"""
44 acc.setPrivateTools(CompFactory.RT_Relation_DB_DigiTool(name, **kwargs))
def MDT_Response_DigiToolCfg(flags, name="MDT_Response_DigiTool", **kwargs)
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
def MDT_DigitizationBasicCfg(flags, **kwargs)
def MDT_DigitizationToolCommonCfg(flags, name="MdtDigitizationTool", **kwargs)
def MdtTwinTubeMapCondAlgCfg(flags, name="MdtTwinTubeCondAlg", **kwargs)
def TruthDigitizationOutputCfg(flags)
def RT_Relation_DB_DigiToolCfg(flags, name="RT_Relation_DB_DigiTool", **kwargs)
def MDT_DigitizationToolCfg(flags, name="MdtDigitizationTool", **kwargs)
def MdtCondDbAlgCfg(flags, **kwargs)
def MDTCablingConfigCfg(flags, name="MuonMDT_CablingAlg", **kwargs)
def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs)
Setup the Geometry context algorithm.
def MDT_DigitizationDigitToRDOCfg(flags)
def MdtDigitToMdtRDOCfg(flags, name="MdtDigitToMdtRDO", **kwargs)
def MuonGeoModelCfg(flags)
def MDT_RangeCfg(flags, name="MDT_Range", **kwargs)
def PileUpXingFolderCfg(flags, name="PileUpXingFolder", **kwargs)
def MDT_DigitizationCfg(flags, **kwargs)
def MdtCalibDbAlgCfg(flags, name="MdtCalibDbAlg", **kwargs)
def MDT_OverlayDigitizationToolCfg(flags, name="Mdt_OverlayDigitizationTool", **kwargs)
def PileUpMergeSvcCfg(flags, name="PileUpMergeSvc", Intervals=[], **kwargs)
def MDT_OverlayDigitizationBasicCfg(flags, **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")