ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
CaloClusterMatching
src
CaloClusterMatchLinkAlg.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// CaloClusterMatchLinkAlg.h
8
// Header file for class CaloClusterMatchLinkAlg
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H
12
#define CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H 1
13
14
// STL includes
15
#include <string>
16
17
// FrameWork includes
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
20
#include "
AsgTools/ToolHandle.h
"
21
#include "
xAODCaloEvent/CaloClusterContainer.h
"
22
#include "
CaloClusterMatching/ICaloClusterMatchingTool.h
"
23
#include "
StoreGate/WriteDecorHandleKey.h
"
24
25
namespace
ClusterMatching
{
26
class
CaloClusterMatchLinkAlg
27
:
public
::AthReentrantAlgorithm
28
{
29
31
// Public methods:
33
public
:
35
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
36
38
virtual
~CaloClusterMatchLinkAlg
();
39
40
// Athena algorithm's Hooks
41
virtual
StatusCode
initialize
();
42
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
;
43
virtual
StatusCode
finalize
();
44
45
private
:
46
47
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterKey
{
this
,
"ClustersToDecorate"
,
""
,
"The input CaloClusterContainer to match to CaloCalTopoClusters"
};
48
Gaudi::Property<bool>
m_useLeadCellEtaPhi
{
this
,
"UseLeadCellEtaPhi"
,
false
};
49
Gaudi::Property<int>
m_clusterSortMethod
{
this
,
"ClusterSortMethod"
,(
int
)
MatchedE
};
50
ToolHandle<ICaloClusterMatchingTool>
m_clusterMatch
{
this
,
"ClusterMatchTool"
,
"ClusterMatching::CaloClusterMatchingTool/CaloClusterMatch"
,
"Tool for the acutal matching"
};
51
52
//The decorator
53
SG::WriteDecorHandleKey<xAOD::CaloClusterContainer>
m_elementLinkName
{
54
this
,
55
"ElementLinkName"
,
56
m_clusterKey
,
57
"constituentClusterLinks"
58
};
59
60
};
61
}
62
63
#endif
//> !CALOCLUSTERMATCHING_CALOCLUSTERMATCHLINKALG_H
AthReentrantAlgorithm.h
CaloClusterContainer.h
ICaloClusterMatchingTool.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
ToolHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ClusterMatching::CaloClusterMatchLinkAlg
Definition
CaloClusterMatchLinkAlg.h:28
ClusterMatching::CaloClusterMatchLinkAlg::initialize
virtual StatusCode initialize()
Definition
CaloClusterMatchLinkAlg.cxx:31
ClusterMatching::CaloClusterMatchLinkAlg::m_clusterSortMethod
Gaudi::Property< int > m_clusterSortMethod
Definition
CaloClusterMatchLinkAlg.h:49
ClusterMatching::CaloClusterMatchLinkAlg::finalize
virtual StatusCode finalize()
Definition
CaloClusterMatchLinkAlg.cxx:49
ClusterMatching::CaloClusterMatchLinkAlg::m_clusterMatch
ToolHandle< ICaloClusterMatchingTool > m_clusterMatch
Definition
CaloClusterMatchLinkAlg.h:50
ClusterMatching::CaloClusterMatchLinkAlg::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition
CaloClusterMatchLinkAlg.cxx:56
ClusterMatching::CaloClusterMatchLinkAlg::~CaloClusterMatchLinkAlg
virtual ~CaloClusterMatchLinkAlg()
Destructor:
ClusterMatching::CaloClusterMatchLinkAlg::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Definition
CaloClusterMatchLinkAlg.h:47
ClusterMatching::CaloClusterMatchLinkAlg::m_elementLinkName
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_elementLinkName
Definition
CaloClusterMatchLinkAlg.h:53
ClusterMatching::CaloClusterMatchLinkAlg::m_useLeadCellEtaPhi
Gaudi::Property< bool > m_useLeadCellEtaPhi
Definition
CaloClusterMatchLinkAlg.h:48
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
ClusterMatching
Definition
ICaloClusterMatchingTool.h:26
ClusterMatching::MatchedE
@ MatchedE
Definition
ICaloClusterMatchingTool.h:35
xAOD::int
setRawEt setRawPhi int
Definition
TrigCaloCluster_v1.cxx:33
Generated on
for ATLAS Offline Software by
1.17.0