ATLAS Offline Software
Functions
TrackParticleAssociationAlgsConfig Namespace Reference

Functions

def TrackParticleCellAssociationAlgCfg (flags, name="TrackParticleCellAssociationAlg", **kwargs)
 
def LargeD0TrackParticleCellAssociationAlgCfg (flags, name="LargeD0TrackParticleCellAssociationAlg", **kwargs)
 
def TrackParticleCellAssociationCfg (flags)
 

Function Documentation

◆ LargeD0TrackParticleCellAssociationAlgCfg()

def TrackParticleAssociationAlgsConfig.LargeD0TrackParticleCellAssociationAlgCfg (   flags,
  name = "LargeD0TrackParticleCellAssociationAlg",
**  kwargs 
)

Definition at line 40 of file TrackParticleAssociationAlgsConfig.py.

41  name="LargeD0TrackParticleCellAssociationAlg",
42  **kwargs):
43  result = ComponentAccumulator()
44  from TrackToCalo.TrackToCaloConfig import ParticleCaloCellAssociationToolCfg
45  kwargs.setdefault("ParticleCaloCellAssociationTool",
46  result.popToolsAndMerge(
48 
49  result.addEventAlgo(
50  CompFactory.TrackParticleCellAssociationAlg(
51  name,
52  TrackParticleContainerName="InDetLargeD0TrackParticles",
53  ClusterContainerName="InDetLargeD0TrackParticlesAssociatedClusters",
54  CaloClusterCellLinkName="InDetLargeD0TrackParticlesAssociatedClusters_links",
55  AssociationContainerName="InDetLargeD0TrackParticlesClusterAssociations",
56  **kwargs))
57 
58  from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
59  toAOD = [
60  "xAOD::CaloClusterContainer#InDetLargeD0TrackParticlesAssociatedClusters",
61  "xAOD::CaloClusterAuxContainer#InDetLargeD0TrackParticlesAssociatedClustersAux.",
62  "CaloClusterCellLinkContainer#InDetLargeD0TrackParticlesAssociatedClusters_links",
63  "xAOD::TrackParticleClusterAssociationContainer#InDetLargeD0TrackParticlesClusterAssociations",
64  "xAOD::TrackParticleClusterAssociationAuxContainer#InDetLargeD0TrackParticlesClusterAssociationsAux."
65  ]
66  from CaloRec.CaloThinCellsByClusterAlgConfig import CaloThinCellsByClusterAlgCfg
67  result.merge(CaloThinCellsByClusterAlgCfg(
68  flags,
69  streamName="StreamAOD",
70  clusters="InDetLargeD0TrackParticlesAssociatedClusters",
71  samplings=["TileGap1", "TileGap2", "TileGap3", "TileBar0", "TileExt0", "HEC0"]))
72  result.merge(addToESD(flags, toAOD))
73  result.merge(addToAOD(flags, toAOD))
74 
75  return result
76 
77 

◆ TrackParticleCellAssociationAlgCfg()

def TrackParticleAssociationAlgsConfig.TrackParticleCellAssociationAlgCfg (   flags,
  name = "TrackParticleCellAssociationAlg",
**  kwargs 
)

Definition at line 6 of file TrackParticleAssociationAlgsConfig.py.

7  name="TrackParticleCellAssociationAlg",
8  **kwargs):
9  result = ComponentAccumulator()
10 
11  from TrackToCalo.TrackToCaloConfig import ParticleCaloCellAssociationToolCfg
12  kwargs.setdefault("ParticleCaloCellAssociationTool",
13  result.popToolsAndMerge(
15 
16  result.addEventAlgo(
17  CompFactory.TrackParticleCellAssociationAlg(name, **kwargs))
18 
19  from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
20  toAOD = [
21  "xAOD::CaloClusterContainer#InDetTrackParticlesAssociatedClusters",
22  "xAOD::CaloClusterAuxContainer#InDetTrackParticlesAssociatedClustersAux.",
23  "CaloClusterCellLinkContainer#InDetTrackParticlesAssociatedClusters_links",
24  "xAOD::TrackParticleClusterAssociationContainer#InDetTrackParticlesClusterAssociations",
25  "xAOD::TrackParticleClusterAssociationAuxContainer#InDetTrackParticlesClusterAssociationsAux."
26  ]
27  from CaloRec.CaloThinCellsByClusterAlgConfig import CaloThinCellsByClusterAlgCfg
28  result.merge(CaloThinCellsByClusterAlgCfg(
29  flags,
30  streamName="StreamAOD",
31  clusters="InDetTrackParticlesAssociatedClusters",
32  samplings=["TileGap1", "TileGap2", "TileGap3", "TileBar0", "TileExt0", "HEC0"],
33  cells=flags.Egamma.Keys.Input.CaloCells))
34  result.merge(addToESD(flags, toAOD))
35  result.merge(addToAOD(flags, toAOD))
36 
37  return result
38 
39 

◆ TrackParticleCellAssociationCfg()

def TrackParticleAssociationAlgsConfig.TrackParticleCellAssociationCfg (   flags)

Definition at line 78 of file TrackParticleAssociationAlgsConfig.py.

79  acc = ComponentAccumulator()
80  acc.merge(TrackParticleCellAssociationAlgCfg(flags))
81  if (flags.Tracking.storeSeparateLargeD0Container and
82  flags.Tracking.doLargeD0):
84 
85  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloThinCellsByClusterAlgConfig.CaloThinCellsByClusterAlgCfg
def CaloThinCellsByClusterAlgCfg(flags, streamName, clusters, samplings=[], cells='AllCalo')
Definition: CaloThinCellsByClusterAlgConfig.py:11
TrackParticleAssociationAlgsConfig.TrackParticleCellAssociationAlgCfg
def TrackParticleCellAssociationAlgCfg(flags, name="TrackParticleCellAssociationAlg", **kwargs)
Definition: TrackParticleAssociationAlgsConfig.py:6
TrackParticleAssociationAlgsConfig.LargeD0TrackParticleCellAssociationAlgCfg
def LargeD0TrackParticleCellAssociationAlgCfg(flags, name="LargeD0TrackParticleCellAssociationAlg", **kwargs)
Definition: TrackParticleAssociationAlgsConfig.py:40
TrackToCaloConfig.ParticleCaloCellAssociationToolCfg
def ParticleCaloCellAssociationToolCfg(flags, name='ParticleCaloCellAssociationTool', **kwargs)
Definition: TrackToCaloConfig.py:72
python.OutputStreamConfig.addToESD
def addToESD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:127
python.OutputStreamConfig.addToAOD
def addToAOD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:142
TrackParticleAssociationAlgsConfig.TrackParticleCellAssociationCfg
def TrackParticleCellAssociationCfg(flags)
Definition: TrackParticleAssociationAlgsConfig.py:78