ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
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
9
NAME: CaloSwEta2e_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 endcap EM calorimeter.
17
(Tuned using 100 GeV E photons)
18
base class: CaloClusterCorrection
19
Correction tuned on G3 samples.
20
21
Atrecon Orig: emreco/qeta2e.age
22
23
Updated: Feb 11, 2003 (MW)
24
new correction for DC1 data
25
26
Updated: May 5, 2004 (Sven Menke)
27
base class changed from algo to tool
28
29
Updated: June, 2004 (sss)
30
Use ToolWithConstants to get correction constants.
31
********************************************************************/
32
33
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
34
#include "
CaloConditions/Array.h
"
35
36
class
CaloSwEta2e_g3
:
public
CaloClusterCorrection
37
{
38
public
:
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
51
private
:
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
CaloClusterCorrection.h
Array.h
Simple multidimensional arrays.
CaloClusterCorrection
Definition
CaloClusterCorrection.h:55
CaloSwEta2e_g3::m_correction_degree
Constant< int > m_correction_degree
Definition
CaloSwEta2e_g3.h:55
CaloSwEta2e_g3::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition
CaloSwEta2e_g3.h:54
CaloSwEta2e_g3::CaloSwEta2e_g3
CaloSwEta2e_g3()=delete
CaloSwEta2e_g3::m_region
Constant< int > m_region
Definition
CaloSwEta2e_g3.h:56
CaloSwEta2e_g3::s_middle_layer_granularity
static const float s_middle_layer_granularity
Definition
CaloSwEta2e_g3.h:58
CaloSwEta2e_g3::toolType
virtual const std::string & toolType() const override
Definition
CaloSwEta2e_g3.cxx:75
CaloSwEta2e_g3::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition
CaloSwEta2e_g3.cxx:44
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