Main Page
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
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
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
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
_
a
d
e
f
l
m
o
p
s
t
u
v
Related 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
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
TrackingTools
PatternTools
interface
TrajectoryMeasurement.h
Go to the documentation of this file.
1
#ifndef _TRACKER_TRAJECTORYMEASUREMENT_H_
2
#define _TRACKER_TRAJECTORYMEASUREMENT_H_
3
4
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
5
6
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
7
#include <algorithm>
8
9
class
DetLayer
;
10
25
class
TrajectoryMeasurement
{
26
public
:
27
using
RecHitPointer
=
TrackingRecHit::RecHitPointer
;
28
using
ConstRecHitPointer
=
TrackingRecHit::ConstRecHitPointer
;
29
30
TrajectoryMeasurement
() {}
31
33
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdTrajectoryStateOnSurface,
ConstRecHitPointer
aRecHit)
34
:
theFwdPredictedState
(fwdTrajectoryStateOnSurface),
35
theUpdatedState
(fwdTrajectoryStateOnSurface),
36
theRecHit
(aRecHit),
37
theLayer
(nullptr),
38
theEstimate
(0) {}
39
41
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdTrajectoryStateOnSurface,
42
ConstRecHitPointer
aRecHit,
43
float
aEstimate)
44
:
theFwdPredictedState
(fwdTrajectoryStateOnSurface),
45
theUpdatedState
(fwdTrajectoryStateOnSurface),
46
theRecHit
(aRecHit),
47
theLayer
(nullptr),
48
theEstimate
(aEstimate) {}
49
50
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdTrajectoryStateOnSurface,
51
ConstRecHitPointer
aRecHit,
52
float
aEstimate,
53
const
DetLayer
*
layer
)
54
:
theFwdPredictedState
(
std
::
move
(fwdTrajectoryStateOnSurface)),
55
theUpdatedState
(
theFwdPredictedState
),
56
theRecHit
(
std
::
move
(aRecHit)),
57
theLayer
(
layer
),
58
theEstimate
(aEstimate) {}
59
61
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
62
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
63
ConstRecHitPointer
aRecHit)
64
:
theFwdPredictedState
(
std
::
move
(fwdPredTrajectoryStateOnSurface)),
65
theUpdatedState
(
std
::
move
(uTrajectoryStateOnSurface)),
66
theRecHit
(
std
::
move
(aRecHit)),
67
theLayer
(nullptr),
68
theEstimate
(0) {}
69
71
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
72
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
73
ConstRecHitPointer
aRecHit,
74
float
aEstimate)
75
:
theFwdPredictedState
(
std
::
move
(fwdPredTrajectoryStateOnSurface)),
76
theUpdatedState
(
std
::
move
(uTrajectoryStateOnSurface)),
77
theRecHit
(
std
::
move
(aRecHit)),
78
theLayer
(nullptr),
79
theEstimate
(aEstimate) {}
80
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
81
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
82
ConstRecHitPointer
aRecHit,
83
float
aEstimate,
84
const
DetLayer
*
layer
)
85
:
theFwdPredictedState
(
std
::
move
(fwdPredTrajectoryStateOnSurface)),
86
theUpdatedState
(
std
::
move
(uTrajectoryStateOnSurface)),
87
theRecHit
(
std
::
move
(aRecHit)),
88
theLayer
(
layer
),
89
theEstimate
(aEstimate) {}
93
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
94
TrajectoryStateOnSurface
bwdPredTrajectoryStateOnSurface,
95
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
96
ConstRecHitPointer
aRecHit)
97
:
theFwdPredictedState
(fwdPredTrajectoryStateOnSurface),
98
theBwdPredictedState
(bwdPredTrajectoryStateOnSurface),
99
theUpdatedState
(uTrajectoryStateOnSurface),
100
theRecHit
(aRecHit),
101
theLayer
(nullptr),
102
theEstimate
(0) {}
103
107
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
108
TrajectoryStateOnSurface
bwdPredTrajectoryStateOnSurface,
109
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
110
ConstRecHitPointer
aRecHit,
111
float
aEstimate)
112
:
theFwdPredictedState
(fwdPredTrajectoryStateOnSurface),
113
theBwdPredictedState
(bwdPredTrajectoryStateOnSurface),
114
theUpdatedState
(uTrajectoryStateOnSurface),
115
theRecHit
(aRecHit),
116
theLayer
(nullptr),
117
theEstimate
(aEstimate) {}
118
119
TrajectoryMeasurement
(
TrajectoryStateOnSurface
fwdPredTrajectoryStateOnSurface,
120
TrajectoryStateOnSurface
bwdPredTrajectoryStateOnSurface,
121
TrajectoryStateOnSurface
uTrajectoryStateOnSurface,
122
ConstRecHitPointer
aRecHit,
123
float
aEstimate,
124
const
DetLayer
*
layer
)
125
:
theFwdPredictedState
(fwdPredTrajectoryStateOnSurface),
126
theBwdPredictedState
(bwdPredTrajectoryStateOnSurface),
127
theUpdatedState
(uTrajectoryStateOnSurface),
128
theRecHit
(aRecHit),
129
theLayer
(
layer
),
130
theEstimate
(aEstimate) {}
131
132
TrajectoryMeasurement
(
TrajectoryMeasurement
const
& rh)
133
:
theFwdPredictedState
(rh.
theFwdPredictedState
),
134
theBwdPredictedState
(rh.
theBwdPredictedState
),
135
theUpdatedState
(rh.
theUpdatedState
),
136
theRecHit
(rh.
theRecHit
),
137
theLayer
(rh.
theLayer
),
138
theEstimate
(rh.
theEstimate
) {}
139
140
TrajectoryMeasurement
&
operator=
(
TrajectoryMeasurement
const
& rh) {
141
theFwdPredictedState
= rh.
theFwdPredictedState
;
142
theBwdPredictedState
= rh.
theBwdPredictedState
;
143
theUpdatedState
= rh.
theUpdatedState
;
144
theRecHit
= rh.
theRecHit
;
145
theEstimate
= rh.
theEstimate
;
146
theLayer
= rh.
theLayer
;
147
148
return
*
this
;
149
}
150
151
TrajectoryMeasurement
(
TrajectoryMeasurement
&& rh) noexcept
152
:
theFwdPredictedState
(
std::move
(rh.theFwdPredictedState)),
153
theBwdPredictedState
(
std::move
(rh.theBwdPredictedState)),
154
theUpdatedState
(
std::move
(rh.theUpdatedState)),
155
theRecHit
(
std::move
(rh.theRecHit)),
156
theLayer
(rh.theLayer),
157
theEstimate
(rh.theEstimate) {}
158
159
TrajectoryMeasurement
&
operator=
(
TrajectoryMeasurement
&& rh) noexcept {
160
using
std::swap
;
161
swap
(
theFwdPredictedState
, rh.theFwdPredictedState);
162
swap
(
theBwdPredictedState
, rh.theBwdPredictedState);
163
swap
(
theUpdatedState
, rh.theUpdatedState);
164
swap
(
theRecHit
, rh.theRecHit);
165
theEstimate
= rh.theEstimate;
166
theLayer
= rh.theLayer;
167
168
return
*
this
;
169
}
170
174
TrajectoryStateOnSurface
const
&
predictedState
()
const
{
return
theFwdPredictedState
; }
175
177
TrajectoryStateOnSurface
const
&
forwardPredictedState
()
const
{
return
theFwdPredictedState
; }
179
TrajectoryStateOnSurface
const
&
backwardPredictedState
()
const
{
return
theBwdPredictedState
; }
180
184
TrajectoryStateOnSurface
const
&
updatedState
()
const
{
return
theUpdatedState
; }
185
186
ConstRecHitPointer::element_type
const
&
recHitR
()
const
{
return
*
theRecHit
; }
187
188
ConstRecHitPointer
const
&
recHitP
()
const
{
return
theRecHit
; }
189
190
ConstRecHitPointer
const
&
recHit
()
const
{
return
recHitP
(); }
191
192
float
estimate
()
const
{
return
theEstimate
; }
193
194
const
DetLayer
*
layer
()
const
{
return
theLayer
; }
195
196
// void setLayer( DetLayer const * il) const { theLayer=il;}
197
198
private
:
199
TrajectoryStateOnSurface
theFwdPredictedState
;
200
TrajectoryStateOnSurface
theBwdPredictedState
;
201
TrajectoryStateOnSurface
theUpdatedState
;
202
ConstRecHitPointer
theRecHit
;
203
DetLayer
const
*
theLayer
;
204
float
theEstimate
;
205
};
206
207
#endif
TrajectoryMeasurement::recHitP
ConstRecHitPointer const & recHitP() const
Definition:
TrajectoryMeasurement.h:188
TrajectoryStateOnSurface.h
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryMeasurement const &rh)
Definition:
TrajectoryMeasurement.h:132
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
Constructor with forward predicted state, RecHit, estimate.
Definition:
TrajectoryMeasurement.h:41
DetLayer
Definition:
DetLayer.h:21
edm::swap
void swap(Association< C > &lhs, Association< C > &rhs)
Definition:
Association.h:117
TrajectoryMeasurement::operator=
TrajectoryMeasurement & operator=(TrajectoryMeasurement &&rh) noexcept
Definition:
TrajectoryMeasurement.h:159
TrajectoryMeasurement::updatedState
TrajectoryStateOnSurface const & updatedState() const
Definition:
TrajectoryMeasurement.h:184
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition:
TrackingRecHit.h:24
TrajectoryMeasurement::RecHitPointer
TrackingRecHit::RecHitPointer RecHitPointer
Definition:
TrajectoryMeasurement.h:27
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
Definition:
TrajectoryMeasurement.h:93
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
Definition:
TrajectoryMeasurement.h:50
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
Constructor with forward predicted state, const TrackingRecHit*.
Definition:
TrajectoryMeasurement.h:33
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TrackingRecHit.h
TrajectoryMeasurement::predictedState
TrajectoryStateOnSurface const & predictedState() const
Definition:
TrajectoryMeasurement.h:174
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition:
DataFrameContainer.h:209
TrajectoryMeasurement::backwardPredictedState
TrajectoryStateOnSurface const & backwardPredictedState() const
Access to backward predicted state (from smoother)
Definition:
TrajectoryMeasurement.h:179
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
Definition:
TrajectoryMeasurement.h:80
TrajectoryMeasurement::forwardPredictedState
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
Definition:
TrajectoryMeasurement.h:177
TrajectoryMeasurement::theUpdatedState
TrajectoryStateOnSurface theUpdatedState
Definition:
TrajectoryMeasurement.h:201
TrajectoryMeasurement::theLayer
DetLayer const * theLayer
Definition:
TrajectoryMeasurement.h:203
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
Definition:
TrajectoryMeasurement.h:119
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition:
TrackingRecHit.h:25
TrajectoryMeasurement::theRecHit
ConstRecHitPointer theRecHit
Definition:
TrajectoryMeasurement.h:202
TrajectoryMeasurement::recHit
ConstRecHitPointer const & recHit() const
Definition:
TrajectoryMeasurement.h:190
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
Definition:
TrajectoryMeasurement.h:107
eostools.move
def move(src, dest)
Definition:
eostools.py:511
std
Definition:
JetResolutionObject.h:76
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
Constructor with forward predicted & updated state, RecHit.
Definition:
TrajectoryMeasurement.h:61
TrajectoryMeasurement::estimate
float estimate() const
Definition:
TrajectoryMeasurement.h:192
TrajectoryMeasurement::ConstRecHitPointer
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition:
TrajectoryMeasurement.h:28
TrajectoryMeasurement::theBwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
Definition:
TrajectoryMeasurement.h:200
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
Constructor with forward predicted & updated state, RecHit, estimate.
Definition:
TrajectoryMeasurement.h:71
TrajectoryMeasurement::recHitR
ConstRecHitPointer::element_type const & recHitR() const
Definition:
TrajectoryMeasurement.h:186
TrajectoryMeasurement::theFwdPredictedState
TrajectoryStateOnSurface theFwdPredictedState
Definition:
TrajectoryMeasurement.h:199
TrajectoryMeasurement::layer
const DetLayer * layer() const
Definition:
TrajectoryMeasurement.h:194
TrajectoryMeasurement
Definition:
TrajectoryMeasurement.h:25
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement(TrajectoryMeasurement &&rh) noexcept
Definition:
TrajectoryMeasurement.h:151
TrajectoryMeasurement::operator=
TrajectoryMeasurement & operator=(TrajectoryMeasurement const &rh)
Definition:
TrajectoryMeasurement.h:140
TrajectoryMeasurement::theEstimate
float theEstimate
Definition:
TrajectoryMeasurement.h:204
TrajectoryMeasurement::TrajectoryMeasurement
TrajectoryMeasurement()
Definition:
TrajectoryMeasurement.h:30
Generated for CMSSW Reference Manual by
1.8.16