ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoEMGap.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5/*
6 * AUTHORS: N. Kerschen
7 * CREATED: Nov 2006
8 *
9 * PURPOSE: Correction for the barrel-endcap cracks
10 * for topoEM cluster (based on CaloSwGap_v2.h)
11 *
12 */
13
14
15#ifndef CALOCLUSTERCORRECTION_CALOTOPOEMGAP_H
16#define CALOCLUSTERCORRECTION_CALOTOPOEMGAP_H
17
18
22
23
25
26
29{
30public:
33
34
38 virtual StatusCode initialize() override;
39
40
61 virtual void makeTheCorrection (const Context& myctx,
62 xAOD::CaloCluster* cluster,
63 const CaloDetDescrElement* elt,
64 float eta,
65 float adj_eta,
66 float phi,
67 float adj_phi,
68 CaloSampling::CaloSample samp) const override;
69
70
71private:
74 { this, "etamin_crack", "Lower edge of range over which this correction is defined." };
76 { this, "etamax_crack", "Upper edge of range over which this correction is defined." };
77
80 { this, "degree", "The interpolation degree." };
81
85 { this, "correction", "The tabulated array of correction weights, A and alpha." };
86
90 { this, "use_raw_eta", "If true, tabulated values are in terms of raw (local) eta." };
91
93 { this, "Cells", "AllCalo", "SG key for calorimeter cells" };
94};
95
96
97#endif // not CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Simple multidimensional arrays.
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
This class groups all DetDescr information related to a CaloCell.
SG::ReadHandleKey< CaloCellContainer > m_cells
Constant< int > m_degree
Calibration constant: The interpolation degree.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Constant< float > m_etamax_crack
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
virtual void makeTheCorrection(const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const override
Virtual function for the correction-specific code.
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: The tabulated array of correction weights, A and alpha.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.