CMS 3D CMS Logo

MkFitClusterIndexToHit.h
Go to the documentation of this file.
1 #ifndef RecoTracker_MkFit_MkFitClusterIndexToHit_h
2 #define RecoTracker_MkFit_MkFitClusterIndexToHit_h
3 
4 #include <vector>
5 
6 class TrackingRecHit;
7 
9 public:
10  MkFitClusterIndexToHit() = default;
11 
12  std::vector<TrackingRecHit const*>& hits() { return hits_; }
13  std::vector<TrackingRecHit const*> const& hits() const { return hits_; }
14 
15 private:
16  // Indexed by cluster index
17  std::vector<TrackingRecHit const*> hits_;
18 };
19 
20 #endif
MkFitClusterIndexToHit::MkFitClusterIndexToHit
MkFitClusterIndexToHit()=default
MkFitClusterIndexToHit
Definition: MkFitClusterIndexToHit.h:8
MkFitClusterIndexToHit::hits
std::vector< TrackingRecHit const * > const & hits() const
Definition: MkFitClusterIndexToHit.h:13
MkFitClusterIndexToHit::hits
std::vector< TrackingRecHit const * > & hits()
Definition: MkFitClusterIndexToHit.h:12
TrackingRecHit
Definition: TrackingRecHit.h:21
MkFitClusterIndexToHit::hits_
std::vector< TrackingRecHit const * > hits_
Definition: MkFitClusterIndexToHit.h:17