ATLAS Offline Software
CaloSwEta1b_g3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOCLUSTERCORRECTION_CALOSWETA1B_G3_H
6 #define CALOCLUSTERCORRECTION_CALOSWETA1B_G3_H
7 /********************************************************************
8 
9 NAME: CaloSwEta1b_g3.h
10 PACKAGE: offline/Calorimeter/CaloClusterCorrection
11 
12 AUTHORS: H. Ma, S. Rajagopalan
13 CREATED: Dec. 15, 1999
14 
15 PURPOSE: S-shape corrections in sampling 1 as a function of eta
16  (Tuned using 50 GeV Et photons)
17  base class: CaloClusterCorrection
18  Correction tuned on G3 samples.
19 
20 Atrecon Orig: emreco/qeta1b.age
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 // INCLUDE HEADER FILES:
38 #include "CaloConditions/Array.h"
39 
41 {
42 
43  public:
44  // Inherit constructor.
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  // Override tool type name to group all four together.
52  virtual const std::string& toolType() const override;
53 
54 
55 private:
56 
57  CaloSwEta1b_g3() = delete;
58  // parameters
59  Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
60  Constant<CxxUtils::Array<1> > m_correction_bins { this, "correction_bins",""};
61  Constant<int> m_correction_degree {this, "correction_degree", ""};
62  Constant<int> m_interp_degree { this, "interp_degree", "" };
63  Constant<float> m_correction_coef { this, "correction_coef", "" };
64  Constant<int> m_region { this, "region", "" };
65 
66  static const float s_strip_granularity;
67 
68 };
69 
70 
71 #endif
CaloSwEta1b_g3::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: CaloSwEta1b_g3.h:86
CaloSwEta1b_g3::m_interp_degree
Constant< int > m_interp_degree
Definition: CaloSwEta1b_g3.h:89
CaloSwEta1b_g3::m_region
Constant< int > m_region
Definition: CaloSwEta1b_g3.h:91
Array.h
Simple multidimensional arrays.
CaloSwEta1b_g3::toolType
virtual const std::string & toolType() const override
Definition: CaloSwEta1b_g3.cxx:82
CaloSwEta1b_g3
Definition: CaloSwEta1b_g3.h:41
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloSwEta1b_g3::s_strip_granularity
static const float s_strip_granularity
Definition: CaloSwEta1b_g3.h:93
CaloSwEta1b_g3::CaloSwEta1b_g3
CaloSwEta1b_g3()=delete
CaloSwEta1b_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition: CaloSwEta1b_g3.cxx:45
CaloClusterCorrection.h
CaloSwEta1b_g3::m_correction_bins
Constant< CxxUtils::Array< 1 > > m_correction_bins
Definition: CaloSwEta1b_g3.h:87
CaloSwEta1b_g3::m_correction_coef
Constant< float > m_correction_coef
Definition: CaloSwEta1b_g3.h:90
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
CaloSwEta1b_g3::m_correction_degree
Constant< int > m_correction_degree
Definition: CaloSwEta1b_g3.h:88