ATLAS Offline Software
TrackParticleCellAssociationAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKPARTICLEASSOCIATIONALGS_TRACKPARTICLECELLASSOCIATIONALG_H
6 #define TRACKPARTICLEASSOCIATIONALGS_TRACKPARTICLECELLASSOCIATIONALG_H
7 
9 
10 #include "GaudiKernel/ToolHandle.h"
13 
21 
22 
23 #include <string>
24 namespace Rec {
25  class IParticleCaloCellAssociationTool;
26 }
27 
29 {
30  public:
31  TrackParticleCellAssociationAlg(const std::string& name, ISvcLocator* pSvcLocator);
32 
34 
35  StatusCode initialize() override;
36  StatusCode execute(const EventContext& ctx) const override;
37  StatusCode finalize() override;
38 
39  private:
40 
41  ToolHandle<Rec::IParticleCaloCellAssociationTool> m_caloCellAssociationTool;
42 
44  "InDetTrackParticles","SG Key of track particle container"};
45 
47  "InDetTrackParticlesAssociatedClusters","SG Key of output cluster container"};
48 
50  "InDetTrackParticlesAssociatedClusters_links","SG Key of out CaloCluserCellLInkContainer"};
51 
52 
54  "InDetTrackParticlesClusterAssociations","SG Key of association container"};
55 
56  double m_ptCut;
57 };
58 
59 
60 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrackParticleClusterAssociationContainer.h
TrackParticleCellAssociationAlg::m_ptCut
double m_ptCut
Definition: TrackParticleCellAssociationAlg.h:56
TrackParticleCellAssociationAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: TrackParticleCellAssociationAlg.cxx:33
SG::ReadHandleKey< xAOD::TrackParticleContainer >
CaloClusterAuxContainer.h
TrackParticleCellAssociationAlg::finalize
StatusCode finalize() override
Definition: TrackParticleCellAssociationAlg.cxx:111
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrackParticleCellAssociationAlg::m_clusterCellLinkName
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_clusterCellLinkName
Definition: TrackParticleCellAssociationAlg.h:49
SG::WriteHandleKey< xAOD::CaloClusterContainer >
TrackParticleCellAssociationAlg::m_associationContainerName
SG::WriteHandleKey< xAOD::TrackParticleClusterAssociationContainer > m_associationContainerName
Definition: TrackParticleCellAssociationAlg.h:53
CaloCluster.h
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrackParticleClusterAssociationAuxContainer.h
TrackParticleCellAssociationAlg::m_caloCellAssociationTool
ToolHandle< Rec::IParticleCaloCellAssociationTool > m_caloCellAssociationTool
Definition: TrackParticleCellAssociationAlg.h:41
CaloClusterContainer.h
TrackParticleCellAssociationAlg
Definition: TrackParticleCellAssociationAlg.h:29
TrackParticleCellAssociationAlg::m_clusterContainerName
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_clusterContainerName
Definition: TrackParticleCellAssociationAlg.h:46
TrackParticleCellAssociationAlg::~TrackParticleCellAssociationAlg
~TrackParticleCellAssociationAlg()
TrackParticleClusterAssociation.h
TrackParticleCellAssociationAlg::initialize
StatusCode initialize() override
Definition: TrackParticleCellAssociationAlg.cxx:22
TrackParticleCellAssociationAlg::TrackParticleCellAssociationAlg
TrackParticleCellAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrackParticleCellAssociationAlg.cxx:12
TrackParticleContainer.h
TrackParticleCellAssociationAlg::m_trackParticleCollectionName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleCollectionName
Definition: TrackParticleCellAssociationAlg.h:43