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
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
+
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
c
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
src
RecoTracker
MeasurementDet
plugins
NonPropagatingDetMeasurements.cc
Go to the documentation of this file.
1
#include "
NonPropagatingDetMeasurements.h
"
2
#include "
TrackingTools/PatternTools/interface/TrajectoryMeasurement.h
"
3
#include "
TrackingTools/DetLayers/interface/MeasurementEstimator.h
"
4
#include "
TrackingTools/PatternTools/interface/TrajMeasLessEstim.h
"
5
#include "
TrackingTools/MeasurementDet/interface/MeasurementDet.h
"
6
#include "
TrackingTools/TransientTrackingRecHit/interface/InvalidTransientRecHit.h
"
7
8
std::vector<TrajectoryMeasurement>
NonPropagatingDetMeasurements::get
(
const
MeasurementDet
& det,
9
const
TrajectoryStateOnSurface
& stateOnThisDet,
10
const
MeasurementEstimator
& est,
11
const
MeasurementTrackerEvent
&
data
)
const
{
12
throw
cms::Exception
(
"THIS SHOULD NOT BE CALLED"
);
13
std::vector<TrajectoryMeasurement>
result
;
14
/*
15
MeasurementDet::RecHitContainer allHits = det.recHits(stateOnThisDet, data);
16
for (MeasurementDet::RecHitContainer::const_iterator ihit=allHits.begin();
17
ihit != allHits.end(); ihit++) {
18
std::pair<bool,double> diffEst = est.estimate( stateOnThisDet, **ihit);
19
if ( diffEst.first) {
20
result.push_back( TrajectoryMeasurement( stateOnThisDet, *ihit,
21
diffEst.second));
22
}
23
}
24
//GIO// std::cerr << "NonPropagatingDetMeasurements: " << allHits.size() << " => " << result.size() << std::endl;
25
if ( result.empty()) {
26
// create a TrajectoryMeasurement with an invalid RecHit and zero estimate
27
result.push_back( TrajectoryMeasurement( stateOnThisDet,
28
InvalidTransientRecHit::build(&det.geomDet()), 0.F));
29
}
30
else {
31
// sort results according to estimator value
32
if ( result.size() > 1) {
33
sort( result.begin(), result.end(), TrajMeasLessEstim());
34
}
35
}
36
*/
37
return
result
;
38
}
MeasurementEstimator.h
TrajMeasLessEstim.h
MeasurementEstimator
Definition:
MeasurementEstimator.h:19
TrajectoryMeasurement.h
Exception
Definition:
hltDiff.cc:245
mps_fire.result
result
Definition:
mps_fire.py:311
NonPropagatingDetMeasurements.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MeasurementDet
Definition:
MeasurementDet.h:16
MeasurementTrackerEvent
Definition:
MeasurementTrackerEvent.h:16
InvalidTransientRecHit.h
NonPropagatingDetMeasurements::get
std::vector< TrajectoryMeasurement > get(const MeasurementDet &det, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data) const
Definition:
NonPropagatingDetMeasurements.cc:8
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:80
MeasurementDet.h
Generated for CMSSW Reference Manual by
1.8.14