File indexing completed on 2024-09-07 04:38:01
0001 #ifndef SiTrackerMRHTools_MeasurementByLayerGrouper_H
0002 #define SiTrackerMRHTools_MeasurementByLayerGrouper_H
0003
0004 class DetLayer;
0005 class TrajectoryMeasurement;
0006 class GeometricSearchTracker;
0007
0008 #include <vector>
0009 #include <map>
0010
0011
0012
0013 class MeasurementByLayerGrouper {
0014 private:
0015 typedef TrajectoryMeasurement TM;
0016 const GeometricSearchTracker* theGeomSearch;
0017
0018 const DetLayer* getDetLayer(const TM& tm) const;
0019
0020 public:
0021 explicit MeasurementByLayerGrouper(const GeometricSearchTracker* search = nullptr) : theGeomSearch(search) {}
0022
0023 std::vector<std::pair<const DetLayer*, std::vector<TM> > > operator()(const std::vector<TM>&) const;
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 };
0034 #endif