ATLAS Offline Software
Loading...
Searching...
No Matches
egammaLargeClusterMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
13
14#ifndef EGAMMATOOLS_EGAMMALARGECLUSTERMAKER_H
15#define EGAMMATOOLS_EGAMMALARGECLUSTERMAKER_H
16
18
20
23
25#include "GaudiKernel/ToolHandle.h"
26
29
32
34 : public AthAlgTool
35 , virtual public CaloClusterCollectionProcessor
36{
37public:
39 egammaLargeClusterMaker(const std::string& type,
40 const std::string& name,
41 const IInterface* parent);
42
44
46 virtual StatusCode initialize() override final;
48 virtual StatusCode execute(
49 const EventContext& ctx,
50 xAOD::CaloClusterContainer* collection) const override final;
51
52private:
55 this,
56 "InputClusterCollection",
57 "egammaClusters",
58 "The name of the cluster container for electrons and photons"
59 };
60
63 this,
64 "CellsName",
65 "AllCalo",
66 "Names of containers which contain cells"
67 };
68
70 this,
71 "CaloDetDescrManager",
72 "CaloDetDescrManager",
73 "SG Key for CaloDetDescrManager in the Condition Store"
74 };
75
77 Gaudi::Property<bool> m_isFWD{ this,
78 "doFWDelesurraundingWindows",
79 false,
80 "Save FWD electron surraunding windows" };
81
82 Gaudi::Property<double> m_neta{
83 this,
84 "Neta",
85 7.0,
86 "Number of eta cells in each sampling in which to look for hottest cell"
87 };
88
89 Gaudi::Property<double> m_nphi{
90 this,
91 "Nphi",
92 7.0,
93 "Number of phi cell in each sampling in which to look for hottest cell"
94 };
95
97 Gaudi::Property<double> m_centEtThr{
98 this,
99 "CentralEtThreshold",
100 3000.,
101 "Value of Et cut on input central cluster to produce large cluster" };
102
103 Gaudi::Property<double> m_netaFWD{
104 this,
105 "NetaFWD",
106 6.0,
107 "Number of eta cells in each sampling in which to look for hottest cell"
108 };
109
110 Gaudi::Property<double> m_nphiFWD{
111 this,
112 "NphiFWD",
113 6.0,
114 "Number of phi cell in each sampling in which to look for hottest cell"
115 };
116
117 Gaudi::Property<double> m_drFWD{
118 this,
119 "deltaR_FCAL",
120 0.4,
121 "Cone size to collec cell around hottest-cell FCAL"
122 };
123
124 Gaudi::Property<double> m_drEM{
125 this,
126 "deltaR_EM",
127 0.3,
128 "Cone size to eventually collect EME1 cells around hottest-cell"
129 };
130
132 Gaudi::Property<double> m_fwdEtThr{
133 this,
134 "ForwardEtThreshold",
135 5000.,
136 "Value of Et cut on input forward cluster to produce large cluster" };
137
139 Gaudi::Property<bool> m_addCellsFromOtherSamplings{
140 this,
141 "AddCellsFromOtherSamplings",
142 true,
143 "Keep all cells from relevant samplings or just from the max sampling" };
144
145};
146
147#endif // EGAMMATOOLS_EMCLUSTERTOOL_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.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override final
initialize method
Gaudi::Property< double > m_neta
Gaudi::Property< double > m_nphi
Gaudi::Property< bool > m_addCellsFromOtherSamplings
Et cut on input forward clusters to produce large clusters.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Gaudi::Property< double > m_netaFWD
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const override final
execute on container
Gaudi::Property< double > m_nphiFWD
Gaudi::Property< double > m_centEtThr
Et cut on input central clusters to produce large clusters.
Gaudi::Property< double > m_fwdEtThr
Et cut on input forward clusters to produce large clusters.
egammaLargeClusterMaker(const std::string &type, const std::string &name, const IInterface *parent)
@bried constructor
Gaudi::Property< double > m_drEM
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterCollection
The name of the cluster container for electrons and photons.
Gaudi::Property< double > m_drFWD
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
Cell container.
Gaudi::Property< bool > m_isFWD
do FWD cell
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.