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
RecoLocalFastTime
FTLClusterizer
interface
MTDClusterParameterEstimator.h
Go to the documentation of this file.
1
#ifndef RecoLocalFastTime_MTDCluster_Parameter_Estimator_H
2
#define RecoLocalFastTime_MTDCluster_Parameter_Estimator_H
3
4
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
5
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
6
7
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
8
#include "
DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h
"
9
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
10
11
#include "
DataFormats/FTLRecHit/interface/FTLCluster.h
"
12
13
#include <tuple>
14
15
class
MTDClusterParameterEstimator
{
16
public
:
17
virtual
~MTDClusterParameterEstimator
() {}
18
19
typedef
std::pair<LocalPoint, LocalError>
LocalValues
;
20
typedef
std::vector<LocalValues>
VLocalValues
;
21
22
typedef
float
TimeValue
;
23
typedef
float
TimeValueError
;
24
25
using
ReturnType
= std::tuple<LocalPoint, LocalError, TimeValue, TimeValueError>;
26
27
// here just to implement it in the clients;
28
// to be properly implemented in the sub-classes in order to make them thread-safe
29
30
virtual
ReturnType
getParameters
(
const
FTLCluster
&
cl
,
const
GeomDetUnit
& det)
const
= 0;
31
32
virtual
ReturnType
getParameters
(
const
FTLCluster
&
cl
,
33
const
GeomDetUnit
& det,
34
const
LocalTrajectoryParameters
& ltp)
const
= 0;
35
36
virtual
ReturnType
getParameters
(
const
FTLCluster
&
cl
,
37
const
GeomDetUnit
& det,
38
const
TrajectoryStateOnSurface
& tsos)
const
{
39
return
getParameters
(
cl
, det, tsos.
localParameters
());
40
}
41
42
virtual
VLocalValues
localParametersV
(
const
FTLCluster
& cluster,
const
GeomDetUnit
& gd)
const
{
43
VLocalValues
vlp;
44
ReturnType
tuple =
getParameters
(cluster, gd);
45
vlp.emplace_back(std::get<0>(tuple), std::get<1>(tuple));
46
return
vlp;
47
}
48
virtual
VLocalValues
localParametersV
(
const
FTLCluster
& cluster,
49
const
GeomDetUnit
& gd,
50
TrajectoryStateOnSurface
& tsos)
const
{
51
VLocalValues
vlp;
52
ReturnType
tuple =
getParameters
(cluster, gd, tsos);
53
vlp.emplace_back(std::get<0>(tuple), std::get<1>(tuple));
54
return
vlp;
55
}
56
57
MTDClusterParameterEstimator
(){};
58
};
59
60
#endif
MTDClusterParameterEstimator::localParametersV
virtual VLocalValues localParametersV(const FTLCluster &cluster, const GeomDetUnit &gd) const
Definition:
MTDClusterParameterEstimator.h:42
TrajectoryStateOnSurface.h
MTDClusterParameterEstimator::getParameters
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det, const TrajectoryStateOnSurface &tsos) const
Definition:
MTDClusterParameterEstimator.h:36
MTDClusterParameterEstimator::ReturnType
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
Definition:
MTDClusterParameterEstimator.h:25
GeomDet
Definition:
GeomDet.h:27
FTLCluster
Definition:
FTLCluster.h:21
MTDClusterParameterEstimator::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition:
MTDClusterParameterEstimator.h:19
MTDClusterParameterEstimator::TimeValueError
float TimeValueError
Definition:
MTDClusterParameterEstimator.h:23
MTDClusterParameterEstimator::localParametersV
virtual VLocalValues localParametersV(const FTLCluster &cluster, const GeomDetUnit &gd, TrajectoryStateOnSurface &tsos) const
Definition:
MTDClusterParameterEstimator.h:48
LocalTrajectoryParameters
Definition:
LocalTrajectoryParameters.h:25
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition:
GetRecoTauVFromDQM_MC_cff.py:38
MTDClusterParameterEstimator
Definition:
MTDClusterParameterEstimator.h:15
LocalTrajectoryParameters.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MTDClusterParameterEstimator::~MTDClusterParameterEstimator
virtual ~MTDClusterParameterEstimator()
Definition:
MTDClusterParameterEstimator.h:17
LocalError.h
MTDClusterParameterEstimator::VLocalValues
std::vector< LocalValues > VLocalValues
Definition:
MTDClusterParameterEstimator.h:20
TrajectoryStateOnSurface::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition:
TrajectoryStateOnSurface.h:73
FTLCluster.h
GeomDet.h
MTDClusterParameterEstimator::TimeValue
float TimeValue
Definition:
MTDClusterParameterEstimator.h:22
MTDClusterParameterEstimator::getParameters
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0
LocalPoint.h
MTDClusterParameterEstimator::MTDClusterParameterEstimator
MTDClusterParameterEstimator()
Definition:
MTDClusterParameterEstimator.h:57
Generated for CMSSW Reference Manual by
1.8.16