Loading [MathJax]/jax/output/SVG/config.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
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSLateralShapeParametrizationHitNumberFromE.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 TFCSLateralShapeParametrizationHitNumberFromE_h
6
#define TFCSLateralShapeParametrizationHitNumberFromE_h
7
8
#include "
ISF_FastCaloSimEvent/TFCSLateralShapeParametrizationHitBase.h
"
9
10
#include "TH2.h"
11
12
class
TFCSLateralShapeParametrizationHitNumberFromE
13
:
public
TFCSLateralShapeParametrizationHitBase
{
14
public
:
27
TFCSLateralShapeParametrizationHitNumberFromE
(
const
char
*
name
=
nullptr
,
28
const
char
*
title
=
nullptr
,
29
double
stochastic = 0.1,
30
double
constant
= 0);
31
32
TFCSLateralShapeParametrizationHitNumberFromE
(
const
char
*
name
,
33
const
char
*
title
,
34
double
stochastic,
35
double
stochastic_hadron,
36
double
constant
);
37
40
double
41
get_sigma2_fluctuation
(
TFCSSimulationState
&simulstate,
42
const
TFCSTruthState
*truth,
43
const
TFCSExtrapolationState
*
extrapol
)
const override
;
44
45
int
get_number_of_hits
(
TFCSSimulationState
&simulstate,
46
const
TFCSTruthState
*truth,
47
const
TFCSExtrapolationState
*
extrapol
)
const override
;
48
49
virtual
bool
operator==
(
const
TFCSParametrizationBase
&
ref
)
const override
;
50
51
void
Print
(Option_t *option =
""
)
const override
;
52
53
protected
:
54
bool
compare
(
const
TFCSParametrizationBase
&
ref
)
const
;
55
56
private
:
57
// Information for the fluctuation terms
58
// The variation is calculated as:
59
// sigma^2=[m_stochastic/sqrt(E/GeV)]^2 + [m_constant +
60
// m_stochastic_hadron/sqrt(E/GeV)]^2
61
double
m_stochastic
;
62
double
m_stochastic_hadron
;
63
double
m_constant
;
64
65
ClassDefOverride(
TFCSLateralShapeParametrizationHitNumberFromE
,
66
2)
// TFCSLateralShapeParametrizationHitNumberFromE
67
};
68
69
#endif
TFCSLateralShapeParametrizationHitNumberFromE
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.h:13
TFCSLateralShapeParametrizationHitNumberFromE::operator==
virtual bool operator==(const TFCSParametrizationBase &ref) const override
The == operator compares the content of instances.
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:86
TFCSLateralShapeParametrizationHitNumberFromE::m_stochastic
double m_stochastic
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.h:61
TFCSLateralShapeParametrizationHitNumberFromE::m_constant
double m_constant
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.h:63
TFCSExtrapolationState
Definition:
TFCSExtrapolationState.h:13
RunActsMaterialValidation.extrapol
extrapol
Definition:
RunActsMaterialValidation.py:91
TFCSLateralShapeParametrizationHitNumberFromE::get_sigma2_fluctuation
double get_sigma2_fluctuation(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Give the effective size sigma^2 of the fluctuations from the stochastic and constant term.
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:39
TFCSLateralShapeParametrizationHitNumberFromE::compare
bool compare(const TFCSParametrizationBase &ref) const
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:99
TFCSLateralShapeParametrizationHitBase
Definition:
TFCSLateralShapeParametrizationHitBase.h:13
TFCSLateralShapeParametrizationHitNumberFromE::m_stochastic_hadron
double m_stochastic_hadron
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.h:62
TFCSParametrizationBase
Definition:
TFCSParametrizationBase.h:46
TFCSLateralShapeParametrizationHitBase.h
covarianceTool.title
title
Definition:
covarianceTool.py:542
dumpNswErrorDb.constant
def constant
Definition:
dumpNswErrorDb.py:28
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
TFCSLateralShapeParametrizationHitNumberFromE::get_number_of_hits
int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Call get_number_of_hits() only once per shower simulation, as it could be calculated with random numb...
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:71
ref
const boost::regex ref(r_ef)
TFCSLateralShapeParametrizationHitNumberFromE::Print
void Print(Option_t *option="") const override
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:123
TFCSTruthState
Definition:
TFCSTruthState.h:13
TFCSSimulationState
Definition:
TFCSSimulationState.h:32
TFCSLateralShapeParametrizationHitNumberFromE::TFCSLateralShapeParametrizationHitNumberFromE
TFCSLateralShapeParametrizationHitNumberFromE(const char *name=nullptr, const char *title=nullptr, double stochastic=0.1, double constant=0)
LAr: 10.1%/sqrt(E) stochastic=0.101; constant=0.002; HadEC: 21.4%/sqrt(E) stochastic=0....
Definition:
TFCSLateralShapeParametrizationHitNumberFromE.cxx:18
Generated on Sat Apr 26 2025 21:20:00 for ATLAS Offline Software by
1.8.18