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"
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:
59 
64 };
65 
66 #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)