CMS 3D CMS Logo

LayerMeasurements.h
Go to the documentation of this file.
1 #ifndef LayerMeasurements_H
2 #define LayerMeasurements_H
3 
6 
7 #include <vector>
8 
10 class Propagator;
15 class DetLayer;
16 class DetGroup;
17 
19 public:
21  : detSystem_(detSystem), data_(data) {}
22 
23  // return just valid hits, no sorting (for seeding mostly)
24  std::vector<BaseTrackerRecHit*> recHits(const DetLayer& layer,
25  const TrajectoryStateOnSurface& startingState,
26  const Propagator& prop,
27  const MeasurementEstimator& est) const;
28 
29  std::vector<TrajectoryMeasurement> measurements(const DetLayer& layer,
30  const TrajectoryStateOnSurface& startingState,
31  const Propagator& prop,
32  const MeasurementEstimator& est) const;
33 
34  std::vector<TrajectoryMeasurementGroup> groupedMeasurements(const DetLayer& layer,
35  const TrajectoryStateOnSurface& startingState,
36  const Propagator& prop,
37  const MeasurementEstimator& est) const;
38 
39  MeasurementDetWithData idToDet(const DetId& id) const { return detSystem_.idToDet(id, data_); }
40 
41 private:
44 };
45 
46 #endif
virtual MeasurementDetWithData idToDet(const DetId &id, const MeasurementTrackerEvent &data) const =0
LayerMeasurements(const MeasurementDetSystem &detSystem, const MeasurementTrackerEvent &data)
MeasurementTrackerEvent const & data_
MeasurementDetSystem const & detSystem_
Definition: DetId.h:17
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::vector< BaseTrackerRecHit * > recHits(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
std::vector< TrajectoryMeasurement > measurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
std::vector< TrajectoryMeasurementGroup > groupedMeasurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
MeasurementDetWithData idToDet(const DetId &id) const