ATLAS Offline Software
Loading...
Searching...
No Matches
CaloScaleCluster.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/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
16
17
18#ifndef CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
19#define CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
20
21
24
25
37{
38 public:
41
42
63 virtual void makeTheCorrection (const Context& myctx,
64 xAOD::CaloCluster* cluster,
65 const CaloDetDescrElement* elt,
66 float eta,
67 float adj_eta,
68 float phi,
69 float adj_phi,
70 CaloSampling::CaloSample samp) const override;
71
72
73private:
76 { this, "correction", "Arrays of function parameters" };
77
80 { this, "degree", "Degree of the polynomial interpolation" };
81
84 { this, "etamax", "Maximum eta for which this correction is defined" };
85};
86
87
88#endif // not CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
89
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.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
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.