CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingStateInfo.h
Go to the documentation of this file.
1 #ifndef TrackInfo_TrackingStateInfo_h
2 #define TrackInfo_TrackingStateInfo_h
3 
19 
20 namespace reco {
22 
23  public:
24  // enum StateType { Updated=0, Combined=1, FwPredicted=2, BwPredicted=3};
25 
26  //enum RecHitType { Single=0, Matched=1, Projected=2};
27 
29  TrackingStateInfo(std::pair<LocalVector, LocalVector> trackdirections ,std::pair<LocalPoint, LocalPoint> trackpositions , PTrajectoryStateOnDet const &trajstate ):
30  trackdirections_(trackdirections), trackpositions_(trackpositions), trajstate_(trajstate) {}
31  //const RecHitType type() const {return type_;}
32  //const StateType statetype() const {return statetype_;}
35  const LocalPoint localTrackPositionOnMono() const {return trackpositions_.first;}
37  const PTrajectoryStateOnDet *stateOnDet() const {return &trajstate_;};
38 
39  private:
40 
41  std::pair<LocalVector, LocalVector> trackdirections_;
42  std::pair<LocalPoint, LocalPoint> trackpositions_;
44 
45  };
46 
47 }
48 #endif
const LocalPoint localTrackPositionOnStereo() const
PTrajectoryStateOnDet trajstate_
std::pair< LocalVector, LocalVector > trackdirections_
const LocalVector localTrackMomentumOnMono() const
const LocalPoint localTrackPositionOnMono() const
TrackingStateInfo(std::pair< LocalVector, LocalVector > trackdirections, std::pair< LocalPoint, LocalPoint > trackpositions, PTrajectoryStateOnDet const &trajstate)
const LocalVector localTrackMomentumOnStereo() const
std::pair< LocalPoint, LocalPoint > trackpositions_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
Definition: Point3D.h:16
const PTrajectoryStateOnDet * stateOnDet() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
Definition: Vector3D.h:26