CMS 3D CMS Logo

SingleTrackVertexConstraint.h
Go to the documentation of this file.
1 #ifndef SingleTrackVertexConstraint_H
2 #define SingleTrackVertexConstraint_H
3 
7 
11 #include "boost/tuple/tuple.hpp"
21 
22 public:
23 
24  typedef std::pair<reco::TransientTrack, float> TrackFloatPair;
25  typedef boost::tuple<bool, reco::TransientTrack, float> BTFtuple;
26 
27  SingleTrackVertexConstraint(bool doTrackerBoundCheck = true) :
28  doTrackerBoundCheck_(doTrackerBoundCheck){}
29 
34  BTFtuple constrain(const reco::TransientTrack & track,
35  const GlobalPoint& priorPos, const GlobalError& priorError) const;
36 
41  BTFtuple constrain(const FreeTrajectoryState & fts,
42  const GlobalPoint& priorPos, const GlobalError& priorError) const;
43 
48  BTFtuple constrain(const reco::TransientTrack & track,
49  const VertexState priorVertex) const;
50 
54  BTFtuple constrain(const reco::TransientTrack & track,
55  const reco::BeamSpot & spot ) const;
56 
57 
61  BTFtuple constrain(const FreeTrajectoryState & fts,
62  const reco::BeamSpot & spot) const;
63 
64 
65 private:
66 
69 
74 
75 };
76 
77 #endif
std::pair< reco::TransientTrack, float > TrackFloatPair
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
VertexTrackFactory< 5 > theVTrackFactory
TransientTrackFromFTSFactory ttFactory
KalmanVertexUpdator< 5 > vertexUpdator
LinearizedTrackStateFactory theLTrackFactory
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
boost::tuple< bool, reco::TransientTrack, float > BTFtuple
SingleTrackVertexConstraint(bool doTrackerBoundCheck=true)