CMS 3D CMS Logo

TrackInfo.h
Go to the documentation of this file.
1 #ifndef TrackInfo_TrackInfo_h
2 #define TrackInfo_TrackInfo_h
3 
22 namespace reco {
23  class TrackInfo {
24  public:
26  typedef std::map<TrackingRecHitRef, TrackingRecHitInfo> TrajectoryInfo;
28 
29  TrackInfo() {}
30 
31  TrackInfo(const TrajectorySeed &seed_, const TrajectoryInfo &trajstate);
32 
33  //TrackRef track();
34 
35  const TrajectorySeed &seed() const;
36 
37  const RecHitType type(TrackingRecHitRef) const;
38 
39  const PTrajectoryStateOnDet *stateOnDet(StateType, TrackingRecHitRef) const;
40 
41  const LocalVector localTrackMomentum(StateType, TrackingRecHitRef) const;
42 
44 
46 
47  const LocalPoint localTrackPosition(StateType, TrackingRecHitRef) const;
48 
50 
52 
53  const TrajectoryInfo &trajStateMap() const;
54 
55  // void add(PTrajectoryStateOnDet state,const TrackingRecHitRef hitref);
56 
57  private:
59  TrajectoryInfo trajstates_;
60  };
61 
62 } // namespace reco
63 
64 #endif
const TrajectorySeed & seed() const
Definition: TrackInfo.cc:9
const TrajectoryInfo & trajStateMap() const
Definition: TrackInfo.cc:11
const LocalVector localTrackMomentumOnStereo(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:51
const LocalPoint localTrackPositionOnStereo(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:78
const RecHitType type(TrackingRecHitRef) const
Definition: TrackInfo.cc:13
const LocalVector localTrackMomentum(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:31
const LocalPoint localTrackPosition(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:58
reco::StateType StateType
Definition: TrackInfo.h:27
const LocalPoint localTrackPositionOnMono(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:69
const PTrajectoryStateOnDet * stateOnDet(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:22
TrajectoryInfo trajstates_
Definition: TrackInfo.h:59
TrajectorySeed seed_
Definition: TrackInfo.h:58
std::map< TrackingRecHitRef, TrackingRecHitInfo > TrajectoryInfo
default constructor
Definition: TrackInfo.h:26
fixed size matrix
const LocalVector localTrackMomentumOnMono(StateType, TrackingRecHitRef) const
Definition: TrackInfo.cc:42
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
Definition: Point3D.h:15
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalVector
vector in local coordinate system
Definition: Vector3D.h:25