ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkEGamma
DerivationFrameworkEGamma
EGammaCookieCutClusterTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_EGammaCookieCutClusterTool_H
6
#define DERIVATIONFRAMEWORK_EGammaCookieCutClusterTool_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
10
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
13
#include "
xAODEgamma/EgammaContainer.h
"
14
#include "
CaloDetDescr/CaloDetDescrManager.h
"
15
#include "
egammaCaloUtils/egammaClusterCookieCut.h
"
16
17
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
18
19
namespace
DerivationFramework
{
20
21
class
EGammaCookieCutClusterTool
22
:
public
extends<AthAlgTool, IAugmentationTool>
23
{
24
public
:
25
26
using
base_class::base_class;
27
28
virtual
StatusCode
initialize
()
override
final
;
29
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
30
31
private
:
32
34
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_outClusterContainerKey
{
35
this
,
36
"ClusterContainerName"
,
37
"ForwardElectronCookieCutClusters"
,
38
"Name of the output cookie cut cluster container"
39
};
40
42
SG::WriteHandleKey<CaloClusterCellLinkContainer>
m_outClusterContainerCellLinkKey
{
43
this
,
44
"ClusterContainerLinksName"
,
45
"ForwardElectronCookieCutClusters_links"
,
46
"Name of the output cluster container cell links container"
47
};
48
50
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloDetDescrMgrKey
{
51
this
,
52
"CaloDetDescrManager"
,
53
"CaloDetDescrManager"
,
54
"SG Key for CaloDetDescrManager in the Condition Store"
55
};
56
57
SG::ReadHandleKey<xAOD::EgammaContainer>
m_SGKey_electrons
{
58
this
,
59
"SGKey_electrons"
,
60
"ForwardElectrons"
,
61
"SG key of electron container"
62
};
63
64
SG::WriteDecorHandleKeyArray<xAOD::EgammaContainer>
65
m_SGKey_electrons_decorations
{
66
this
,
67
"SGKey_electrons_decorations"
,
68
m_SGKey_electrons
, {},
69
"SG keys for electrons decorations"
70
};
71
73
Gaudi::Property<int>
m_maxDelEtaCells
{
74
this
,
75
"MaxWindowDelEtaCells"
,
76
3,
77
"Size of maximum search window in eta"
78
};
79
81
Gaudi::Property<int>
m_maxDelPhiCells
{
82
this
,
83
"MaxWindowDelPhiCells"
,
84
3,
85
"Size of maximum search window in phi"
86
};
87
89
Gaudi::Property<float>
m_maxDelR
{
90
this
,
91
"MaxWindowDelR"
,
92
0.3,
93
"Cone size to collect cells around hottest-cell FCAL"
94
};
95
97
Gaudi::Property<bool>
m_fixCellWeights
{
98
this
,
99
"FixCellWeights"
,
100
false
,
101
"Fix cell weights to one for the cookie-cut cluster"
102
};
103
105
Gaudi::Property<bool>
m_storeOrigMom
{
106
this
,
107
"StoreInputMoments"
,
108
false
,
109
"Decorate also with the moments from the original cluster"
110
};
111
113
Gaudi::Property<bool>
m_storeCookMom
{
114
this
,
115
"StoreCookedMoments"
,
116
false
,
117
"Decorate also with the moments from the cookie-cut cluster"
118
};
119
120
egammaClusterCookieCut::CookieCutPars
m_CookieCutPars
{};
121
122
mutable
std::once_flag
m_Seen
;
123
unsigned
short
m_nDecor
= 0;
124
126
Gaudi::Property<std::vector<int>>
m_vecM
{
127
this
,
128
"Moments"
,
129
{},
130
"The moments to be added"
131
};
132
134
Gaudi::Property<std::vector<std::string>>
m_vecMName
{
135
this
,
136
"MomentNames"
,
137
{},
138
"The names of the moments to be added"
139
};
140
141
ToolHandleArray<CaloClusterCollectionProcessor>
m_clusterCorrectionTools
{
142
this
,
143
"ClusterMomentMaker"
,
144
{},
145
"The moment maker"
146
};
147
148
};
149
150
}
151
152
#endif
// DERIVATIONFRAMEWORK_EGammaCookieCutClusterTool_H
AthAlgTool.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
EgammaContainer.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
DerivationFramework::EGammaCookieCutClusterTool
Definition
EGammaCookieCutClusterTool.h:23
DerivationFramework::EGammaCookieCutClusterTool::m_clusterCorrectionTools
ToolHandleArray< CaloClusterCollectionProcessor > m_clusterCorrectionTools
Definition
EGammaCookieCutClusterTool.h:141
DerivationFramework::EGammaCookieCutClusterTool::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Calorimeter description.
Definition
EGammaCookieCutClusterTool.h:50
DerivationFramework::EGammaCookieCutClusterTool::m_storeOrigMom
Gaudi::Property< bool > m_storeOrigMom
Decide whether or not to store input cluster moments.
Definition
EGammaCookieCutClusterTool.h:105
DerivationFramework::EGammaCookieCutClusterTool::initialize
virtual StatusCode initialize() override final
Definition
EGammaCookieCutClusterTool.cxx:21
DerivationFramework::EGammaCookieCutClusterTool::m_outClusterContainerCellLinkKey
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_outClusterContainerCellLinkKey
Output cluster container cell links: should match output containter name.
Definition
EGammaCookieCutClusterTool.h:42
DerivationFramework::EGammaCookieCutClusterTool::m_fixCellWeights
Gaudi::Property< bool > m_fixCellWeights
if true, use cell weights = 1 for cookie-cut cluster
Definition
EGammaCookieCutClusterTool.h:97
DerivationFramework::EGammaCookieCutClusterTool::m_maxDelEtaCells
Gaudi::Property< int > m_maxDelEtaCells
Size of maximum search window in eta.
Definition
EGammaCookieCutClusterTool.h:73
DerivationFramework::EGammaCookieCutClusterTool::m_vecMName
Gaudi::Property< std::vector< std::string > > m_vecMName
Name of the cluster moments to be added.
Definition
EGammaCookieCutClusterTool.h:134
DerivationFramework::EGammaCookieCutClusterTool::m_SGKey_electrons_decorations
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
Definition
EGammaCookieCutClusterTool.h:65
DerivationFramework::EGammaCookieCutClusterTool::m_nDecor
unsigned short m_nDecor
Definition
EGammaCookieCutClusterTool.h:123
DerivationFramework::EGammaCookieCutClusterTool::m_SGKey_electrons
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
Definition
EGammaCookieCutClusterTool.h:57
DerivationFramework::EGammaCookieCutClusterTool::m_maxDelPhiCells
Gaudi::Property< int > m_maxDelPhiCells
Size of maximum search window in phi.
Definition
EGammaCookieCutClusterTool.h:81
DerivationFramework::EGammaCookieCutClusterTool::m_CookieCutPars
egammaClusterCookieCut::CookieCutPars m_CookieCutPars
Definition
EGammaCookieCutClusterTool.h:120
DerivationFramework::EGammaCookieCutClusterTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
EGammaCookieCutClusterTool.cxx:60
DerivationFramework::EGammaCookieCutClusterTool::m_outClusterContainerKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outClusterContainerKey
Output cluster container.
Definition
EGammaCookieCutClusterTool.h:34
DerivationFramework::EGammaCookieCutClusterTool::m_maxDelR
Gaudi::Property< float > m_maxDelR
Size of cone to cookie cut on FCal.
Definition
EGammaCookieCutClusterTool.h:89
DerivationFramework::EGammaCookieCutClusterTool::m_vecM
Gaudi::Property< std::vector< int > > m_vecM
The cluster moments to be added.
Definition
EGammaCookieCutClusterTool.h:126
DerivationFramework::EGammaCookieCutClusterTool::m_Seen
std::once_flag m_Seen
Definition
EGammaCookieCutClusterTool.h:122
DerivationFramework::EGammaCookieCutClusterTool::m_storeCookMom
Gaudi::Property< bool > m_storeCookMom
Decide whether or not to store cooked cluster moments.
Definition
EGammaCookieCutClusterTool.h:113
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
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
egammaClusterCookieCut.h
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
egammaClusterCookieCut::CookieCutPars
Definition
egammaClusterCookieCut.h:13
Generated on
for ATLAS Offline Software by
1.17.0