Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
|
def | CopyCaloCalibrationHitContainerAlgCfg (flags, collectionName, name="CopyCaloCalibrationHitContainer", **kwargs) |
|
def | CopyJetTruthInfoAlgCfg (flags, name, **kwargs) |
|
def | CopyInTimeAntiKt4JetTruthInfoCfg (flags, name="CopyInTimeAntiKt4JetTruthInfo", **kwargs) |
|
def | CopyOutOfTimeAntiKt4JetTruthInfoCfg (flags, name="CopyOutOfTimeAntiKt4JetTruthInfo", **kwargs) |
|
def | CopyInTimeAntiKt6JetTruthInfoCfg (flags, name="CopyInTimeAntiKt6JetTruthInfo", **kwargs) |
|
def | CopyOutOfTimeAntiKt6JetTruthInfoCfg (flags, name="CopyOutOfTimeAntiKt6JetTruthInfo", **kwargs) |
|
def | CopyJetTruthInfoCfg (flags, **kwargs) |
|
def | CopyPileupParticleTruthInfoCfg (flags, name="CopyPileupParticleTruthInfo", **kwargs) |
|
def | CopyMcEventCollectionCfg (flags, name="CopyMcEventCollection", **kwargs) |
|
def | CopyPixelClusterContainerAlgCfg (flags, **kwargs) |
|
def | CopyITkPixelClusterContainerAlgCfg (flags, **kwargs) |
|
def | CopySCT_ClusterContainerAlgCfg (flags, **kwargs) |
|
def | CopyITkStripClusterContainerAlgCfg (flags, **kwargs) |
|
def | CopyTRT_DriftCircleContainerAlgCfg (flags, **kwargs) |
|
def | CopyTrackCollectionAlgCfg (flags, collectionName, **kwargs) |
|
def | CopyDetailedTrackTruthCollectionAlgCfg (flags, collectionName, **kwargs) |
|
def | CopyPRD_MultiTruthCollectionAlgCfg (flags, collectionName, **kwargs) |
|
def | CopyTrackRecordCollectionAlgCfg (flags, collectionName, name="CopyTrackRecordCollection", **kwargs) |
|
def | CopyCaloCalibrationHitContainersCfg (flags, **kwargs) |
|
def | CopyPixelClusterContainerCfg (flags, **kwargs) |
|
def | CopyITkPixelClusterContainerCfg (flags, **kwargs) |
|
def | CopySCT_ClusterContainerCfg (flags, **kwargs) |
|
def | CopyITkStripClusterContainerCfg (flags, **kwargs) |
|
def | CopyTRT_DriftCircleContainerCfg (flags, **kwargs) |
|
def | CopyTrackRecordCollectionsCfg (flags, **kwargs) |
|
def | CopyTrackCollectionsCfg (flags, **kwargs) |
|
def | CopyITkTrackCollectionsCfg (flags, **kwargs) |
|
def | CopyDetailedTrackTruthCollectionsCfg (flags, **kwargs) |
|
def | CopyPRD_MultiTruthCollectionsCfg (flags, **kwargs) |
|
Define methods to construct configured overlay copy algorithms
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
◆ CopyCaloCalibrationHitContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopyCaloCalibrationHitContainerAlgCfg |
( |
|
flags, |
|
|
|
collectionName, |
|
|
|
name = "CopyCaloCalibrationHitContainer" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CaloCalibrationHitContainer copying
Definition at line 11 of file OverlayCopyAlgsConfig.py.
12 """Return a ComponentAccumulator for the CaloCalibrationHitContainer copying"""
15 kwargs.setdefault(
"collectionName", collectionName)
16 kwargs.setdefault(
"SignalInputKey", flags.Overlay.SigPrefix + collectionName)
17 kwargs.setdefault(
"OutputKey", collectionName)
19 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
20 acc.merge(
SGInputLoaderCfg(flags, [f
'CaloCalibrationHitContainer#{kwargs["SignalInputKey"]}']))
23 acc.addEventAlgo(CompFactory.CopyCaloCalibrationHitContainer(name + collectionName, **kwargs))
26 from SGComps.AddressRemappingConfig
import AddressRemappingCfg
28 f
"CaloCalibrationHitContainer#{collectionName}->{flags.Overlay.SigPrefix}{collectionName}"
32 if flags.Output.doWriteRDO:
33 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
35 f
"CaloCalibrationHitContainer#{collectionName}"
39 if flags.Output.doWriteRDO_SGNL:
40 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
42 f
"CaloCalibrationHitContainer#{flags.Overlay.SigPrefix}{collectionName}"
◆ CopyCaloCalibrationHitContainersCfg()
def python.OverlayCopyAlgsConfig.CopyCaloCalibrationHitContainersCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopyCalibrationHitContainer algorithms
Definition at line 411 of file OverlayCopyAlgsConfig.py.
412 """Return overlay configuration for the CopyCalibrationHitContainer algorithms"""
415 kwargs.setdefault(
"ExtraInputs", flags.Overlay.ExtraInputs)
417 allowedContainers = [
418 "LArCalibrationHitActive",
"LArCalibrationHitDeadMaterial",
"LArCalibrationHitInactive"
419 "TileCalibrationCellHitCnt",
"TileCalibrationDMHitCnt",
420 "TileCalibHitActiveCell",
"TileCalibHitInactiveCell",
"TileCalibHitDeadMaterial",
422 availableContainers = []
425 for container
in allowedContainers:
426 if (flags.Overlay.ByteStream
and container
in flags.Input.Collections) \
427 or (
not flags.Overlay.ByteStream
and container
in flags.Input.SecondaryCollections):
428 availableContainers.append(container)
430 for container
in availableContainers:
◆ CopyDetailedTrackTruthCollectionAlgCfg()
def python.OverlayCopyAlgsConfig.CopyDetailedTrackTruthCollectionAlgCfg |
( |
|
flags, |
|
|
|
collectionName, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the DetailedTrackTruthCollection copying
Definition at line 334 of file OverlayCopyAlgsConfig.py.
335 """Return a ComponentAccumulator for the DetailedTrackTruthCollection copying"""
338 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix + collectionName)
339 kwargs.setdefault(
"InputKey", collectionName)
341 alg = CompFactory.CopyDetailedTrackTruthCollection(
"CopyDetailedTrackTruthCollection"+collectionName)
342 acc.addEventAlgo(alg)
344 if flags.Output.doWriteRDO:
345 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
347 "DetailedTrackTruthCollection#" + flags.Overlay.BkgPrefix+collectionName
◆ CopyDetailedTrackTruthCollectionsCfg()
def python.OverlayCopyAlgsConfig.CopyDetailedTrackTruthCollectionsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for copying detailed track truth
Definition at line 571 of file OverlayCopyAlgsConfig.py.
572 """ Return overlay configuration for copying detailed track truth"""
576 allowedContainers = [
577 "DisappearingTracksDetailedTruth",
578 "ResolvedForwardTracksDetailedTruth",
579 "CombinedInDetTracksDetailedTruth",
580 "ExtendedLargeD0TracksDetailedTruth"
583 availableContainers = []
586 if flags.Common.ProductionStep == ProductionStep.FastChain:
587 availableContainers = allowedContainers
589 hardScatterInputCollections = flags.Input.Collections
590 for container
in allowedContainers:
591 if container
in hardScatterInputCollections:
592 availableContainers.append(container)
594 for container
in availableContainers:
◆ CopyInTimeAntiKt4JetTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyInTimeAntiKt4JetTruthInfoCfg |
( |
|
flags, |
|
|
|
name = "CopyInTimeAntiKt4JetTruthInfo" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the in-time pile-up jets copying
Definition at line 72 of file OverlayCopyAlgsConfig.py.
73 """Return a ComponentAccumulator for the in-time pile-up jets copying"""
74 kwargs.setdefault(
"BkgInputKey", f
"{flags.Overlay.BkgPrefix}InTimeAntiKt4TruthJets")
75 kwargs.setdefault(
"OutputKey",
"InTimeAntiKt4TruthJets")
◆ CopyInTimeAntiKt6JetTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyInTimeAntiKt6JetTruthInfoCfg |
( |
|
flags, |
|
|
|
name = "CopyInTimeAntiKt6JetTruthInfo" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the in-time pile-up jets copying
Definition at line 88 of file OverlayCopyAlgsConfig.py.
89 """Return a ComponentAccumulator for the in-time pile-up jets copying"""
90 kwargs.setdefault(
"BkgInputKey", f
"{flags.Overlay.BkgPrefix}InTimeAntiKt6TruthJets")
91 kwargs.setdefault(
"OutputKey",
"InTimeAntiKt6TruthJets")
◆ CopyITkPixelClusterContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopyITkPixelClusterContainerAlgCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopyPixelClusterContainer algorithm
Definition at line 230 of file OverlayCopyAlgsConfig.py.
231 """Return a ComponentAccumulator for the CopyPixelClusterContainer algorithm"""
234 kwargs.setdefault(
"InputKey",
"ITkPixelClusters")
235 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix+
"ITkPixelClusters")
236 kwargs.setdefault(
"ExtraInputs", [(
'InDetDD::SiDetectorElementCollection',
'ConditionStore+ITkPixelDetectorElementCollection')])
238 if kwargs[
"InputKey"]
in flags.Input.Collections:
239 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
240 acc.merge(
SGInputLoaderCfg(flags, [f
'InDet::PixelClusterContainer#{kwargs["InputKey"]}']))
242 alg = CompFactory.CopyPixelClusterContainer(
"CopyPixelClusterContainer", **kwargs)
243 acc.addEventAlgo(alg)
◆ CopyITkPixelClusterContainerCfg()
def python.OverlayCopyAlgsConfig.CopyITkPixelClusterContainerCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopyITkPixelClusterContainer algorithm
Definition at line 448 of file OverlayCopyAlgsConfig.py.
449 """Return overlay configuration for the CopyITkPixelClusterContainer algorithm"""
451 if flags.Output.doWriteRDO:
452 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
454 "InDet::PixelClusterContainer#Bkg_ITkPixelClusters"
◆ CopyITkStripClusterContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopyITkStripClusterContainerAlgCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopySCT_ClusterContainer algorithm
Definition at line 264 of file OverlayCopyAlgsConfig.py.
265 """Return a ComponentAccumulator for the CopySCT_ClusterContainer algorithm"""
268 kwargs.setdefault(
"InputKey",
"ITkStripClusters")
269 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix+
"ITkStripClusters")
270 kwargs.setdefault(
"ExtraInputs", [(
'InDetDD::SiDetectorElementCollection',
'ConditionStore+ITkStripDetectorElementCollection')])
272 if kwargs[
"InputKey"]
in flags.Input.Collections:
273 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
274 acc.merge(
SGInputLoaderCfg(flags, [f
'InDet::SCT_ClusterContainer#{kwargs["InputKey"]}']))
276 alg = CompFactory.CopySCT_ClusterContainer(
"CopySCT_ClusterContainer", **kwargs)
277 acc.addEventAlgo(alg)
◆ CopyITkStripClusterContainerCfg()
def python.OverlayCopyAlgsConfig.CopyITkStripClusterContainerCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopySCT_ClusterContainer algorithm
Definition at line 471 of file OverlayCopyAlgsConfig.py.
472 """Return overlay configuration for the CopySCT_ClusterContainer algorithm"""
475 if flags.Output.doWriteRDO:
476 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
478 "InDet::SCT_ClusterContainer#Bkg_ITkStripClusters"
◆ CopyITkTrackCollectionsCfg()
def python.OverlayCopyAlgsConfig.CopyITkTrackCollectionsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for copying tracks
Definition at line 548 of file OverlayCopyAlgsConfig.py.
549 """ Return overlay configuration for copying tracks"""
553 allowedContainers = [
555 "ResolvedConversionTracks"
557 availableContainers = []
559 if flags.Common.ProductionStep == ProductionStep.FastChain:
560 availableContainers = allowedContainers
562 hardScatterInputCollections = flags.Input.Collections
563 for container
in allowedContainers:
564 if container
in hardScatterInputCollections:
565 availableContainers.append(container)
566 for container
in availableContainers:
◆ CopyJetTruthInfoAlgCfg()
def python.OverlayCopyAlgsConfig.CopyJetTruthInfoAlgCfg |
( |
|
flags, |
|
|
|
name, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the pile-up jets copying
Definition at line 48 of file OverlayCopyAlgsConfig.py.
49 """Return a ComponentAccumulator for the pile-up jets copying"""
52 if "OutputKey" not in kwargs
or "BkgInputKey" not in kwargs:
53 raise RuntimeError(
"'OutputKey' and 'BkgInputKey' need to be defined")
55 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
56 acc.merge(
SGInputLoaderCfg(flags, [f
'xAOD::JetContainer#{kwargs["BkgInputKey"]}']))
59 acc.addEventAlgo(CompFactory.CopyJetTruthInfo(name, **kwargs))
62 if flags.Output.doWriteRDO:
63 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
65 f
'xAOD::JetContainer#{kwargs["OutputKey"]}',
66 f
'xAOD::AuxContainerBase!#{kwargs["OutputKey"]}Aux.-constituentLinks.-constituentWeights',
◆ CopyJetTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyJetTruthInfoCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopyJetTruthInfo algorithms
Definition at line 104 of file OverlayCopyAlgsConfig.py.
105 """Return a ComponentAccumulator for the CopyJetTruthInfo algorithms"""
107 if flags.Overlay.DataOverlay:
110 allowedContainers = [
111 f
"{flags.Overlay.BkgPrefix}InTimeAntiKt4TruthJets",
112 f
"{flags.Overlay.BkgPrefix}OutOfTimeAntiKt4TruthJets",
113 f
"{flags.Overlay.BkgPrefix}InTimeAntiKt6TruthJets",
114 f
"{flags.Overlay.BkgPrefix}OutOfTimeAntiKt6TruthJets"
116 availableContainers = []
119 for container
in allowedContainers:
120 if container
in flags.Input.Collections:
121 availableContainers.append(container)
122 if allowedContainers[0]
in availableContainers:
124 if allowedContainers[1]
in availableContainers:
126 if allowedContainers[2]
in availableContainers:
128 if allowedContainers[3]
in availableContainers:
◆ CopyMcEventCollectionCfg()
def python.OverlayCopyAlgsConfig.CopyMcEventCollectionCfg |
( |
|
flags, |
|
|
|
name = "CopyMcEventCollection" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopyMcEventCollection algorithm
Definition at line 161 of file OverlayCopyAlgsConfig.py.
162 """Return a ComponentAccumulator for the CopyMcEventCollection algorithm"""
165 kwargs.setdefault(
"RemoveBkgHardScatterTruth",
True)
168 if flags.Overlay.DataOverlay:
170 kwargs.setdefault(
"BkgInputKey",
"")
172 kwargs.setdefault(
"BkgInputKey", f
"{flags.Overlay.BkgPrefix}TruthEvent")
173 inputs.append(f
'McEventCollection#{kwargs["BkgInputKey"]}')
175 kwargs.setdefault(
"SignalInputKey", f
"{flags.Overlay.SigPrefix}TruthEvent")
176 if flags.Common.ProductionStep
is not ProductionStep.FastChain:
177 inputs.append(f
'McEventCollection#{kwargs["SignalInputKey"]}')
179 if flags.Sim.DoFullChain
and flags.Common.isOverlay:
180 kwargs.setdefault(
"OutputKey",
"BeamTruthEvent")
182 kwargs.setdefault(
"OutputKey",
"TruthEvent")
184 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
188 acc.addEventAlgo(CompFactory.CopyMcEventCollection(name, **kwargs))
191 from SGComps.AddressRemappingConfig
import AddressRemappingCfg
193 f
"McEventCollection#TruthEvent->{flags.Overlay.SigPrefix}TruthEvent"
197 if flags.Output.doWriteRDO:
198 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
200 "McEventCollection#TruthEvent"
204 if flags.Output.doWriteRDO_SGNL:
205 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
207 f
"McEventCollection#{flags.Overlay.SigPrefix}TruthEvent"
◆ CopyOutOfTimeAntiKt4JetTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyOutOfTimeAntiKt4JetTruthInfoCfg |
( |
|
flags, |
|
|
|
name = "CopyOutOfTimeAntiKt4JetTruthInfo" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the out-of-time pile-up jets copying
Definition at line 80 of file OverlayCopyAlgsConfig.py.
81 """Return a ComponentAccumulator for the out-of-time pile-up jets copying"""
82 kwargs.setdefault(
"BkgInputKey", f
"{flags.Overlay.BkgPrefix}OutOfTimeAntiKt4TruthJets")
83 kwargs.setdefault(
"OutputKey",
"OutOfTimeAntiKt4TruthJets")
◆ CopyOutOfTimeAntiKt6JetTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyOutOfTimeAntiKt6JetTruthInfoCfg |
( |
|
flags, |
|
|
|
name = "CopyOutOfTimeAntiKt6JetTruthInfo" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the out-of-time pile-up jets copying
Definition at line 96 of file OverlayCopyAlgsConfig.py.
97 """Return a ComponentAccumulator for the out-of-time pile-up jets copying"""
98 kwargs.setdefault(
"BkgInputKey", f
"{flags.Overlay.BkgPrefix}OutOfTimeAntiKt6TruthJets")
99 kwargs.setdefault(
"OutputKey",
"OutOfTimeAntiKt6TruthJets")
◆ CopyPileupParticleTruthInfoCfg()
def python.OverlayCopyAlgsConfig.CopyPileupParticleTruthInfoCfg |
( |
|
flags, |
|
|
|
name = "CopyPileupParticleTruthInfo" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the in-time pile-up jets copying
Definition at line 133 of file OverlayCopyAlgsConfig.py.
134 """Return a ComponentAccumulator for the in-time pile-up jets copying"""
136 if flags.Overlay.DataOverlay:
139 requiredContainer = f
"{flags.Overlay.BkgPrefix}TruthPileupParticles"
142 if requiredContainer
in flags.Input.Collections:
143 kwargs.setdefault(
"BkgInputKey", requiredContainer)
144 kwargs.setdefault(
"OutputKey",
"TruthPileupParticles")
146 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
147 acc.merge(
SGInputLoaderCfg(flags, [f
'xAOD::TruthParticleContainer#{kwargs["BkgInputKey"]}']))
150 acc.addEventAlgo(CompFactory.CopyPileupParticleTruthInfo(name, **kwargs))
152 if flags.Output.doWriteRDO:
153 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
155 "xAOD::TruthParticleContainer#TruthPileupParticles",
156 "xAOD::TruthParticleAuxContainer#TruthPileupParticlesAux."
◆ CopyPixelClusterContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopyPixelClusterContainerAlgCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopyPixelClusterContainer algorithm
Definition at line 213 of file OverlayCopyAlgsConfig.py.
214 """Return a ComponentAccumulator for the CopyPixelClusterContainer algorithm"""
217 kwargs.setdefault(
"InputKey",
"PixelClusters")
218 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix+
"PixelClusters")
219 kwargs.setdefault(
"ExtraInputs", {(
'InDetDD::SiDetectorElementCollection',
'ConditionStore+PixelDetectorElementCollection')})
221 if kwargs[
"InputKey"]
in flags.Input.Collections:
222 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
223 acc.merge(
SGInputLoaderCfg(flags, [f
'InDet::PixelClusterContainer#{kwargs["InputKey"]}']))
225 alg = CompFactory.CopyPixelClusterContainer(
"CopyPixelClusterContainer", **kwargs)
226 acc.addEventAlgo(alg)
◆ CopyPixelClusterContainerCfg()
def python.OverlayCopyAlgsConfig.CopyPixelClusterContainerCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopyPixelClusterContainer algorithm
Definition at line 436 of file OverlayCopyAlgsConfig.py.
437 """Return overlay configuration for the CopyPixelClusterContainer algorithm"""
440 if flags.Output.doWriteRDO:
441 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
443 "InDet::PixelClusterContainer#Bkg_PixelClusters"
◆ CopyPRD_MultiTruthCollectionAlgCfg()
def python.OverlayCopyAlgsConfig.CopyPRD_MultiTruthCollectionAlgCfg |
( |
|
flags, |
|
|
|
collectionName, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the PRD_MultiTruthCollection copying
Definition at line 353 of file OverlayCopyAlgsConfig.py.
354 """Return a ComponentAccumulator for the PRD_MultiTruthCollection copying"""
357 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix + collectionName)
358 kwargs.setdefault(
"InputKey", collectionName)
360 alg = CompFactory.CopyPRD_MultiTruthCollection(
"CopyPRD_MultiTruthCollection"+collectionName)
361 acc.addEventAlgo(alg)
363 if flags.Output.doWriteRDO:
364 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
366 "PRD_MultiTruthCollection#" + flags.Overlay.BkgPrefix+collectionName
◆ CopyPRD_MultiTruthCollectionsCfg()
def python.OverlayCopyAlgsConfig.CopyPRD_MultiTruthCollectionsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for copying detailed track truth
Definition at line 600 of file OverlayCopyAlgsConfig.py.
601 """ Return overlay configuration for copying detailed track truth"""
605 allowedContainers = [
607 "PRD_MultiTruthPixel",
611 availableContainers = []
614 if flags.Common.ProductionStep == ProductionStep.FastChain:
615 availableContainers = allowedContainers
617 hardScatterInputCollections = flags.Input.Collections
618 for container
in allowedContainers:
619 if container
in hardScatterInputCollections:
620 availableContainers.append(container)
622 for container
in availableContainers:
◆ CopySCT_ClusterContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopySCT_ClusterContainerAlgCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopySCT_ClusterContainer algorithm
Definition at line 247 of file OverlayCopyAlgsConfig.py.
248 """Return a ComponentAccumulator for the CopySCT_ClusterContainer algorithm"""
251 kwargs.setdefault(
"InputKey",
"SCT_Clusters")
252 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix+
"SCT_Clusters")
253 kwargs.setdefault(
"ExtraInputs", {(
'InDetDD::SiDetectorElementCollection',
'ConditionStore+SCT_DetectorElementCollection')})
255 if kwargs[
"InputKey"]
in flags.Input.Collections:
256 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
257 acc.merge(
SGInputLoaderCfg(flags, [f
'InDet::SCT_ClusterContainer#{kwargs["InputKey"]}']))
259 alg = CompFactory.CopySCT_ClusterContainer(
"CopySCT_ClusterContainer", **kwargs)
260 acc.addEventAlgo(alg)
◆ CopySCT_ClusterContainerCfg()
def python.OverlayCopyAlgsConfig.CopySCT_ClusterContainerCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopySCT_ClusterContainer algorithm
Definition at line 459 of file OverlayCopyAlgsConfig.py.
460 """Return overlay configuration for the CopySCT_ClusterContainer algorithm"""
463 if flags.Output.doWriteRDO:
464 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
466 "InDet::SCT_ClusterContainer#Bkg_SCT_Clusters"
◆ CopyTrackCollectionAlgCfg()
def python.OverlayCopyAlgsConfig.CopyTrackCollectionAlgCfg |
( |
|
flags, |
|
|
|
collectionName, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the TrackCollection copying
Definition at line 299 of file OverlayCopyAlgsConfig.py.
300 """Return a ComponentAccumulator for the TrackCollection copying"""
303 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix + collectionName)
304 kwargs.setdefault(
"InputKey", collectionName)
306 if flags.Detector.GeometryPixel:
307 extra_inputs.add((
'InDetDD::SiDetectorElementCollection',
'ConditionStore+PixelDetectorElementCollection'))
308 if flags.Detector.GeometrySCT:
309 extra_inputs.add((
'InDetDD::SiDetectorElementCollection',
'ConditionStore+SCT_DetectorElementCollection'))
310 if flags.Detector.GeometryTRT:
311 extra_inputs.add((
'InDetDD::TRT_DetElementContainer' ,
'ConditionStore+TRT_DetElementContainer' ))
312 if flags.Detector.GeometryITkPixel:
313 extra_inputs.add((
'InDetDD::SiDetectorElementCollection' ,
'ConditionStore+ITkPixelDetectorElementCollection' ))
314 if flags.Detector.GeometryITkStrip:
315 extra_inputs.add((
'InDetDD::SiDetectorElementCollection' ,
'ConditionStore+ITkStripDetectorElementCollection' ))
317 kwargs.setdefault(
"ExtraInputs", extra_inputs)
319 if kwargs[
"InputKey"]
in flags.Input.Collections:
320 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
321 acc.merge(
SGInputLoaderCfg(flags, [f
'TrackCollection#{kwargs["InputKey"]}']))
323 alg = CompFactory.CopyTrackCollection(
"CopyTrackCollection"+collectionName, **kwargs)
324 acc.addEventAlgo(alg)
326 if flags.Output.doWriteRDO:
327 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
329 "TrackCollection#" + flags.Overlay.BkgPrefix+collectionName]))
◆ CopyTrackCollectionsCfg()
def python.OverlayCopyAlgsConfig.CopyTrackCollectionsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for copying tracks
Definition at line 522 of file OverlayCopyAlgsConfig.py.
523 """ Return overlay configuration for copying tracks"""
527 allowedContainers = [
528 "CombinedInDetTracks",
529 "DisappearingTracks",
530 "ResolvedForwardTracks",
531 "ExtendedLargeD0Tracks"
534 availableContainers = []
536 if flags.Common.ProductionStep == ProductionStep.FastChain:
537 availableContainers = allowedContainers
539 hardScatterInputCollections = flags.Input.Collections
540 for container
in allowedContainers:
541 if container
in hardScatterInputCollections:
542 availableContainers.append(container)
543 for container
in availableContainers:
◆ CopyTrackRecordCollectionAlgCfg()
def python.OverlayCopyAlgsConfig.CopyTrackRecordCollectionAlgCfg |
( |
|
flags, |
|
|
|
collectionName, |
|
|
|
name = "CopyTrackRecordCollection" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the TrackRecordCollection copying
Definition at line 372 of file OverlayCopyAlgsConfig.py.
373 """Return a ComponentAccumulator for the TrackRecordCollection copying"""
376 kwargs.setdefault(
"collectionName", collectionName)
377 kwargs.setdefault(
"SignalInputKey", flags.Overlay.SigPrefix + collectionName)
378 kwargs.setdefault(
"OutputKey", collectionName)
379 kwargs.setdefault(
"ExtraInputs", flags.Overlay.ExtraInputs)
381 if flags.Common.ProductionStep
is not ProductionStep.FastChain:
382 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
383 acc.merge(
SGInputLoaderCfg(flags, [f
'TrackRecordCollection#{kwargs["SignalInputKey"]}']))
386 from SGComps.AddressRemappingConfig
import AddressRemappingCfg
388 f
"TrackRecordCollection#{collectionName}->{flags.Overlay.SigPrefix}{collectionName}"
392 acc.addEventAlgo(CompFactory.CopyTrackRecordCollection(name + collectionName, **kwargs))
395 if flags.Output.doWriteRDO:
396 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
398 f
"TrackRecordCollection#{collectionName}"
402 if flags.Output.doWriteRDO_SGNL:
403 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
405 f
"TrackRecordCollection#{flags.Overlay.SigPrefix}{collectionName}"
◆ CopyTrackRecordCollectionsCfg()
def python.OverlayCopyAlgsConfig.CopyTrackRecordCollectionsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the TrackRecordCollection algorithms
Definition at line 495 of file OverlayCopyAlgsConfig.py.
496 """Return overlay configuration for the TrackRecordCollection algorithms"""
500 allowedContainers = [
505 availableContainers = []
508 if flags.Common.ProductionStep == ProductionStep.FastChain:
509 availableContainers = allowedContainers
511 hardScatterInputCollections = flags.Input.Collections
if flags.Overlay.ByteStream
else flags.Input.SecondaryCollections
512 for container
in allowedContainers:
513 if container
in hardScatterInputCollections:
514 availableContainers.append(container)
516 for container
in availableContainers:
◆ CopyTRT_DriftCircleContainerAlgCfg()
def python.OverlayCopyAlgsConfig.CopyTRT_DriftCircleContainerAlgCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for the CopyTRT_DriftCircleContainer algorithm
Definition at line 281 of file OverlayCopyAlgsConfig.py.
282 """Return a ComponentAccumulator for the CopyTRT_DriftCircleContainer algorithm"""
285 kwargs.setdefault(
"InputKey",
"TRT_DriftCircles")
286 kwargs.setdefault(
"OutputKey", flags.Overlay.BkgPrefix+
"TRT_DriftCircles")
287 kwargs.setdefault(
"ExtraInputs", {(
'InDetDD::TRT_DetElementContainer' ,
'ConditionStore+TRT_DetElementContainer')})
289 if kwargs[
"InputKey"]
in flags.Input.Collections:
290 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
291 acc.merge(
SGInputLoaderCfg(flags, [f
'InDet::TRT_DriftCircleContainer#{kwargs["InputKey"]}']))
293 alg = CompFactory.CopyTRT_DriftCircleContainer(
"CopyTRT_DriftCircleContainer", **kwargs)
294 acc.addEventAlgo(alg)
◆ CopyTRT_DriftCircleContainerCfg()
def python.OverlayCopyAlgsConfig.CopyTRT_DriftCircleContainerCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return overlay configuration for the CopyTRT_DriftCircleContainer algorithm
Definition at line 483 of file OverlayCopyAlgsConfig.py.
484 """Return overlay configuration for the CopyTRT_DriftCircleContainer algorithm"""
487 if flags.Output.doWriteRDO:
488 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
490 "InDet::TRT_DriftCircleContainer#Bkg_TRT_DriftCircles"]))
def AddressRemappingCfg(renameMaps=[], overwriteMaps=[])
def CopyMcEventCollectionCfg(flags, name="CopyMcEventCollection", **kwargs)
def CopyPixelClusterContainerCfg(flags, **kwargs)
def CopyITkPixelClusterContainerCfg(flags, **kwargs)
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, keepProvenanceTagsRegEx=None, AcceptAlgs=[], HelperTools=[])
def CopyTrackCollectionAlgCfg(flags, collectionName, **kwargs)
def CopyDetailedTrackTruthCollectionAlgCfg(flags, collectionName, **kwargs)
def CopyCaloCalibrationHitContainersCfg(flags, **kwargs)
def CopyOutOfTimeAntiKt4JetTruthInfoCfg(flags, name="CopyOutOfTimeAntiKt4JetTruthInfo", **kwargs)
def CopyPileupParticleTruthInfoCfg(flags, name="CopyPileupParticleTruthInfo", **kwargs)
def CopyPRD_MultiTruthCollectionsCfg(flags, **kwargs)
def CopySCT_ClusterContainerCfg(flags, **kwargs)
def CopyITkTrackCollectionsCfg(flags, **kwargs)
def CopyInTimeAntiKt6JetTruthInfoCfg(flags, name="CopyInTimeAntiKt6JetTruthInfo", **kwargs)
def CopyDetailedTrackTruthCollectionsCfg(flags, **kwargs)
def CopyInTimeAntiKt4JetTruthInfoCfg(flags, name="CopyInTimeAntiKt4JetTruthInfo", **kwargs)
def CopyTrackCollectionsCfg(flags, **kwargs)
def CopyTRT_DriftCircleContainerCfg(flags, **kwargs)
def CopyTrackRecordCollectionsCfg(flags, **kwargs)
def CopyITkStripClusterContainerCfg(flags, **kwargs)
def CopyPixelClusterContainerAlgCfg(flags, **kwargs)
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
def CopyTRT_DriftCircleContainerAlgCfg(flags, **kwargs)
def CopyITkStripClusterContainerAlgCfg(flags, **kwargs)
def CopyCaloCalibrationHitContainerAlgCfg(flags, collectionName, name="CopyCaloCalibrationHitContainer", **kwargs)
def CopyPRD_MultiTruthCollectionAlgCfg(flags, collectionName, **kwargs)
def CopyITkPixelClusterContainerAlgCfg(flags, **kwargs)
def CopyTrackRecordCollectionAlgCfg(flags, collectionName, name="CopyTrackRecordCollection", **kwargs)
def CopyJetTruthInfoCfg(flags, **kwargs)
def CopyJetTruthInfoAlgCfg(flags, name, **kwargs)
def CopySCT_ClusterContainerAlgCfg(flags, **kwargs)
def CopyOutOfTimeAntiKt6JetTruthInfoCfg(flags, name="CopyOutOfTimeAntiKt6JetTruthInfo", **kwargs)