|
ATLAS Offline Software
|
|
def | TRT_FirstXing () |
|
def | TRT_LastXing () |
|
def | TRT_RangeCfg (flags, name="TRTRange", **kwargs) |
|
def | TRT_DigitizationBasicToolCfg (flags, name="TRT_DigitizationBasicTool", **kwargs) |
|
def | TRT_DigitizationToolCfg (flags, name="TRTDigitizationTool", **kwargs) |
|
def | TRT_DigitizationGeantinoTruthToolCfg (flags, name="TRT_GeantinoTruthDigitizationTool", **kwargs) |
|
def | TRT_DigitizationHSToolCfg (flags, name="TRT_DigitizationToolHS", **kwargs) |
|
def | TRT_DigitizationPUToolCfg (flags, name="TRT_DigitizationToolPU", **kwargs) |
|
def | TRT_DigitizationSplitNoMergePUToolCfg (flags, name="TRT_DigitizationToolSplitNoMergePU", **kwargs) |
|
def | TRT_OverlayDigitizationToolCfg (flags, name="TRT_OverlayDigitizationTool", **kwargs) |
|
def | TRT_OutputCfg (flags) |
|
def | TRT_DigitizationBasicCfg (flags, **kwargs) |
|
def | TRT_OverlayDigitizationBasicCfg (flags, **kwargs) |
|
def | TRT_DigitizationCfg (flags, **kwargs) |
|
def | TRT_OverlayDigitizationCfg (flags, **kwargs) |
|
def | TRT_DigitizationHSCfg (flags, name="TRT_DigitizationHS", **kwargs) |
|
def | TRT_DigitizationPUCfg (flags, name="TRT_DigitizationPU", **kwargs) |
|
Define methods to construct configured TRT Digitization tools and algorithms
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
◆ TRT_DigitizationBasicCfg()
def TRT_DigitizationConfig.TRT_DigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for TRT digitization
Definition at line 201 of file TRT_DigitizationConfig.py.
202 """Return ComponentAccumulator for TRT digitization"""
204 if "PileUpTools" not in kwargs:
206 kwargs[
"PileUpTools"] = PileUpTools
◆ TRT_DigitizationBasicToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationBasicToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationBasicTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with common TRT digitization tool config
Definition at line 36 of file TRT_DigitizationConfig.py.
37 """Return ComponentAccumulator with common TRT digitization tool config"""
40 from AthenaServices.PartPropSvcConfig
import PartPropSvcCfg
41 kwargs.setdefault(
'PartPropSvc', acc.getPrimaryAndMerge(
PartPropSvcCfg(flags)).name)
42 kwargs.setdefault(
"DigVersContainerKey",
"")
44 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import TRT_StrawStatusSummaryToolCfg
46 acc.addPublicTool(StrawStatusTool)
47 kwargs.setdefault(
"InDetTRTStrawStatusSummaryTool", StrawStatusTool)
51 kwargs.setdefault(
"Override_TrtRangeCutProperty", flags.Sim.TRTRangeCut)
52 kwargs.setdefault(
"RandomSeedOffset", flags.Digitization.RandomSeedOffset)
53 if not flags.Digitization.DoInnerDetectorNoise:
54 kwargs.setdefault(
"Override_noiseInSimhits", 0)
55 kwargs.setdefault(
"Override_noiseInUnhitStraws", 0)
56 if flags.Beam.Type
is BeamType.Cosmics:
57 kwargs.setdefault(
"PrintDigSettings",
True)
58 kwargs.setdefault(
"Override_cosmicFlag", 0)
59 kwargs.setdefault(
"Override_doCosmicTimingPit", 1)
60 kwargs.setdefault(
"Override_jitterTimeOffset", 0.)
61 kwargs.setdefault(
"Override_timeCorrection", 0)
62 if flags.Digitization.DoXingByXingPileUp:
65 if flags.BField.configuredSolenoidFieldScale>0
and flags.BField.configuredSolenoidFieldScale<1:
67 kwargs.setdefault(
"Override_solenoidFieldStrength", flags.BField.configuredSolenoidFieldScale * 2.0 * tesla)
68 from RngComps.RngCompsConfig
import AthRNGSvcCfg
69 kwargs.setdefault(
"RndmSvc", acc.getPrimaryAndMerge(
AthRNGSvcCfg(flags)).name)
70 TRTDigitizationTool = CompFactory.TRTDigitizationTool
72 acc.setPrivateTools(tool)
◆ TRT_DigitizationCfg()
def TRT_DigitizationConfig.TRT_DigitizationCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for TRT digitization and Output
Definition at line 234 of file TRT_DigitizationConfig.py.
235 """Return ComponentAccumulator for TRT digitization and Output"""
◆ TRT_DigitizationGeantinoTruthToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationGeantinoTruthToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_GeantinoTruthDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with Geantino configured TRT digitization tool
Definition at line 108 of file TRT_DigitizationConfig.py.
109 """Return ComponentAccumulator with Geantino configured TRT digitization tool"""
111 if flags.Digitization.PileUp:
113 if not flags.Digitization.DoXingByXingPileUp:
114 intervals += [acc.popToolsAndMerge(
TRT_RangeCfg(flags))]
115 kwargs.setdefault(
"MergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=intervals)).name)
117 kwargs.setdefault(
"MergeSvc",
'')
118 kwargs.setdefault(
"OnlyUseContainerName", flags.Digitization.PileUp)
119 kwargs.setdefault(
"VetoPileUpTruthLinks",
False)
121 acc.setPrivateTools(tool)
◆ TRT_DigitizationHSCfg()
def TRT_DigitizationConfig.TRT_DigitizationHSCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationHS" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator for Hard-Scatter-only TRT digitization and Output
Definition at line 249 of file TRT_DigitizationConfig.py.
250 """Return ComponentAccumulator for Hard-Scatter-only TRT digitization and Output"""
252 kwargs[
"PileUpTools"] = acc.popPrivateTools()
◆ TRT_DigitizationHSToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationHSToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationToolHS" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with Hard Scatter configured TRT digitization tool
Definition at line 125 of file TRT_DigitizationConfig.py.
126 """Return ComponentAccumulator with Hard Scatter configured TRT digitization tool"""
129 kwargs.setdefault(
"MergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=rangetool)).name)
130 kwargs.setdefault(
"OutputObjectName",
"TRT_RDOs")
131 kwargs.setdefault(
"OutputSDOName",
"TRT_SDO_Map")
132 kwargs.setdefault(
"HardScatterSplittingMode", 1)
134 acc.setPrivateTools(tool)
◆ TRT_DigitizationPUCfg()
def TRT_DigitizationConfig.TRT_DigitizationPUCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationPU" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with Pile-up-only TRT digitization and Output
Definition at line 258 of file TRT_DigitizationConfig.py.
259 """Return ComponentAccumulator with Pile-up-only TRT digitization and Output"""
261 kwargs[
"PileUpTools"] = acc.popPrivateTools()
◆ TRT_DigitizationPUToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationPUToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationToolPU" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with Pile Up configured TRT digitization tool
Definition at line 138 of file TRT_DigitizationConfig.py.
139 """Return ComponentAccumulator with Pile Up configured TRT digitization tool"""
142 kwargs.setdefault(
"MergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=rangetool)).name)
143 kwargs.setdefault(
"OutputObjectName",
"TRT_PU_RDOs")
144 kwargs.setdefault(
"OutputSDOName",
"TRT_PU_SDO_Map")
145 kwargs.setdefault(
"HardScatterSplittingMode", 2)
◆ TRT_DigitizationSplitNoMergePUToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationSplitNoMergePUToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_DigitizationToolSplitNoMergePU" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with PileUpTRT_Hits configured TRT digitization tool
Definition at line 150 of file TRT_DigitizationConfig.py.
151 """Return ComponentAccumulator with PileUpTRT_Hits configured TRT digitization tool"""
154 kwargs.setdefault(
"MergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=rangetool)).name)
155 kwargs.setdefault(
"HardScatterSplittingMode", 0)
156 kwargs.setdefault(
"DataObjectName",
"PileupTRTUncompressedHits")
157 kwargs.setdefault(
"OutputObjectName",
"TRT_PU_RDOs")
158 kwargs.setdefault(
"OutputSDOName",
"TRT_PU_SDO_Map")
159 kwargs.setdefault(
"Override_noiseInSimhits", 0)
160 kwargs.setdefault(
"Override_noiseInUnhitStraws", 0)
162 acc.setPrivateTools(tool)
◆ TRT_DigitizationToolCfg()
def TRT_DigitizationConfig.TRT_DigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "TRTDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured TRT digitization tool
Definition at line 76 of file TRT_DigitizationConfig.py.
77 """Return ComponentAccumulator with configured TRT digitization tool"""
79 if flags.Digitization.PileUp:
81 if not flags.Digitization.DoXingByXingPileUp:
83 kwargs.setdefault(
"MergeSvc", acc.getPrimaryAndMerge(
PileUpMergeSvcCfg(flags, Intervals=intervals)).name)
85 kwargs.setdefault(
"MergeSvc",
'')
86 kwargs.setdefault(
"OnlyUseContainerName", flags.Digitization.PileUp)
87 if flags.Common.ProductionStep == ProductionStep.PileUpPresampling:
88 kwargs.setdefault(
"OutputObjectName", flags.Overlay.BkgPrefix +
"TRT_RDOs")
89 kwargs.setdefault(
"OutputSDOName", flags.Overlay.BkgPrefix +
"TRT_SDO_Map")
91 kwargs.setdefault(
"OutputObjectName",
"TRT_RDOs")
92 kwargs.setdefault(
"OutputSDOName",
"TRT_SDO_Map")
93 kwargs.setdefault(
"HardScatterSplittingMode", 0)
94 if flags.Digitization.TRT.HeavyIonHT:
95 kwargs.setdefault(
"Override_highThresholdBarShort", 0.00129875)
96 kwargs.setdefault(
"Override_highThresholdBarLong", 0.00118775)
97 kwargs.setdefault(
"Override_highThresholdECAwheels", 0.001185591)
98 kwargs.setdefault(
"Override_highThresholdECBwheels", 0.001145376)
99 kwargs.setdefault(
"Override_highThresholdBarShortArgon", 0.000468802)
100 kwargs.setdefault(
"Override_highThresholdBarLongArgon", 0.000456754)
101 kwargs.setdefault(
"Override_highThresholdECAwheelsArgon", 0.0006035)
102 kwargs.setdefault(
"Override_highThresholdECBwheelsArgon", 0.00057375)
104 acc.setPrivateTools(tool)
◆ TRT_FirstXing()
def TRT_DigitizationConfig.TRT_FirstXing |
( |
| ) |
|
◆ TRT_LastXing()
def TRT_DigitizationConfig.TRT_LastXing |
( |
| ) |
|
◆ TRT_OutputCfg()
def TRT_DigitizationConfig.TRT_OutputCfg |
( |
|
flags | ) |
|
Return ComponentAccumulator with Output for TRT. Not standalone.
Definition at line 189 of file TRT_DigitizationConfig.py.
190 """Return ComponentAccumulator with Output for TRT. Not standalone."""
192 if flags.Output.doWriteRDO:
193 ItemList = [
"TRT_RDO_Container#*"]
194 if flags.Digitization.EnableTruth:
195 ItemList += [
"InDetSimDataCollection#*"]
◆ TRT_OverlayDigitizationBasicCfg()
def TRT_DigitizationConfig.TRT_OverlayDigitizationBasicCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with TRT Overlay digitization
Definition at line 211 of file TRT_DigitizationConfig.py.
212 """Return ComponentAccumulator with TRT Overlay digitization"""
214 if flags.Common.ProductionStep != ProductionStep.FastChain:
215 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
216 acc.merge(
SGInputLoaderCfg(flags, [
"TRTUncompressedHitCollection#TRTUncompressedHits"]))
218 if "DigitizationTool" not in kwargs:
220 kwargs[
"DigitizationTool"] = tool
222 if flags.Concurrency.NumThreads > 0:
223 kwargs.setdefault(
"Cardinality", flags.Concurrency.NumThreads)
226 kwargs.setdefault(
"ExtraInputs", flags.Overlay.ExtraInputs)
228 TRTDigitization = CompFactory.TRTDigitization
229 acc.addEventAlgo(
TRTDigitization(name=
"TRT_OverlayDigitization", **kwargs))
◆ TRT_OverlayDigitizationCfg()
def TRT_DigitizationConfig.TRT_OverlayDigitizationCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with TRT Overlay digitization and Output
Definition at line 241 of file TRT_DigitizationConfig.py.
242 """Return ComponentAccumulator with TRT Overlay digitization and Output"""
◆ TRT_OverlayDigitizationToolCfg()
def TRT_DigitizationConfig.TRT_OverlayDigitizationToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_OverlayDigitizationTool" , |
|
|
** |
kwargs |
|
) |
| |
Return ComponentAccumulator with configured Overlay TRT digitization tool
Definition at line 166 of file TRT_DigitizationConfig.py.
167 """Return ComponentAccumulator with configured Overlay TRT digitization tool"""
169 if flags.Overlay.DataOverlay:
170 from IOVDbSvc.IOVDbSvcConfig
import addFolders
172 acc.merge(
addFolders(flags,
"/TRT/Cond/DigVers",
"TRT_OFL", tag=
"TRTCondDigVers-Collisions-01", db=
"OFLP200", className=
"AthenaAttributeList"))
173 kwargs.setdefault(
"DigVersContainerKey",
"/TRT/Cond/DigVers")
175 kwargs.setdefault(
"OnlyUseContainerName",
False)
176 kwargs.setdefault(
"OutputObjectName", flags.Overlay.SigPrefix +
"TRT_RDOs")
177 kwargs.setdefault(
"OutputSDOName", flags.Overlay.SigPrefix +
"TRT_SDO_Map")
178 kwargs.setdefault(
"Override_isOverlay", 1)
179 kwargs.setdefault(
"HardScatterSplittingMode", 0)
180 kwargs.setdefault(
"Override_getT0FromData", 0)
181 kwargs.setdefault(
"Override_noiseInSimhits", 0)
182 kwargs.setdefault(
"Override_noiseInUnhitStraws", 0)
183 kwargs.setdefault(
"MergeSvc",
'')
185 acc.setPrivateTools(tool)
◆ TRT_RangeCfg()
def TRT_DigitizationConfig.TRT_RangeCfg |
( |
|
flags, |
|
|
|
name = "TRTRange" , |
|
|
** |
kwargs |
|
) |
| |
Return an TRT configured PileUpXingFolder tool
Definition at line 27 of file TRT_DigitizationConfig.py.
28 """Return an TRT configured PileUpXingFolder tool"""
31 kwargs.setdefault(
"CacheRefreshFrequency", 1.0)
32 kwargs.setdefault(
"ItemList", [
"TRTUncompressedHitCollection#TRTUncompressedHits"])
def TRT_DigitizationPUCfg(flags, name="TRT_DigitizationPU", **kwargs)
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
def TRT_RangeCfg(flags, name="TRTRange", **kwargs)
def TRT_DigitizationHSCfg(flags, name="TRT_DigitizationHS", **kwargs)
def TRT_DigitizationBasicCfg(flags, **kwargs)
def TruthDigitizationOutputCfg(flags)
def TRT_ReadoutGeometryCfg(flags)
def TRT_PAI_Process_ArToolCfg(flags, name="TRT_PAI_Process_Ar", **kwargs)
def TRT_StrawStatusSummaryToolCfg(flags, name="TRT_StrawStatusSummaryTool", forceLegacyAccess=False, **kwargs)
def TRT_OverlayDigitizationToolCfg(flags, name="TRT_OverlayDigitizationTool", **kwargs)
def TRT_DigitizationGeantinoTruthToolCfg(flags, name="TRT_GeantinoTruthDigitizationTool", **kwargs)
def TRT_OverlayDigitizationBasicCfg(flags, **kwargs)
def TRT_DigitizationPUToolCfg(flags, name="TRT_DigitizationToolPU", **kwargs)
def TRT_DigitizationBasicToolCfg(flags, name="TRT_DigitizationBasicTool", **kwargs)
Top algorithm class for TRT digitization.
def TRT_DigitizationSplitNoMergePUToolCfg(flags, name="TRT_DigitizationToolSplitNoMergePU", **kwargs)
def TRT_DigitizationToolCfg(flags, name="TRTDigitizationTool", **kwargs)
def PartPropSvcCfg(flags, **kwargs)
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
def TRT_DigitizationHSToolCfg(flags, name="TRT_DigitizationToolHS", **kwargs)
def TRT_DigitizationCfg(flags, **kwargs)
def TRT_PAI_Process_KrToolCfg(flags, name="TRT_PAI_Process_Kr", **kwargs)
def TRT_PAI_Process_XeToolCfg(flags, name="TRT_PAI_Process_Xe", **kwargs)
def PileUpXingFolderCfg(flags, name="PileUpXingFolder", **kwargs)
def TRT_OverlayDigitizationCfg(flags, **kwargs)
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
def PileUpMergeSvcCfg(flags, name="PileUpMergeSvc", Intervals=[], **kwargs)
def AthRNGSvcCfg(flags, name="AthRNGSvc")