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
#include "boost/tuple/tuple.hpp"
19
class
SingleTrackVertexConstraint
{
20
public
:
21
typedef
std::pair<reco::TransientTrack, float>
TrackFloatPair
;
22
typedef
boost::tuple<bool, reco::TransientTrack, float>
BTFtuple
;
23
24
SingleTrackVertexConstraint
(
bool
doTrackerBoundCheck =
true
) :
doTrackerBoundCheck_
(doTrackerBoundCheck) {}
25
30
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
31
const
GlobalPoint
& priorPos,
32
const
GlobalError
& priorError)
const
;
33
38
BTFtuple
constrain
(
const
FreeTrajectoryState
& fts,
const
GlobalPoint
& priorPos,
const
GlobalError
& priorError)
const
;
39
44
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
const
VertexState
priorVertex)
const
;
45
49
BTFtuple
constrain
(
const
reco::TransientTrack
&
track
,
const
reco::BeamSpot
& spot)
const
;
50
54
BTFtuple
constrain
(
const
FreeTrajectoryState
& fts,
const
reco::BeamSpot
& spot)
const
;
55
56
private
:
57
KalmanVertexUpdator<5>
vertexUpdator
;
58
KalmanVertexTrackUpdator<5>
theVertexTrackUpdator
;
59
60
LinearizedTrackStateFactory
theLTrackFactory
;
61
VertexTrackFactory<5>
theVTrackFactory
;
62
TransientTrackFromFTSFactory
ttFactory
;
63
bool
doTrackerBoundCheck_
;
64
};
65
66
#endif
KalmanVertexUpdator< 5 >
KalmanVertexTrackUpdator< 5 >
LinearizedTrackStateFactory.h
SingleTrackVertexConstraint::BTFtuple
boost::tuple< bool, reco::TransientTrack, float > BTFtuple
Definition:
SingleTrackVertexConstraint.h:22
VertexTrackFactory.h
SingleTrackVertexConstraint::theLTrackFactory
LinearizedTrackStateFactory theLTrackFactory
Definition:
SingleTrackVertexConstraint.h:60
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::ttFactory
TransientTrackFromFTSFactory ttFactory
Definition:
SingleTrackVertexConstraint.h:62
Point3DBase< float, GlobalTag >
VertexTrackFactory< 5 >
KalmanVertexTrackUpdator.h
KalmanVertexUpdator.h
GlobalErrorBase< double, ErrorMatrixTag >
SingleTrackVertexConstraint::doTrackerBoundCheck_
bool doTrackerBoundCheck_
Definition:
SingleTrackVertexConstraint.h:63
SingleTrackVertexConstraint::theVTrackFactory
VertexTrackFactory< 5 > theVTrackFactory
Definition:
SingleTrackVertexConstraint.h:61
reco::TransientTrack
Definition:
TransientTrack.h:19
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
SingleTrackVertexConstraint::theVertexTrackUpdator
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
Definition:
SingleTrackVertexConstraint.h:58
VertexState
Definition:
VertexState.h:13
VertexSmoother.h
SingleTrackVertexConstraint::SingleTrackVertexConstraint
SingleTrackVertexConstraint(bool doTrackerBoundCheck=true)
Definition:
SingleTrackVertexConstraint.h:24
TransientTrackFromFTSFactory
Definition:
TransientTrackFromFTSFactory.h:10
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
SingleTrackVertexConstraint::vertexUpdator
KalmanVertexUpdator< 5 > vertexUpdator
Definition:
SingleTrackVertexConstraint.h:57
SingleTrackVertexConstraint
Definition:
SingleTrackVertexConstraint.h:19
SingleTrackVertexConstraint::TrackFloatPair
std::pair< reco::TransientTrack, float > TrackFloatPair
Definition:
SingleTrackVertexConstraint.h:21
Generated for CMSSW Reference Manual by
1.8.16