ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: CaloSwEta1b_g3.h
10PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12AUTHORS: H. Ma, S. Rajagopalan
13CREATED: Dec. 15, 1999
14
15PURPOSE: 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
20Atrecon Orig: emreco/qeta1b.age
21
22Updated: May 10, 2000 (SR, HM)
23 Migrated to Athena Framework from PASO
24
25Updated: Jan 5, 2001 (HM)
26 QA.
27
28Updated: May 5, 2004 (Sven Menke)
29 base class changed from algo to tool
30
31Updated: June, 2004 (sss)
32 Use ToolWithConstants to get correction constants.
33
34********************************************************************/
35
36// INCLUDE HEADER FILES:
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
55private:
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
Simple multidimensional arrays.
Constant< CxxUtils::Array< 1 > > m_correction_bins
static const float s_strip_granularity
virtual const std::string & toolType() const override
Return the name of the type of this tool.
Constant< int > m_region
Constant< int > m_correction_degree
Constant< int > m_interp_degree
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Constant< float > m_correction_coef
Constant< CxxUtils::Array< 2 > > m_correction
CaloSwEta1b_g3()=delete
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.