ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
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
9
NAME: CaloSwEta2b_g3.h
10
PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12
AUTHORS: H. Ma, S. Rajagopalan
13
CREATED: Dec. 15, 1999
14
15
PURPOSE: 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
21
Atrecon Orig: emreco/qeta2b.age
22
23
Updated: May 10, 2000 (SR, HM)
24
Migrated to Athena Framework from PASO
25
26
Updated: Jan 5, 2001 (HM)
27
QA.
28
29
Updated: May 5, 2004 (Sven Menke)
30
base class changed from algo to tool
31
32
Updated: June, 2004 (sss)
33
Use ToolWithConstants to get correction constants.
34
35
36
********************************************************************/
37
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
38
#include "
CaloConditions/Array.h
"
39
40
class
CaloSwEta2b_g3
:
public
CaloClusterCorrection
41
{
42
public
:
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
55
private
:
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
CaloClusterCorrection.h
Array.h
Simple multidimensional arrays.
CaloClusterCorrection
Definition
CaloClusterCorrection.h:55
CaloSwEta2b_g3::m_residual_coef
Constant< float > m_residual_coef
Definition
CaloSwEta2b_g3.h:66
CaloSwEta2b_g3::m_residual_eval_degree
Constant< int > m_residual_eval_degree
Definition
CaloSwEta2b_g3.h:63
CaloSwEta2b_g3::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition
CaloSwEta2b_g3.h:59
CaloSwEta2b_g3::m_region
Constant< int > m_region
Definition
CaloSwEta2b_g3.h:67
CaloSwEta2b_g3::m_residual_degree
Constant< int > m_residual_degree
Definition
CaloSwEta2b_g3.h:64
CaloSwEta2b_g3::m_residual_bins
Constant< CxxUtils::Array< 1 > > m_residual_bins
Definition
CaloSwEta2b_g3.h:61
CaloSwEta2b_g3::toolType
virtual const std::string & toolType() const override
Definition
CaloSwEta2b_g3.cxx:109
CaloSwEta2b_g3::s_middle_layer_granularity
static const float s_middle_layer_granularity
Definition
CaloSwEta2b_g3.h:69
CaloSwEta2b_g3::m_correction_degree
Constant< int > m_correction_degree
Definition
CaloSwEta2b_g3.h:62
CaloSwEta2b_g3::m_correction_coef
Constant< float > m_correction_coef
Definition
CaloSwEta2b_g3.h:65
CaloSwEta2b_g3::m_residuals
Constant< CxxUtils::Array< 2 > > m_residuals
Definition
CaloSwEta2b_g3.h:60
CaloSwEta2b_g3::CaloSwEta2b_g3
CaloSwEta2b_g3()=delete
CaloSwEta2b_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition
CaloSwEta2b_g3.cxx:49
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
Generated on
for ATLAS Offline Software by
1.17.0