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
std::pair< reco::TransientTrack, float > TrackFloatPair
std::tuple< bool, reco::TransientTrack, float > BTFtuple
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
VertexTrackFactory< 5 > theVTrackFactory
TransientTrackFromFTSFactory ttFactory
KalmanVertexUpdator< 5 > vertexUpdator
LinearizedTrackStateFactory theLTrackFactory
SingleTrackVertexConstraint(bool doTrackerBoundCheck=true)