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  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
reco::TrackingStateInfo::trackpositions_
std::pair< LocalPoint, LocalPoint > trackpositions_
Definition: TrackingStateInfo.h:41
reco::TrackingStateInfo::trajstate_
PTrajectoryStateOnDet trajstate_
Definition: TrackingStateInfo.h:42
TrackingRecHitFwd.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
TrackInfoFwd.h
reco::TrackingStateInfo::TrackingStateInfo
TrackingStateInfo(const std::pair< LocalVector, LocalVector > &trackdirections, const std::pair< LocalPoint, LocalPoint > &trackpositions, PTrajectoryStateOnDet const &trajstate)
Definition: TrackingStateInfo.h:27
PTrajectoryStateOnDet.h
reco::TrackingStateInfo::trackdirections_
std::pair< LocalVector, LocalVector > trackdirections_
Definition: TrackingStateInfo.h:37
TrajectorySeed.h
math::LocalVector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
Definition: Vector3D.h:25
reco::TrackingStateInfo::localTrackMomentumOnMono
const LocalVector localTrackMomentumOnMono() const
Definition: TrackingStateInfo.h:33
reco::TrackingStateInfo::localTrackMomentumOnStereo
const LocalVector localTrackMomentumOnStereo() const
Definition: TrackingStateInfo.h:34
math::LocalPoint
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
Definition: Point3D.h:15
reco::TrackingStateInfo::TrackingStateInfo
TrackingStateInfo()
Definition: TrackingStateInfo.h:26
reco::TrackingStateInfo
Definition: TrackingStateInfo.h:20
reco::TrackingStateInfo::localTrackPositionOnStereo
const LocalPoint localTrackPositionOnStereo() const
Definition: TrackingStateInfo.h:36
reco::TrackingStateInfo::localTrackPositionOnMono
const LocalPoint localTrackPositionOnMono() const
Definition: TrackingStateInfo.h:35
reco::TrackingStateInfo::stateOnDet
const PTrajectoryStateOnDet * stateOnDet() const
Definition: TrackingStateInfo.h:37
PTrajectoryStateOnDet
Definition: PTrajectoryStateOnDet.h:10