ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleAssociationAlgsConfig Namespace Reference

Functions

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

Function Documentation

◆ LargeD0TrackParticleCellAssociationAlgCfg()

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

Definition at line 40 of file TrackParticleAssociationAlgsConfig.py.

42 **kwargs):
43 result = ComponentAccumulator()
44 from TrackToCalo.TrackToCaloConfig import ParticleCaloCellAssociationToolCfg
45 kwargs.setdefault("ParticleCaloCellAssociationTool",
46 result.popToolsAndMerge(
47 ParticleCaloCellAssociationToolCfg(flags)))
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()

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

Definition at line 6 of file TrackParticleAssociationAlgsConfig.py.

8 **kwargs):
9 result = ComponentAccumulator()
10
11 from TrackToCalo.TrackToCaloConfig import ParticleCaloCellAssociationToolCfg
12 kwargs.setdefault("ParticleCaloCellAssociationTool",
13 result.popToolsAndMerge(
14 ParticleCaloCellAssociationToolCfg(flags)))
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()

TrackParticleAssociationAlgsConfig.TrackParticleCellAssociationCfg ( flags)

Definition at line 78 of file TrackParticleAssociationAlgsConfig.py.

78def TrackParticleCellAssociationCfg(flags):
79 acc = ComponentAccumulator()
80 acc.merge(TrackParticleCellAssociationAlgCfg(flags))
81 if (flags.Tracking.storeSeparateLargeD0Container and
82 flags.Tracking.doLargeD0):
83 acc.merge(LargeD0TrackParticleCellAssociationAlgCfg(flags))
84
85 return acc