ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
16
18
19namespace DerivationFramework {
20
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
35 this,
36 "ClusterContainerName",
37 "ForwardElectronCookieCutClusters",
38 "Name of the output cookie cut cluster container"
39 };
40
43 this,
44 "ClusterContainerLinksName",
45 "ForwardElectronCookieCutClusters_links",
46 "Name of the output cluster container cell links container"
47 };
48
51 this,
52 "CaloDetDescrManager",
53 "CaloDetDescrManager",
54 "SG Key for CaloDetDescrManager in the Condition Store"
55 };
56
58 this,
59 "SGKey_electrons",
60 "ForwardElectrons",
61 "SG key of electron container"
62 };
63
66 this,
67 "SGKey_electrons_decorations",
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
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
Base class for cluster processing tools called from CaloClusterMaker.
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandleArray< CaloClusterCollectionProcessor > m_clusterCorrectionTools
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Calorimeter description.
Gaudi::Property< bool > m_storeOrigMom
Decide whether or not to store input cluster moments.
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_outClusterContainerCellLinkKey
Output cluster container cell links: should match output containter name.
Gaudi::Property< bool > m_fixCellWeights
if true, use cell weights = 1 for cookie-cut cluster
Gaudi::Property< int > m_maxDelEtaCells
Size of maximum search window in eta.
Gaudi::Property< std::vector< std::string > > m_vecMName
Name of the cluster moments to be added.
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
Gaudi::Property< int > m_maxDelPhiCells
Size of maximum search window in phi.
egammaClusterCookieCut::CookieCutPars m_CookieCutPars
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outClusterContainerKey
Output cluster container.
Gaudi::Property< float > m_maxDelR
Size of cone to cookie cut on FCal.
Gaudi::Property< std::vector< int > > m_vecM
The cluster moments to be added.
Gaudi::Property< bool > m_storeCookMom
Decide whether or not to store cooked cluster moments.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
THE reconstruction tool.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray