ATLAS Offline Software
CaloSwPhimod_g3.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_CALOSWPHIMOD_G3_H
6 #define CALOCLUSTERCORRECTION_CALOSWPHIMOD_G3_H
7 /********************************************************************
8 
9 NAME: CaloSwPhimod_g3.h
10 PACKAGE: offline/Calorimeter/CaloClusterCorrection
11 
12 AUTHORS: H. Ma, S. Rajagopalan
13 CREATED: Dec. 15, 1999
14 
15 PURPOSE: correction for the modulations with the position in phi
16  (Tuned using 50 GeV Et photons)
17  base class: CaloClusterCorrection
18  Correction tuned on G3 samples.
19 
20 Atrecon Orig: emreco/qphimod.F
21 
22 Updated: May 10, 2000 (SR, HM)
23  Migrated to Athena Framework from PASO
24 
25 Updated: Jan 5, 2001 (HM)
26  QA.
27 
28 Updated: May 5, 2004 (Sven Menke)
29  base class changed from algo to tool
30 
31 Updated: June, 2004 (sss)
32  Use ToolWithConstants to get correction constants.
33 
34 ********************************************************************/
35 
36 
38 #include "CaloConditions/Array.h"
39 #include <vector>
40 
42 {
43 public:
45  using CaloClusterCorrection::CaloClusterCorrection;
46 
47  // virtual method in CaloClusterCorrection
48  virtual void makeCorrection (const Context& myctx,
49  xAOD::CaloCluster* cluster) const override;
50 
51  private:
52  CaloSwPhimod_g3() = delete;
53  std::vector<float> qphmop (const Context& myctx,
54  float eta) const;
55 
56  Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
57 };
58 
59 #endif
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
Array.h
Simple multidimensional arrays.
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloSwPhimod_g3::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: CaloSwPhimod_g3.h:83
CaloSwPhimod_g3::CaloSwPhimod_g3
CaloSwPhimod_g3()=delete
CaloClusterCorrection.h
CaloSwPhimod_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition: CaloSwPhimod_g3.cxx:38
CaloSwPhimod_g3
Definition: CaloSwPhimod_g3.py:1
CaloSwPhimod_g3::qphmop
std::vector< float > qphmop(const Context &myctx, float eta) const
Definition: CaloSwPhimod_g3.cxx:71
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloClusterCorrection
Definition: CaloClusterCorrection.h:55
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition: ToolWithConstants.h:202