Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calorimeter
CaloClusterCorrection
src
CaloClusterUpdate.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCLUSTERCORRECTION_CALOCLUSTER_UPDATE_H
6
#define CALOCLUSTERCORRECTION_CALOCLUSTER_UPDATE_H
7
/********************************************************************
8
9
NAME: CaloClusterUpdate.h
10
PACKAGE: offline/LArCalorimeter/CaloclusterRec
11
12
AUTHORS: H. Ma, S. Rajagopalan
13
CREATED: Nov, 2000
14
15
PURPOSE: Recalculate the total energy, eta,phi of a cluster.
16
This should be called after all corrections to individual
17
samplings are done.
18
19
energy = Sum of energy in all sampling
20
eta = average of eta1 and eta2, weighted by energy and
21
relative resolution.
22
This needs to be tuned.
23
phi = phi of second sampling.
24
25
Base class: CaloClusterCorrection (tool)
26
27
Atrecon Orig: emreco/qetamod.F
28
29
Updated: May 10, 2000 (SR, HM)
30
Migrated to Athena Framework from PASO
31
32
Updated: Jan 5, 2001 (HM)
33
QA.
34
35
Updated: May 5, 2004 (Sven Menke)
36
base class changed from algo to tool
37
38
Updated: March, 2005 (Maarten Boonekamp)
39
moved to CaloClusterCorrection
40
41
42
********************************************************************/
43
44
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
45
46
class
CaloClusterUpdate
:
public
CaloClusterCorrection
47
{
48
49
public
:
50
// constructor
51
using
CaloClusterCorrection::CaloClusterCorrection;
52
53
// virtual method in CaloClusterCorrection
54
virtual
void
makeCorrection
(
const
Context
& myctx,
55
xAOD::CaloCluster
* cluster)
const override
;
56
57
private
:
58
59
// Weight more layer 1 in eta average
60
Gaudi::Property<float>
m_w1
61
{
this
,
"layer1_weight"
, 3,
"layer 1 additional weight in eta average"
};
62
63
// If true, the total cluster energy is set to the sum of all layer energies.
64
Constant<bool>
m_update_energy
65
{
this
,
"update_energy"
,
"Should cluster total energy be updated?"
};
66
};
67
68
69
#endif
CaloClusterUpdate::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition:
CaloClusterUpdate.cxx:48
CaloClusterUpdate::m_update_energy
Constant< bool > m_update_energy
Definition:
CaloClusterUpdate.h:100
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:59
CaloClusterCorrection.h
CaloClusterUpdate
Definition:
CaloClusterUpdate.h:47
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition:
ToolWithConstants.h:60
CaloClusterCorrection
Definition:
CaloClusterCorrection.h:55
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition:
ToolWithConstants.h:200
CaloClusterUpdate::m_w1
Gaudi::Property< float > m_w1
Definition:
CaloClusterUpdate.h:96
Generated on Tue Mar 25 2025 21:08:03 for ATLAS Offline Software by
1.8.18