CMS 3D CMS Logo

SingleTrackVertexConstraint.h
Go to the documentation of this file.
1 #ifndef SingleTrackVertexConstraint_H
2 #define SingleTrackVertexConstraint_H
3 
7 
11 
12 #include <tuple>
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 
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:
60 
65 };
66 
67 #endif
KalmanVertexUpdator< 5 >
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11776
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