ATLAS Offline Software
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 
18 #ifndef CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
19 #define CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
20 
21 
23 #include "CaloConditions/Array.h"
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 
73 private:
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 
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
Array.h
Simple multidimensional arrays.
CaloScaleCluster
EM calorimeter containment correction.
Definition: CaloScaleCluster.h:37
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition: CaloClusterCorrectionCommon.cxx:408
CaloClusterCorrectionCommon.h
CaloScaleCluster::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Definition: CaloScaleCluster.h:76
CaloScaleCluster::makeTheCorrection
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.
Definition: CaloScaleCluster.cxx:41
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloClusterCorrectionCommon
Code common to cluster corrections.
Definition: CaloClusterCorrectionCommon.h:42
CaloScaleCluster::m_degree
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Definition: CaloScaleCluster.h:80
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition: ToolWithConstants.h:202
CaloScaleCluster::m_etamax
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.
Definition: CaloScaleCluster.h:84