ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwEtaoff_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*/
14
15#ifndef CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
16#define CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
17
20
21
23
24
72{
73public:
76
77
98 virtual void makeTheCorrection (const Context& myctx,
99 xAOD::CaloCluster* cluster,
100 const CaloDetDescrElement* elt,
101 float eta,
102 float adj_eta,
103 float phi,
104 float adj_phi,
105 CaloSampling::CaloSample samp) const override;
106
107private:
110 { this, "correction", "Tabulated arrays of function parameters." };
111
115 { this, "interp_barriers", "Allow breaking up the interpolation into independent regions." };
116
119 { this, "degree", "Degree of the polynomial interpolation." };
120
124 { this, "energies", "Table of energies at which the correction was tabulated." };
125
128 { this, "energy_degree", "Degree of the polynomial interpolation in energy." };
129};
130
131
132#endif // not CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
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.
Constant< CxxUtils::Array< 1 > > m_interp_barriers
Calibration constant: allow breaking up the interpolation into independent regions.
Constant< CxxUtils::Array< 3 > > m_correction
Calibration constant: tabulated arrays of function parameters.
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.
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
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.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.