CMS 3D CMS Logo

TrackingStateInfo.h
Go to the documentation of this file.
1 #ifndef TrackInfo_TrackingStateInfo_h
2 #define TrackInfo_TrackingStateInfo_h
3 
18 
19 namespace reco {
21 
22  public:
23  // enum StateType { Updated=0, Combined=1, FwPredicted=2, BwPredicted=3};
24 
25  //enum RecHitType { Single=0, Matched=1, Projected=2};
26 
28  TrackingStateInfo(const std::pair<LocalVector, LocalVector>& trackdirections ,const std::pair<LocalPoint, LocalPoint>& trackpositions , PTrajectoryStateOnDet const &trajstate ):
29  trackdirections_(trackdirections), trackpositions_(trackpositions), trajstate_(trajstate) {}
30  //const RecHitType type() const {return type_;}
31  //const StateType statetype() const {return statetype_;}
34  const LocalPoint localTrackPositionOnMono() const {return trackpositions_.first;}
36  const PTrajectoryStateOnDet *stateOnDet() const {return &trajstate_;};
37 
38  private:
39 
40  std::pair<LocalVector, LocalVector> trackdirections_;
41  std::pair<LocalPoint, LocalPoint> trackpositions_;
43 
44  };
45 
46 }
47 #endif
const LocalPoint localTrackPositionOnStereo() const
TrackingStateInfo(const std::pair< LocalVector, LocalVector > &trackdirections, const std::pair< LocalPoint, LocalPoint > &trackpositions, PTrajectoryStateOnDet const &trajstate)
PTrajectoryStateOnDet trajstate_
std::pair< LocalVector, LocalVector > trackdirections_
const LocalVector localTrackMomentumOnMono() const
const LocalPoint localTrackPositionOnMono() const
const LocalVector localTrackMomentumOnStereo() const
fixed size matrix
std::pair< LocalPoint, LocalPoint > trackpositions_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
Definition: Point3D.h:15
const PTrajectoryStateOnDet * stateOnDet() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
Definition: Vector3D.h:25