RecoVertex
KalmanVertexFit
interface
SingleTrackVertexConstraint.h
Go to the documentation of this file.
1
#ifndef SingleTrackVertexConstraint_H
2
#define SingleTrackVertexConstraint_H
3
4
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexUpdator.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/VertexSmoother.h
"
6
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexTrackUpdator.h
"
7
8
#include "
RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h
"
9
#include "
RecoVertex/VertexTools/interface/VertexTrackFactory.h
"
10
#include "
TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h
"
11
12
#include <tuple>
20
class
SingleTrackVertexConstraint
{
21
public
:
22
typedef
std::pair<reco::TransientTrack, float>
TrackFloatPair
;
23
typedef
std::tuple<bool, reco::TransientTrack, float>
BTFtuple
;
24
25
SingleTrackVertexConstraint
(
bool
doTrackerBoundCheck =
true
) :
doTrackerBoundCheck_
(doTrackerBoundCheck) {}
26
31
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
32
const
GlobalPoint
& priorPos,
33
const
GlobalError
& priorError)
const
;
34
39
BTFtuple
constrain
(
const
FreeTrajectoryState
& fts,
const
GlobalPoint
& priorPos,
const
GlobalError
& priorError)
const
;
40
45
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
const
VertexState
priorVertex)
const
;
46
50
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
const
reco::BeamSpot
& spot)
const
;
51
55
BTFtuple
constrain
(
const
FreeTrajectoryState
& fts,
const
reco::BeamSpot
& spot)
const
;
56
57
private
:
58
KalmanVertexUpdator<5>
vertexUpdator
;
59
KalmanVertexTrackUpdator<5>
theVertexTrackUpdator
;
60
61
LinearizedTrackStateFactory
theLTrackFactory
;
62
VertexTrackFactory<5>
theVTrackFactory
;
63
TransientTrackFromFTSFactory
ttFactory
;
64
bool
doTrackerBoundCheck_
;
65
};
66
67
#endif
KalmanVertexUpdator< 5 >
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11713
KalmanVertexTrackUpdator< 5 >
LinearizedTrackStateFactory.h
VertexTrackFactory.h
SingleTrackVertexConstraint::theLTrackFactory
LinearizedTrackStateFactory theLTrackFactory
Definition:
SingleTrackVertexConstraint.h:61
LinearizedTrackStateFactory
Definition:
LinearizedTrackStateFactory.h:14
TransientTrackFromFTSFactory.h
SingleTrackVertexConstraint::constrain
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
Definition:
SingleTrackVertexConstraint.cc:21
reco::BeamSpot
Definition:
BeamSpot.h:21
SingleTrackVertexConstraint::BTFtuple
std::tuple< bool, reco::TransientTrack, float > BTFtuple
Definition:
SingleTrackVertexConstraint.h:23
SingleTrackVertexConstraint::ttFactory
TransientTrackFromFTSFactory ttFactory
Definition:
SingleTrackVertexConstraint.h:63
Point3DBase< float, GlobalTag >
VertexTrackFactory< 5 >
KalmanVertexTrackUpdator.h
KalmanVertexUpdator.h
GlobalErrorBase< double, ErrorMatrixTag >
SingleTrackVertexConstraint::doTrackerBoundCheck_
bool doTrackerBoundCheck_
Definition:
SingleTrackVertexConstraint.h:64
SingleTrackVertexConstraint::theVTrackFactory
VertexTrackFactory< 5 > theVTrackFactory
Definition:
SingleTrackVertexConstraint.h:62
reco::TransientTrack
Definition:
TransientTrack.h:19
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
SingleTrackVertexConstraint::theVertexTrackUpdator
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
Definition:
SingleTrackVertexConstraint.h:59
VertexState
Definition:
VertexState.h:13
VertexSmoother.h
SingleTrackVertexConstraint::SingleTrackVertexConstraint
SingleTrackVertexConstraint(bool doTrackerBoundCheck=true)
Definition:
SingleTrackVertexConstraint.h:25
TransientTrackFromFTSFactory
Definition:
TransientTrackFromFTSFactory.h:10
SingleTrackVertexConstraint::vertexUpdator
KalmanVertexUpdator< 5 > vertexUpdator
Definition:
SingleTrackVertexConstraint.h:58
SingleTrackVertexConstraint
Definition:
SingleTrackVertexConstraint.h:20
SingleTrackVertexConstraint::TrackFloatPair
std::pair< reco::TransientTrack, float > TrackFloatPair
Definition:
SingleTrackVertexConstraint.h:22
Generated for CMSSW Reference Manual by
1.8.16