ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwClcon_v2.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4*/
37
38
39#ifndef CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
40#define CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
41
42
45
46
70{
71 public:
72 // Inherit constructor.
74
75
96 virtual void makeTheCorrection (const Context& myctx,
97 xAOD::CaloCluster* cluster,
98 const CaloDetDescrElement* elt,
99 float eta,
100 float adj_eta,
101 float phi,
102 float adj_phi,
103 CaloSampling::CaloSample samp) const override;
104
105
106private:
109 { this, "etamax", "Maximum eta for which this correction is defined." };
110
113 { this, "degree", "Degree of the polynomial interpolation." };
114
117 { this, "correction", "Tabulated arrays of function parameters." };
118
122 { this, "energies", "Table of energies at which the correctionwas tabulated." };
123
126 { this, "energy_degree", "Degree of the polynomial interpolation in energy." };
127
131 { this, "use_raw_eta", "If true, tabulated values are in terms of raw (local) eta." };
132};
133
134
135#endif // not CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
136
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Simple multidimensional arrays.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
This class groups all DetDescr information related to a CaloCell.
EM calorimeter containment correction.
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
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: tabulated arrays of function parameters.
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.