ATLAS Offline Software
CaloPhiParabola.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOCLUSTERCORRECTION_CALOPHIPARABOLA_H
6 #define CALOCLUSTERCORRECTION_CALOPHIPARABOLA_H
7 /********************************************************************
8 
9 NAME: CaloPhiParabola.h
10 PACKAGE: offline/Calorimter/CaloClusterCorrection
11 
12 AUTHORS: M. Aharrouche
13 CREATED: Jan 25, 2006
14 
15 PURPOSE: corrects for the Phi versus Ecluster modulations
16 
17 ********************************************************************/
19 #include "CaloConditions/Array.h"
20 
21 
22 
25 {
26 public:
29 
30  virtual void makeTheCorrection (const Context& myctx,
31  xAOD::CaloCluster* cluster,
32  const CaloDetDescrElement* elt,
33  float eta,
34  float adj_eta,
35  float phi,
36  float adj_phi,
37  CaloSampling::CaloSample samp) const override;
38 
39 private:
40  Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
41  Constant<CxxUtils::Array<1> > m_energies { this, "energies", "" };
42  Constant<int> m_degree { this, "degree", "" };
43 };
44 
45 
46 #endif
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
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.
CaloPhiParabola
Definition: CaloPhiParabola.h:25
CaloPhiParabola::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: CaloPhiParabola.h:50
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CaloPhiParabola::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: CaloPhiParabola.cxx:26
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition: CaloClusterCorrectionCommon.cxx:408
CaloClusterCorrectionCommon.h
CaloPhiParabola::m_degree
Constant< int > m_degree
Definition: CaloPhiParabola.h:52
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloClusterCorrectionCommon
Code common to cluster corrections.
Definition: CaloClusterCorrectionCommon.h:42
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition: ToolWithConstants.h:202
CaloPhiParabola::m_energies
Constant< CxxUtils::Array< 1 > > m_energies
Definition: CaloPhiParabola.h:51