ATLAS Offline Software
TrackCaloClusterAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRACKCALOCLUSTERREC_TRACKCALOCLUSTERALGS_TRACKCALOCLUSTERALG_H
5 #define TRACKCALOCLUSTERREC_TRACKCALOCLUSTERALGS_TRACKCALOCLUSTERALG_H
6 
8 #include "GaudiKernel/ToolHandle.h"
11 
12 
15 
17 
18 
29 public:
30  TrackCaloClusterAlg( const std::string& name, ISvcLocator* pSvcLocator );
31 
32  virtual StatusCode initialize() override;
33  virtual StatusCode execute() override;
34 
35 
36 private:
37 
39  ToolHandleArray <ITrackCaloClusterTool> m_tccTools {this, "TCCTools", {},"List of TrackCaloClusterTool"};
40 
42  SG::ReadHandleKey<TrackCaloClusterInfo> m_tccInfoHandle {this, "TCCInfo", "", "the TrackCaloClusterInfo which contain the energy weights needed to split clusters/PFO onto tracks" };
43 
45  SG::WriteHandleKey<xAOD::FlowElementContainer> m_outputTCCHandle {this, "OutputTCCName", "TrackCaloClusters", "Name of output container to be created" };
46 
47  SG::ReadHandleKey<xAOD::FlowElementContainer> m_copiedTCCHandle {this, "AppendToTCCName", "", "optionnaly, read-in an existing container, recopy and append to it with new FlowElements build by this alg."};
48 
49 };
50 
51 #endif //
TrackCaloClusterInfo.h
FlowElementContainer.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ITrackCaloClusterTool.h
SG::ReadHandleKey< TrackCaloClusterInfo >
TrackCaloClusterAlg::initialize
virtual StatusCode initialize() override
Definition: TrackCaloClusterAlg.cxx:25
AthAlgorithm.h
TrackCaloClusterAlg::m_tccInfoHandle
SG::ReadHandleKey< TrackCaloClusterInfo > m_tccInfoHandle
TrackCaloClusterInfo used by this alg.
Definition: TrackCaloClusterAlg.h:42
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
TrackCaloClusterAlg::m_copiedTCCHandle
SG::ReadHandleKey< xAOD::FlowElementContainer > m_copiedTCCHandle
Definition: TrackCaloClusterAlg.h:47
TrackCaloClusterAlg
Definition: TrackCaloClusterAlg.h:28
TrackCaloClusterAlg::m_tccTools
ToolHandleArray< ITrackCaloClusterTool > m_tccTools
The tools implementting the creation of TCC.
Definition: TrackCaloClusterAlg.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCaloClusterAlg::TrackCaloClusterAlg
TrackCaloClusterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrackCaloClusterAlg.cxx:20
AthAlgorithm
Definition: AthAlgorithm.h:47
TrackCaloClusterAlg::m_outputTCCHandle
SG::WriteHandleKey< xAOD::FlowElementContainer > m_outputTCCHandle
Cluster Collection container.
Definition: TrackCaloClusterAlg.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrackCaloClusterAlg::execute
virtual StatusCode execute() override
Definition: TrackCaloClusterAlg.cxx:39