ATLAS Offline Software
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 
14 #ifndef EGAMMATOOLS_EGAMMALARGECLUSTERMAKER_H
15 #define EGAMMATOOLS_EGAMMALARGECLUSTERMAKER_H
16 
18 
20 
23 
25 #include "GaudiKernel/ToolHandle.h"
26 
29 
30 class CaloCellContainer;
32 
34  : public AthAlgTool
35  , virtual public CaloClusterCollectionProcessor
36 {
37 public:
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 
52 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
egammaLargeClusterMaker::m_fwdEtThr
Gaudi::Property< double > m_fwdEtThr
Et cut on input forward clusters to produce large clusters.
Definition: egammaLargeClusterMaker.h:132
egammaLargeClusterMaker::m_isFWD
Gaudi::Property< bool > m_isFWD
do FWD cell
Definition: egammaLargeClusterMaker.h:77
egammaLargeClusterMaker::m_centEtThr
Gaudi::Property< double > m_centEtThr
Et cut on input central clusters to produce large clusters.
Definition: egammaLargeClusterMaker.h:97
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
egammaLargeClusterMaker::m_nphiFWD
Gaudi::Property< double > m_nphiFWD
Definition: egammaLargeClusterMaker.h:110
egammaLargeClusterMaker::m_cellsKey
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
Cell container.
Definition: egammaLargeClusterMaker.h:62
CaloClusterCollectionProcessor
Definition: CaloClusterCollectionProcessor.h:32
SG::ReadHandleKey< xAOD::CaloClusterContainer >
egammaLargeClusterMaker::initialize
virtual StatusCode initialize() override final
initialize method
Definition: egammaLargeClusterMaker.cxx:30
egammaLargeClusterMaker::m_addCellsFromOtherSamplings
Gaudi::Property< bool > m_addCellsFromOtherSamplings
Et cut on input forward clusters to produce large clusters.
Definition: egammaLargeClusterMaker.h:139
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
egammaLargeClusterMaker::m_nphi
Gaudi::Property< double > m_nphi
Definition: egammaLargeClusterMaker.h:89
CaloClusterFwd.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
egammaLargeClusterMaker::m_netaFWD
Gaudi::Property< double > m_netaFWD
Definition: egammaLargeClusterMaker.h:103
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
egammaLargeClusterMaker::m_drEM
Gaudi::Property< double > m_drEM
Definition: egammaLargeClusterMaker.h:124
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ReadCondHandleKey.h
egammaLargeClusterMaker::m_neta
Gaudi::Property< double > m_neta
Definition: egammaLargeClusterMaker.h:82
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
egammaLargeClusterMaker::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const override final
execute on container
Definition: egammaLargeClusterMaker.cxx:39
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
egammaLargeClusterMaker
Definition: egammaLargeClusterMaker.h:36
SG::ReadCondHandleKey< CaloDetDescrManager >
egammaLargeClusterMaker::m_drFWD
Gaudi::Property< double > m_drFWD
Definition: egammaLargeClusterMaker.h:117
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloClusterContainer.h
AthAlgTool
Definition: AthAlgTool.h:26
egammaLargeClusterMaker::m_inputClusterCollection
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClusterCollection
The name of the cluster container for electrons and photons.
Definition: egammaLargeClusterMaker.h:54
egammaLargeClusterMaker::egammaLargeClusterMaker
egammaLargeClusterMaker(const std::string &type, const std::string &name, const IInterface *parent)
@bried constructor
Definition: egammaLargeClusterMaker.cxx:19
egammaLargeClusterMaker::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition: egammaLargeClusterMaker.h:69