|
ATLAS Offline Software
|
|
def | PLR_FirstXing (flags) |
|
def | PLR_LastXing (flags) |
|
def | PLR_EnergyDepositionToolCfg (flags, name="PLR_EnergyDepositionTool", **kwargs) |
|
def | PLR_RD53SimToolCfg (flags, name="PLR_RD53SimTool", **kwargs) |
|
def | PLR_SensorSimPlanarToolCfg (flags, name="PLR_SensorSimPlanarTool", **kwargs) |
|
def | PLR_SensorSim3DToolCfg (flags, name="PLR_SensorSim3DTool", **kwargs) |
|
def | PLR_DigitizationBasicToolCfg (flags, name="PLR_DigitizationBasicTool", **kwargs) |
|
def | PLR_DigitizationToolCfg (flags, name="PLR_DigitizationTool", **kwargs) |
|
def | PLR_DigitizationHSToolCfg (flags, name="PLR_DigitizationHSTool", **kwargs) |
|
def | PLR_DigitizationPUToolCfg (flags, name="PLR_DigitizationPUTool", **kwargs) |
|
def | PLR_DigitizationSplitNoMergePUToolCfg (flags, name="PLR_DigitizationSplitNoMergePUTool", **kwargs) |
|
def | PLR_OverlayDigitizationToolCfg (flags, name="PLR_OverlayDigitizationTool", **kwargs) |
|
def | PLR_RangeCfg (flags, name="PLR_Range", **kwargs) |
|
def | PLR_OutputCfg (flags) |
|
def | PLR_DigitizationBasicCfg (flags, **kwargs) |
|
def | PLR_OverlayDigitizationBasicCfg (flags, **kwargs) |
|
def | PLR_DigitizationCfg (flags, **kwargs) |
|
def | PLR_DigitizationHSCfg (flags, **kwargs) |
|
def | PLR_DigitizationPUCfg (flags, **kwargs) |
|
Define methods to construct configured PLR Digitization tools and algorithms
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
◆ PLR_DigitizationBasicCfg()
def PLR_DigitizationConfig.PLR_DigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for PLR digitization
Definition at line 214 of file PLR_DigitizationConfig.py.
215 """Return ComponentAccumulator for PLR digitization"""
217 if "PileUpTools" not in kwargs:
219 kwargs[
"PileUpTools"] = PileUpTools
◆ PLR_DigitizationBasicToolCfg()
def PLR_DigitizationConfig.PLR_DigitizationBasicToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_DigitizationBasicTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured PixelDigitizationTool for PLR
Definition at line 98 of file PLR_DigitizationConfig.py.
99 """Return ComponentAccumulator with configured PixelDigitizationTool for PLR"""
107 kwargs.setdefault(
"PixelIDName",
"PLR_ID")
108 kwargs.setdefault(
"ChargeTools", chargeTools)
110 kwargs.setdefault(
"FrontEndSimTools", feSimTools)
111 kwargs.setdefault(
"InputObjectName",
"PLR_Hits")
112 kwargs.setdefault(
"PixelDetEleCollKey",
"PLR_DetectorElementCollection")
113 if flags.Digitization.DoXingByXingPileUp:
116 from RngComps.RngCompsConfig
import AthRNGSvcCfg
117 kwargs.setdefault(
"RndmSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
119 acc.setPrivateTools(CompFactory.PixelDigitizationTool(name, **kwargs, ))
◆ PLR_DigitizationCfg()
def PLR_DigitizationConfig.PLR_DigitizationCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for PLR digitization and Output
Definition at line 245 of file PLR_DigitizationConfig.py.
246 """Return ComponentAccumulator for PLR digitization and Output"""
◆ PLR_DigitizationHSCfg()
def PLR_DigitizationConfig.PLR_DigitizationHSCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for Hard-Scatter-only PLR digitization and Output
Definition at line 253 of file PLR_DigitizationConfig.py.
254 """Return ComponentAccumulator for Hard-Scatter-only PLR digitization and Output"""
257 kwargs[
"PileUpTools"] = tool
◆ PLR_DigitizationHSToolCfg()
def PLR_DigitizationConfig.PLR_DigitizationHSToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_DigitizationHSTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PixelDigitizationTool configured for Hard Scatter
Definition at line 146 of file PLR_DigitizationConfig.py.
147 """Return ComponentAccumulator with PixelDigitizationTool configured for Hard Scatter"""
151 kwargs.setdefault(
"HardScatterSplittingMode", 1)
153 acc.setPrivateTools(tool)
◆ PLR_DigitizationPUCfg()
def PLR_DigitizationConfig.PLR_DigitizationPUCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with Pile-up-only PLR digitization and Output
Definition at line 263 of file PLR_DigitizationConfig.py.
264 """Return ComponentAccumulator with Pile-up-only PLR digitization and Output"""
267 kwargs[
"PileUpTools"] = tool
◆ PLR_DigitizationPUToolCfg()
def PLR_DigitizationConfig.PLR_DigitizationPUToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_DigitizationPUTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PixelDigitizationTool configured for PileUp
Definition at line 157 of file PLR_DigitizationConfig.py.
158 """Return ComponentAccumulator with PixelDigitizationTool configured for PileUp"""
162 kwargs.setdefault(
"HardScatterSplittingMode", 2)
163 kwargs.setdefault(
"RDOCollName",
"PLR_PU_RDOs")
164 kwargs.setdefault(
"SDOCollName",
"PLR_PU_SDO_Map")
166 acc.setPrivateTools(tool)
◆ PLR_DigitizationSplitNoMergePUToolCfg()
def PLR_DigitizationConfig.PLR_DigitizationSplitNoMergePUToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_DigitizationSplitNoMergePUTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PixelDigitizationTool configured for PileUpPLR_Hits
Definition at line 170 of file PLR_DigitizationConfig.py.
171 """Return ComponentAccumulator with PixelDigitizationTool configured for PileUpPLR_Hits"""
175 kwargs.setdefault(
"HardScatterSplittingMode", 0)
176 kwargs.setdefault(
"InputObjectName",
"PileupPLR_Hits")
177 kwargs.setdefault(
"RDOCollName",
"PLR_PU_RDOs")
178 kwargs.setdefault(
"SDOCollName",
"PLR_PU_SDO_Map")
180 acc.setPrivateTools(tool)
◆ PLR_DigitizationToolCfg()
def PLR_DigitizationConfig.PLR_DigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_DigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured PLR_DigitizationBasicTool
Definition at line 123 of file PLR_DigitizationConfig.py.
124 """Return ComponentAccumulator with configured PLR_DigitizationBasicTool"""
126 if flags.Digitization.PileUp:
128 if not flags.Digitization.DoXingByXingPileUp:
129 intervals += [acc.popToolsAndMerge(
PLR_RangeCfg(flags))]
130 kwargs.setdefault(
"PileUpMergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=intervals)).name)
132 kwargs.setdefault(
"PileUpMergeSvc",
"")
133 kwargs.setdefault(
"OnlyUseContainerName", flags.Digitization.PileUp)
134 kwargs.setdefault(
"HardScatterSplittingMode", 0)
135 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
136 kwargs.setdefault(
"RDOCollName", flags.Overlay.BkgPrefix +
"PLR_RDOs")
137 kwargs.setdefault(
"SDOCollName", flags.Overlay.BkgPrefix +
"PLR_SDO_Map")
139 kwargs.setdefault(
"RDOCollName",
"PLR_RDOs")
140 kwargs.setdefault(
"SDOCollName",
"PLR_SDO_Map")
142 acc.setPrivateTools(tool)
◆ PLR_EnergyDepositionToolCfg()
def PLR_DigitizationConfig.PLR_EnergyDepositionToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_EnergyDepositionTool" , |
|
|
** |
kwargs |
|
) |
| |
Return a configured EnergyDepositionTool
Definition at line 38 of file PLR_DigitizationConfig.py.
39 """Return a configured EnergyDepositionTool"""
41 kwargs.setdefault(
"DeltaRayCut", 117.)
42 kwargs.setdefault(
"nCols", 5)
43 kwargs.setdefault(
"LoopLimit", 100000)
44 kwargs.setdefault(
"doBichsel",
True)
45 kwargs.setdefault(
"doBichselBetaGammaCut", 0.7)
46 kwargs.setdefault(
"doDeltaRay",
False)
47 kwargs.setdefault(
"doPU",
True)
48 kwargs.setdefault(
"PixelDistortionData",
"PLR_DistortionData")
49 acc.setPrivateTools(CompFactory.EnergyDepositionTool(name, **kwargs))
◆ PLR_FirstXing()
def PLR_DigitizationConfig.PLR_FirstXing |
( |
|
flags | ) |
|
◆ PLR_LastXing()
def PLR_DigitizationConfig.PLR_LastXing |
( |
|
flags | ) |
|
◆ PLR_OutputCfg()
def PLR_DigitizationConfig.PLR_OutputCfg |
( |
|
flags | ) |
|
Return ComponentAccumulator with Output for PLR. Not standalone.
Definition at line 202 of file PLR_DigitizationConfig.py.
203 """Return ComponentAccumulator with Output for PLR. Not standalone."""
205 if flags.Output.doWriteRDO:
206 ItemList = [
"PixelRDO_Container#*"]
207 if flags.Digitization.EnableTruth:
208 ItemList += [
"InDetSimDataCollection#*"]
◆ PLR_OverlayDigitizationBasicCfg()
def PLR_DigitizationConfig.PLR_OverlayDigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PLR Overlay digitization
Definition at line 224 of file PLR_DigitizationConfig.py.
225 """Return ComponentAccumulator with PLR Overlay digitization"""
227 if flags.Common.ProductionStep != ProductionStep.FastChain:
228 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
231 if "DigitizationTool" not in kwargs:
233 kwargs[
"DigitizationTool"] = tool
235 if flags.Concurrency.NumThreads > 0:
236 kwargs.setdefault(
"Cardinality", flags.Concurrency.NumThreads)
239 kwargs.setdefault(
"ExtraInputs", flags.Overlay.ExtraInputs)
240 acc.addEventAlgo(CompFactory.PixelDigitization(name=
"PLR_OverlayDigitization", **kwargs))
◆ PLR_OverlayDigitizationToolCfg()
def PLR_DigitizationConfig.PLR_OverlayDigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_OverlayDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PixelDigitizationTool configured for overlay
Definition at line 184 of file PLR_DigitizationConfig.py.
185 """Return ComponentAccumulator with PixelDigitizationTool configured for overlay"""
186 kwargs.setdefault(
"OnlyUseContainerName",
False)
187 kwargs.setdefault(
"RDOCollName", flags.Overlay.SigPrefix +
"PLR_RDOs")
188 kwargs.setdefault(
"SDOCollName", flags.Overlay.SigPrefix +
"PLR_SDO_Map")
189 kwargs.setdefault(
"HardScatterSplittingMode", 0)
◆ PLR_RangeCfg()
def PLR_DigitizationConfig.PLR_RangeCfg |
( |
|
flags, |
|
|
|
name = "PLR_Range" , |
|
|
** |
kwargs |
|
) |
| |
Return a configured PileUpXingFolder tool
Definition at line 193 of file PLR_DigitizationConfig.py.
194 """Return a configured PileUpXingFolder tool"""
197 kwargs.setdefault(
"CacheRefreshFrequency", 1.0)
198 kwargs.setdefault(
"ItemList", [
"SiHitCollection#PLR_Hits"])
◆ PLR_RD53SimToolCfg()
def PLR_DigitizationConfig.PLR_RD53SimToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_RD53SimTool" , |
|
|
** |
kwargs |
|
) |
| |
Return a RD53SimTool configured for PLR
Definition at line 53 of file PLR_DigitizationConfig.py.
54 """Return a RD53SimTool configured for PLR"""
58 kwargs.setdefault(
"BarrelEC", 4)
59 kwargs.setdefault(
"DoNoise", flags.Digitization.DoInnerDetectorNoise)
60 kwargs.setdefault(
"PixelReadoutManager", acc.getPrimary())
61 kwargs.setdefault(
"PixelModuleData",
"PLR_ModuleData")
62 kwargs.setdefault(
"PixelChargeCalibCondData",
"PLR_ChargeCalibCondData")
64 kwargs.setdefault(
"DoTimeWalk",
False)
65 acc.setPrivateTools(CompFactory.RD53SimTool(name, **kwargs))
◆ PLR_SensorSim3DToolCfg()
def PLR_DigitizationConfig.PLR_SensorSim3DToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_SensorSim3DTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured SensorSim3DTool for PLR
Definition at line 84 of file PLR_DigitizationConfig.py.
85 """Return ComponentAccumulator with configured SensorSim3DTool for PLR"""
88 kwargs.setdefault(
"PixelModuleData",
"PLR_ModuleData")
89 kwargs.setdefault(
"RadiationDamageSimulationType", flags.Digitization.Pixel3DRadiationDamageSimulationType.value)
90 kwargs.setdefault(
"DigitizeITk3Das3D",
False)
91 if flags.Digitization.Pixel3DRadiationDamageSimulationType
is not PixelRadiationDamageSimulationType.NoRadiationDamage:
94 acc.setPrivateTools(CompFactory.SensorSim3DTool(name, **kwargs))
◆ PLR_SensorSimPlanarToolCfg()
def PLR_DigitizationConfig.PLR_SensorSimPlanarToolCfg |
( |
|
flags, |
|
|
|
name = "PLR_SensorSimPlanarTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured SensorSimPlanarTool for PLR
Definition at line 69 of file PLR_DigitizationConfig.py.
70 """Return ComponentAccumulator with configured SensorSimPlanarTool for PLR"""
74 kwargs.setdefault(
"PixelModuleData",
"PLR_ModuleData")
75 kwargs.setdefault(
"RadiationDamageSimulationType", flags.Digitization.PixelPlanarRadiationDamageSimulationType.value)
76 kwargs.setdefault(
"DigitizeITk3Das3D",
False)
77 if flags.Digitization.PixelPlanarRadiationDamageSimulationType
is not PixelRadiationDamageSimulationType.NoRadiationDamage:
80 acc.setPrivateTools(CompFactory.SensorSimPlanarTool(name, **kwargs))
def PLR_LorentzAngleToolCfg(flags, name="PLR_LorentzAngleTool", **kwargs)
def PLR_EnergyDepositionToolCfg(flags, name="PLR_EnergyDepositionTool", **kwargs)
def PLR_DigitizationPUToolCfg(flags, name="PLR_DigitizationPUTool", **kwargs)
def PLR_DigitizationPUCfg(flags, **kwargs)
def PLR_DigitizationSplitNoMergePUToolCfg(flags, name="PLR_DigitizationSplitNoMergePUTool", **kwargs)
def PLR_RangeCfg(flags, name="PLR_Range", **kwargs)
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
def PLR_DigitizationCfg(flags, **kwargs)
def PLR_SiPropertiesToolCfg(flags, name="PLR_SiPropertiesTool", **kwargs)
def TruthDigitizationOutputCfg(flags)
def PLR_RD53SimToolCfg(flags, name="PLR_RD53SimTool", **kwargs)
def PLR_DigitizationHSToolCfg(flags, name="PLR_DigitizationHSTool", **kwargs)
def PLR_DigitizationBasicToolCfg(flags, name="PLR_DigitizationBasicTool", **kwargs)
def PLR_ConditionsSummaryCfg(flags, name="PLR_ConditionsSummary", **kwargs)
def PLR_DistortionAlgCfg(flags, name="PLR_DistortionAlg", **kwargs)
def PLR_OverlayDigitizationBasicCfg(flags, **kwargs)
def PLR_DigitizationBasicCfg(flags, **kwargs)
def PLR_ReadoutManagerCfg(flags, name="PLR_ReadoutManager", **kwargs)
def PLR_SensorSim3DToolCfg(flags, name="PLR_SensorSim3DTool", **kwargs)
def PLR_ConfigCondAlgCfg(flags, name="PLR_ConfigCondAlg", **kwargs)
def PLR_ChargeCalibCondAlgCfg(flags, name="PLR_ChargeCalibCondAlg", **kwargs)
def PLR_SensorSimPlanarToolCfg(flags, name="PLR_SensorSimPlanarTool", **kwargs)
def PileUpXingFolderCfg(flags, name="PileUpXingFolder", **kwargs)
def PLR_DigitizationToolCfg(flags, name="PLR_DigitizationTool", **kwargs)
def PileUpMergeSvcCfg(flags, name="PileUpMergeSvc", Intervals=[], **kwargs)
def PLR_ReadoutGeometryCfg(flags, **kwargs)
def PLR_OverlayDigitizationToolCfg(flags, name="PLR_OverlayDigitizationTool", **kwargs)
def PLR_DigitizationHSCfg(flags, **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")