7 name="TrackParticleCellAssociationAlg",
9 result = ComponentAccumulator()
11 from TrackToCalo.TrackToCaloConfig
import ParticleCaloCellAssociationToolCfg
12 kwargs.setdefault(
"ParticleCaloCellAssociationTool",
13 result.popToolsAndMerge(
14 ParticleCaloCellAssociationToolCfg(flags)))
17 CompFactory.TrackParticleCellAssociationAlg(name, **kwargs))
19 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
21 "xAOD::CaloClusterContainer#InDetTrackParticlesAssociatedClusters",
22 "xAOD::CaloClusterAuxContainer#InDetTrackParticlesAssociatedClustersAux.",
23 "CaloClusterCellLinkContainer#InDetTrackParticlesAssociatedClusters_links",
24 "xAOD::TrackParticleClusterAssociationContainer#InDetTrackParticlesClusterAssociations",
25 "xAOD::TrackParticleClusterAssociationAuxContainer#InDetTrackParticlesClusterAssociationsAux."
27 from CaloRec.CaloThinCellsByClusterAlgConfig
import CaloThinCellsByClusterAlgCfg
28 result.merge(CaloThinCellsByClusterAlgCfg(
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))
41 name="LargeD0TrackParticleCellAssociationAlg",
43 result = ComponentAccumulator()
44 from TrackToCalo.TrackToCaloConfig
import ParticleCaloCellAssociationToolCfg
45 kwargs.setdefault(
"ParticleCaloCellAssociationTool",
46 result.popToolsAndMerge(
47 ParticleCaloCellAssociationToolCfg(flags)))
50 CompFactory.TrackParticleCellAssociationAlg(
52 TrackParticleContainerName=
"InDetLargeD0TrackParticles",
53 ClusterContainerName=
"InDetLargeD0TrackParticlesAssociatedClusters",
54 CaloClusterCellLinkName=
"InDetLargeD0TrackParticlesAssociatedClusters_links",
55 AssociationContainerName=
"InDetLargeD0TrackParticlesClusterAssociations",
58 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
60 "xAOD::CaloClusterContainer#InDetLargeD0TrackParticlesAssociatedClusters",
61 "xAOD::CaloClusterAuxContainer#InDetLargeD0TrackParticlesAssociatedClustersAux.",
62 "CaloClusterCellLinkContainer#InDetLargeD0TrackParticlesAssociatedClusters_links",
63 "xAOD::TrackParticleClusterAssociationContainer#InDetLargeD0TrackParticlesClusterAssociations",
64 "xAOD::TrackParticleClusterAssociationAuxContainer#InDetLargeD0TrackParticlesClusterAssociationsAux."
66 from CaloRec.CaloThinCellsByClusterAlgConfig
import CaloThinCellsByClusterAlgCfg
67 result.merge(CaloThinCellsByClusterAlgCfg(
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))
LargeD0TrackParticleCellAssociationAlgCfg(flags, name="LargeD0TrackParticleCellAssociationAlg", **kwargs)
TrackParticleCellAssociationAlgCfg(flags, name="TrackParticleCellAssociationAlg", **kwargs)
TrackParticleCellAssociationCfg(flags)