CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15 private:
16 
19 
20  const DetLayer* getDetLayer(const TM& tm) const;
21 
22 public:
23 
25 
26  std::vector<std::pair<const DetLayer*, std::vector<TM> > > operator()(const std::vector<TM>&) const;
27 
28 
29 //to be ported later if needed
30 /*
31  vector<TM>
32  operator()(const vector<pair<const DetLayer*, vector<TM> > >&) const;
33 
34  vector<pair<const DetLayer*, map<int, vector<TrajectoryMeasurement> > > >
35  operator()(const map<int, vector<TM> >&) const;
36 */
37 
38 };
39 #endif
MeasurementByLayerGrouper(const GeometricSearchTracker *search=0)
std::vector< std::pair< const DetLayer *, std::vector< TM > > > operator()(const std::vector< TM > &) const
const DetLayer * getDetLayer(const TM &tm) const
const GeometricSearchTracker * theGeomSearch
std::vector< T >::const_iterator search(const cond::Time_t &val, const std::vector< T > &container)
Definition: IOVProxy.cc:282