ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
TrackCaloClusterRec
TrackCaloClusterRecAlgs
TrackCaloClusterRecAlgs
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
7
#include "
AthenaBaseComps/AthAlgorithm.h
"
8
#include "GaudiKernel/ToolHandle.h"
9
#include "
StoreGate/ReadDecorHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
12
13
#include "
xAODPFlow/FlowElementContainer.h
"
14
#include "
TrackCaloClusterRecInterfaces/ITrackCaloClusterTool.h
"
15
16
#include "
TrackCaloClusterRecTools/TrackCaloClusterInfo.h
"
17
18
28
class
TrackCaloClusterAlg
:
public
::AthAlgorithm
{
29
public
:
30
TrackCaloClusterAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
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
//
AthAlgorithm.h
FlowElementContainer.h
ITrackCaloClusterTool.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
TrackCaloClusterInfo.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TrackCaloClusterAlg::m_outputTCCHandle
SG::WriteHandleKey< xAOD::FlowElementContainer > m_outputTCCHandle
Cluster Collection container.
Definition
TrackCaloClusterAlg.h:45
TrackCaloClusterAlg::m_tccTools
ToolHandleArray< ITrackCaloClusterTool > m_tccTools
The tools implementting the creation of TCC.
Definition
TrackCaloClusterAlg.h:39
TrackCaloClusterAlg::initialize
virtual StatusCode initialize() override
Definition
TrackCaloClusterAlg.cxx:25
TrackCaloClusterAlg::m_tccInfoHandle
SG::ReadHandleKey< TrackCaloClusterInfo > m_tccInfoHandle
TrackCaloClusterInfo used by this alg.
Definition
TrackCaloClusterAlg.h:42
TrackCaloClusterAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TrackCaloClusterAlg.cxx:39
TrackCaloClusterAlg::TrackCaloClusterAlg
TrackCaloClusterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrackCaloClusterAlg.cxx:20
TrackCaloClusterAlg::m_copiedTCCHandle
SG::ReadHandleKey< xAOD::FlowElementContainer > m_copiedTCCHandle
Definition
TrackCaloClusterAlg.h:47
Generated on
for ATLAS Offline Software by
1.17.0