ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwEta2e_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_CALOSWETA2E_G3_H
6#define CALOCLUSTERCORRECTION_CALOSWETA2E_G3_H
7/********************************************************************
8
9NAME: CaloSwEta2e_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 endcap EM calorimeter.
17 (Tuned using 100 GeV E photons)
18 base class: CaloClusterCorrection
19 Correction tuned on G3 samples.
20
21Atrecon Orig: emreco/qeta2e.age
22
23Updated: Feb 11, 2003 (MW)
24 new correction for DC1 data
25
26Updated: May 5, 2004 (Sven Menke)
27 base class changed from algo to tool
28
29Updated: June, 2004 (sss)
30 Use ToolWithConstants to get correction constants.
31********************************************************************/
32
35
37{
38public:
40 using CaloClusterCorrection::CaloClusterCorrection;
41
42
43 // Virtual function in 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 CaloSwEta2e_g3() = delete;
53
54 Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
55 Constant<int> m_correction_degree { this, "correction_degree", "" };
56 Constant<int> m_region { this, "region", 1, "" };
57
58 static const float s_middle_layer_granularity;
59};
60
61
62#endif
Simple multidimensional arrays.
Constant< int > m_correction_degree
Constant< CxxUtils::Array< 2 > > m_correction
CaloSwEta2e_g3()=delete
Constant< int > m_region
static const float s_middle_layer_granularity
virtual const std::string & toolType() const override
Return the name of the type of this tool.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.