CMS 3D CMS Logo

MeasurementByLayerGrouper.h
Go to the documentation of this file.
1 #ifndef SiTrackerMRHTools_MeasurementByLayerGrouper_H
2 #define SiTrackerMRHTools_MeasurementByLayerGrouper_H
3 
4 class DetLayer;
7 
8 #include <vector>
9 #include <map>
10 
11 //groups the TrajectoryMeasurements on a layer by layer basis
12 
14 private:
17 
18  const DetLayer* getDetLayer(const TM& tm) const;
19 
20 public:
22 
23  std::vector<std::pair<const DetLayer*, std::vector<TM> > > operator()(const std::vector<TM>&) const;
24 
25  //to be ported later if needed
26  /*
27  vector<TM>
28  operator()(const vector<pair<const DetLayer*, vector<TM> > >&) const;
29 
30  vector<pair<const DetLayer*, map<int, vector<TrajectoryMeasurement> > > >
31  operator()(const map<int, vector<TM> >&) const;
32 */
33 };
34 #endif
MeasurementByLayerGrouper::theGeomSearch
const GeometricSearchTracker * theGeomSearch
Definition: MeasurementByLayerGrouper.h:16
DetLayer
Definition: DetLayer.h:21
MeasurementByLayerGrouper::operator()
std::vector< std::pair< const DetLayer *, std::vector< TM > > > operator()(const std::vector< TM > &) const
Definition: MeasurementByLayerGrouper.cc:10
cond::persistency::search
std::vector< T >::const_iterator search(const cond::Time_t &val, const std::vector< T > &container)
Definition: IOVProxy.cc:21
MeasurementByLayerGrouper::MeasurementByLayerGrouper
MeasurementByLayerGrouper(const GeometricSearchTracker *search=nullptr)
Definition: MeasurementByLayerGrouper.h:21
GeometricSearchTracker
Definition: GeometricSearchTracker.h:14
MeasurementByLayerGrouper::getDetLayer
const DetLayer * getDetLayer(const TM &tm) const
Definition: MeasurementByLayerGrouper.cc:49
MeasurementByLayerGrouper
Definition: MeasurementByLayerGrouper.h:13
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
MeasurementByLayerGrouper::TM
TrajectoryMeasurement TM
Definition: MeasurementByLayerGrouper.h:15