ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwEta1e_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_CALOSWETA1E_G3_H
6#define CALOCLUSTERCORRECTION_CALOSWETA1E_G3_H
7/********************************************************************
8
9NAME: CaloSwEta1e_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 for endcap
16 (Tuned using 100 GeV E photons)
17 base class: CaloClusterCorrection
18 Correction tuned on G3 samples.
19
20Atrecon Orig: emreco/qeta1e.age
21
22Updated: Feb 11, 2003 (MW)
23 new correction for DC1 data
24
25Updated: May 5, 2004 (Sven Menke)
26 base class changed from algo to tool
27
28Updated: June, 2004 (sss)
29 Use ToolWithConstants to get correction constants.
30********************************************************************/
31
32
35
37{
38
39 public:
40 // Inherit construtor.
41 using CaloClusterCorrection::CaloClusterCorrection;
42
43 // virtual method of CaloClusterCorrection
44 virtual void makeCorrection (const Context& myctx,
45 xAOD::CaloCluster* cluster) const override;
46
47 // Override tool type name to group all four together.
48 virtual const std::string& toolType() const override;
49
50
51private:
52
53 CaloSwEta1e_g3() = delete;
54
55 Constant<CxxUtils::Array<3> > m_correction { this, "correction", "" };
56 Constant<float> m_correction_coef { this, "correction_coef", "" };
57 Constant<int> m_correction_degree { this, "correction_degree", "" };
58 Constant<int> m_region { this, "region", "" };
59
60 static const float s_middle_layer_granularity;
61};
62
63
64#endif
Simple multidimensional arrays.
Constant< float > m_correction_coef
static const float s_middle_layer_granularity
Constant< int > m_correction_degree
Constant< CxxUtils::Array< 3 > > m_correction
Constant< int > m_region
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
virtual const std::string & toolType() const override
Return the name of the type of this tool.
CaloSwEta1e_g3()=delete
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.