ATLAS Offline Software
CaloSwClcon_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_CALOSWCLCON_G3_H
6 #define CALOCLUSTERCORRECTION_CALOSWCLCON_G3_H
7 /********************************************************************
8 
9 NAME: CaloSwClcon_g3.h
10 PACKAGE: offline/Calorimeter/CaloClusterCorrection
11 
12 AUTHORS: S. Rajagopalan
13 CREATED: Dec. 15, 1999
14 
15 PURPOSE: correction for the finite containment for a given cluster size
16  (Tuned using 50 GeV Et photons)
17  Base class: CaloClusterCorrection
18  Correction tuned on G3 samples.
19 
20 Atrecon Orig: emrecon/qclcon.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 // INCLUDE HEADER FILES:
38 #include "CaloConditions/Array.h"
39 
41 {
42 
43  public:
45  using CaloClusterCorrection::CaloClusterCorrection;
46 
47 
48  // CaloClusterCorrection virtual method
49  virtual void makeCorrection (const Context& myctx,
50  xAOD::CaloCluster* cluster) const override;
51 
53  virtual int version() const;
54 
55  private:
56 
57  CaloSwClcon_g3() = delete;
58 
59  // constants : etamin and etamax are the eta range covered
60  // by the fitted corrections => nothing to do with
61  // DetectorDescription.
62  Constant<float> m_etamin { this, "etamin", "" };
63  Constant<float> m_etamax { this, "etamax", "" };
64  Constant<CxxUtils::Array<1> > m_correction { this, "correction", "" };
65 };
66 
67 
68 #endif
69 
CaloSwClcon_g3::version
virtual int version() const
Currently at version==1.
Definition: CaloSwClcon_g3.cxx:70
CaloSwClcon_g3
Definition: CaloSwClcon_g3.py:1
Array.h
Simple multidimensional arrays.
CaloSwClcon_g3::m_correction
Constant< CxxUtils::Array< 1 > > m_correction
Definition: CaloSwClcon_g3.h:91
CaloSwClcon_g3::CaloSwClcon_g3
CaloSwClcon_g3()=delete
CaloSwClcon_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition: CaloSwClcon_g3.cxx:46
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterCorrection.h
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloClusterCorrection
Definition: CaloClusterCorrection.h:55
CaloSwClcon_g3::m_etamax
Constant< float > m_etamax
Definition: CaloSwClcon_g3.h:90
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition: ToolWithConstants.h:202
CaloSwClcon_g3::m_etamin
Constant< float > m_etamin
Definition: CaloSwClcon_g3.h:89