ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwEta2b_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_CALOSWETA2B_G3_H
6#define CALOCLUSTERCORRECTION_CALOSWETA2B_G3_H
7/********************************************************************
8
9NAME: CaloSwEta2b_g3.h
10PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12AUTHORS: H. Ma, S. Rajagopalan
13CREATED: Dec. 15, 1999
14
15PURPOSE: S-shape corrections in sampling 2 as a function of eta
16 for barrel EM calorimeter.
17 (Tuned using 50 GeV Et photons)
18 base class: CaloClusterCorrection
19 Correction tuned on G3 samples.
20
21Atrecon Orig: emreco/qeta2b.age
22
23Updated: May 10, 2000 (SR, HM)
24 Migrated to Athena Framework from PASO
25
26Updated: Jan 5, 2001 (HM)
27 QA.
28
29Updated: May 5, 2004 (Sven Menke)
30 base class changed from algo to tool
31
32Updated: June, 2004 (sss)
33 Use ToolWithConstants to get correction constants.
34
35
36********************************************************************/
39
41{
42public:
43 // Inherit constructor.
44 using CaloClusterCorrection::CaloClusterCorrection;
45
46
47 // Virtual function 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
55private:
56
57 CaloSwEta2b_g3() = delete;
58
59 Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
60 Constant<CxxUtils::Array<2> > m_residuals { this, "residuals", "" };
61 Constant<CxxUtils::Array<1> > m_residual_bins { this, "residual_bins", "" };
62 Constant<int> m_correction_degree { this, "correction_degree", "" };
63 Constant<int> m_residual_eval_degree { this, "residual_eval_degree", ""};
64 Constant<int> m_residual_degree { this, "residual_degree", "" };
65 Constant<float> m_correction_coef { this, "correction_coef", "" };
66 Constant<float> m_residual_coef { this, "residual_coef", "" };
67 Constant<int> m_region { this, "region", "" };
68
69 static const float s_middle_layer_granularity;
70
71};
72
73#endif
Simple multidimensional arrays.
Constant< float > m_residual_coef
Constant< int > m_residual_eval_degree
Constant< CxxUtils::Array< 2 > > m_correction
Constant< int > m_region
Constant< int > m_residual_degree
Constant< CxxUtils::Array< 1 > > m_residual_bins
virtual const std::string & toolType() const override
Return the name of the type of this tool.
static const float s_middle_layer_granularity
Constant< int > m_correction_degree
Constant< float > m_correction_coef
Constant< CxxUtils::Array< 2 > > m_residuals
CaloSwEta2b_g3()=delete
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.