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
MuonSpectrometer
MuonCalib
MdtCalib
MdtCalibRt
MdtCalibRt
AdaptiveResidualSmoothing.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6
// 29.07.2008, AUTHOR: OLIVER KORTNER
7
// Modified: 20.03.2009 by O. Kortner, additional method ,,performSmoothing''
8
// with better performance than the old method added;
9
// softer chi^2 cuts in addResidualsFromSegment.
10
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11
12
#ifndef MuonCalib_AdaptiveResidualSmoothingH
13
#define MuonCalib_AdaptiveResidualSmoothingH
14
15
//:::::::::::::::::::::::::::::::::::::
16
//:: CLASS AdaptiveResidualSmoothing ::
17
//:::::::::::::::::::::::::::::::::::::
18
30
31
//::::::::::::::::::
32
//:: HEADER FILES ::
33
//::::::::::::::::::
34
35
// STL //
36
#include <vector>
37
38
// MuonCalib //
39
#include "
MdtCalibData/RtRelationLookUp.h
"
40
#include "
MdtCalibFitters/CurvedPatRec.h
"
41
#include "
MdtCalibFitters/StraightPatRec.h
"
42
#include "
MuonCalibMath/DataPoint.h
"
43
44
namespace
MuonCalib
{
45
46
class
IRtRelation;
47
48
class
AdaptiveResidualSmoothing
{
49
public
:
50
// Constructor //
51
AdaptiveResidualSmoothing
();
53
54
// Methods //
55
void
clear
();
57
void
addResidual
(
const
double
radius
,
const
double
residual
);
59
bool
addResidualsFromSegment
(
MuonCalibSegment
& seg,
bool
curved,
double
road_width);
68
RtRelationLookUp
performSmoothing
(
const
IRtRelation
& rt_rel,
unsigned
int
nb_entries_per_bin,
bool
fix_t_min,
bool
fix_t_max);
76
RtRelationLookUp
performSmoothing
(
const
IRtRelation
& rt_rel,
const
bool
& fix_t_min,
const
bool
& fix_t_max);
82
83
private
:
84
std::vector<DataPoint>
m_residual_point
;
// vector of residual points
85
StraightPatRec
m_sfitter
;
// straight-line fitter
86
CurvedPatRec
m_cfitter
;
// curved-line fitter
87
double
t_from_r
(
const
IRtRelation
& rt_rel,
const
double
r
);
88
// get t(r) for the given r-t relationship,
89
// the method is auxiliary and not optimized;
90
// it will disappear when the t(r) will be
91
// available in the MuonCalib framework
92
};
93
94
}
// namespace MuonCalib
95
96
#endif
beamspotman.r
def r
Definition:
beamspotman.py:676
DataPoint.h
CurvedPatRec.h
ClusterSeg::residual
@ residual
Definition:
ClusterNtuple.h:20
RtRelationLookUp.h
MuonCalib::MuonCalibSegment
Definition:
MuonCalibSegment.h:39
MuonCalib::RtRelationLookUp
Equidistant look up table for rt-relations with the time as key.
Definition:
RtRelationLookUp.h:23
StraightPatRec.h
MuonCalib::CurvedPatRec
Definition:
CurvedPatRec.h:35
MuonCalib::AdaptiveResidualSmoothing::addResidualsFromSegment
bool addResidualsFromSegment(MuonCalibSegment &seg, bool curved, double road_width)
reconstruct the given segment and store the residuals; if curved is true a curved segment fit is perf...
Definition:
AdaptiveResidualSmoothing.cxx:39
MuonCalib::AdaptiveResidualSmoothing::m_cfitter
CurvedPatRec m_cfitter
Definition:
AdaptiveResidualSmoothing.h:86
MuonCalib::AdaptiveResidualSmoothing::m_residual_point
std::vector< DataPoint > m_residual_point
Definition:
AdaptiveResidualSmoothing.h:84
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
MuonCalib::AdaptiveResidualSmoothing
Definition:
AdaptiveResidualSmoothing.h:48
MuonCalib::AdaptiveResidualSmoothing::t_from_r
double t_from_r(const IRtRelation &rt_rel, const double r)
Definition:
AdaptiveResidualSmoothing.cxx:298
MuonCalib::AdaptiveResidualSmoothing::addResidual
void addResidual(const double radius, const double residual)
add the residual at the given radius
Definition:
AdaptiveResidualSmoothing.cxx:27
MuonCalib::AdaptiveResidualSmoothing::clear
void clear()
clear the memory of the class
Definition:
AdaptiveResidualSmoothing.cxx:26
ParticleGun_SamplingFraction.radius
radius
Definition:
ParticleGun_SamplingFraction.py:96
MuonCalib::AdaptiveResidualSmoothing::performSmoothing
RtRelationLookUp performSmoothing(const IRtRelation &rt_rel, unsigned int nb_entries_per_bin, bool fix_t_min, bool fix_t_max)
use the stored residuals to improve the given r-t relationship to give smoother residuals; the user h...
Definition:
AdaptiveResidualSmoothing.cxx:95
MuonCalib::AdaptiveResidualSmoothing::AdaptiveResidualSmoothing
AdaptiveResidualSmoothing()
Default constructor.
Definition:
AdaptiveResidualSmoothing.cxx:25
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition:
IRtRelation.h:19
MuonCalib::StraightPatRec
Definition:
StraightPatRec.h:24
MuonCalib::AdaptiveResidualSmoothing::m_sfitter
StraightPatRec m_sfitter
Definition:
AdaptiveResidualSmoothing.h:85
Generated on Fri Mar 28 2025 21:06:48 for ATLAS Offline Software by
1.8.18