CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  public:
22  // enum StateType { Updated=0, Combined=1, FwPredicted=2, BwPredicted=3};
23 
24  //enum RecHitType { Single=0, Matched=1, Projected=2};
25 
27  TrackingStateInfo(const std::pair<LocalVector, LocalVector>& trackdirections,
28  const std::pair<LocalPoint, LocalPoint>& trackpositions,
29  PTrajectoryStateOnDet const& trajstate)
30  : trackdirections_(trackdirections), trackpositions_(trackpositions), trajstate_(trajstate) {}
31  //const RecHitType type() const {return type_;}
32  //const StateType statetype() const {return statetype_;}
33  const LocalVector localTrackMomentumOnMono() const { return trackdirections_.first; }
34  const LocalVector localTrackMomentumOnStereo() const { return trackdirections_.second; }
35  const LocalPoint localTrackPositionOnMono() const { return trackpositions_.first; }
36  const LocalPoint localTrackPositionOnStereo() const { return trackpositions_.second; }
37  const PTrajectoryStateOnDet* stateOnDet() const { return &trajstate_; };
38 
39  private:
40  std::pair<LocalVector, LocalVector> trackdirections_;
41  std::pair<LocalPoint, LocalPoint> trackpositions_;
43  };
44 
45 } // namespace reco
46 #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
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