Loading [MathJax]/jax/input/TeX/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
Tracking
TrkValidation
TrkValHistUtils
src
HitResidualPlots.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef XAOD_ANALYSIS
6
#include "
TrkValHistUtils/HitResidualPlots.h
"
7
8
namespace
Trk
{
9
10
void
HitResidualPlots::init
() {
11
12
residuals
=
nullptr
;
13
pulls
=
nullptr
;
14
}
15
16
void
HitResidualPlots::initializePlots
(){
17
18
if
(!
m_sType
.empty())
m_sType
=
m_sType
+
"_"
;
19
residuals
=
Book1D
(
m_sType
+
"residuals"
,
m_sType
+
" Hit residuals;residual;Entries"
,100,-20.,20.);
20
pulls
=
Book1D
(
m_sType
+
"pulls"
,
m_sType
+
" Hit pulls;pull;Entries"
,100,-20.,20.);
21
22
}
23
24
void
HitResidualPlots::fill
(
const
Trk::ResidualPull
& resPull ) {
25
26
const
float
residual
= resPull.
residual
().front();
27
const
float
pull
= resPull.
pull
().front();
28
29
residuals
->Fill(
residual
);
30
pulls
->Fill(
pull
);
31
32
}
33
34
}
//close namespace
35
#endif // not XAOD_ANALYSIS
Trk::HitResidualPlots::init
void init()
Definition:
HitResidualPlots.cxx:10
ClusterSeg::residual
@ residual
Definition:
ClusterNtuple.h:20
Trk::ResidualPull::pull
const std::vector< double > & pull() const
return pull vector
Trk::ResidualPull
This class containes residual and pull information.
Definition:
ResidualPull.h:46
Trk::HitResidualPlots::initializePlots
void initializePlots()
Definition:
HitResidualPlots.cxx:16
PlotBase::Book1D
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
Definition:
PlotBase.cxx:94
Trk::HitResidualPlots::residuals
TH1 * residuals
Definition:
HitResidualPlots.h:20
Trk::HitResidualPlots::m_sType
std::string m_sType
Definition:
HitResidualPlots.h:24
python.StandardJetMods.pull
pull
Definition:
StandardJetMods.py:282
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::HitResidualPlots::fill
void fill(const Trk::ResidualPull &resPull)
Definition:
HitResidualPlots.cxx:24
Trk::HitResidualPlots::pulls
TH1 * pulls
Definition:
HitResidualPlots.h:21
HitResidualPlots.h
Trk::ResidualPull::residual
const std::vector< double > & residual() const
return residual vector
Generated on Mon Mar 31 2025 21:11:32 for ATLAS Offline Software by
1.8.18