ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwTransitionRegionsCorr.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*/
11
12#ifndef CALOCLUSTERCORRECTION_CALOSWTRANSITIONREGIONSCORR_H
13#define CALOCLUSTERCORRECTION_CALOSWTRANSITIONREGIONSCORR_H
14
15
18
21{
22public:
25
26
27
49 virtual void makeTheCorrection (const Context& myctx,
50 xAOD::CaloCluster* cluster,
51 const CaloDetDescrElement* elt,
52 float eta,
53 float adj_eta,
54 float phi,
55 float adj_phi,
56 CaloSampling::CaloSample samp) const override;
57
58
59private:
62 { this, "etamin_TR00", "The range over which this correction is defined." };
64 { this, "etamax_TR00", "The range over which this correction is defined." };
66 { this, "etamin_TR08", "The range over which this correction is defined." };
68 { this, "etamax_TR08", "The range over which this correction is defined." };
69
72 { this, "correction", "The tabulated array of correction parameters." };
73
77 { this, "use_raw_eta", "If true, tabulated values are in terms of raw (local) eta." };
78};
79
80
81#endif // not CALOCLUSTERCORRECTION_CALOSWTRANSITIONREGIONSCORR_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< 2 > > m_correction
Calibration constant: The tabulated array of correction parameters.
Constant< float > m_etamin_TR00
Calibration constants: The range over which this correction is defined.
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< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.