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
LayerMeasurements::LayerMeasurements
LayerMeasurements(const MeasurementDetSystem &detSystem, const MeasurementTrackerEvent &data)
Definition: LayerMeasurements.h:20
MeasurementEstimator
Definition: MeasurementEstimator.h:19
LayerMeasurements::measurements
std::vector< TrajectoryMeasurement > measurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
Definition: LayerMeasurements.cc:123
DetLayer
Definition: DetLayer.h:21
LayerMeasurements::data_
MeasurementTrackerEvent const & data_
Definition: LayerMeasurements.h:43
Propagator
Definition: Propagator.h:44
DetId
Definition: DetId.h:17
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
LayerMeasurements
Definition: LayerMeasurements.h:18
MeasurementDetSystem
Definition: MeasurementDetSystem.h:7
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
MeasurementTrackerEvent
Definition: MeasurementTrackerEvent.h:16
LayerMeasurements::recHits
std::vector< BaseTrackerRecHit * > recHits(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
Definition: LayerMeasurements.cc:108
LayerMeasurements::idToDet
MeasurementDetWithData idToDet(const DetId &id) const
Definition: LayerMeasurements.h:39
MeasurementDetSystem.h
BaseTrackerRecHit.h
LayerMeasurements::groupedMeasurements
std::vector< TrajectoryMeasurementGroup > groupedMeasurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
Definition: LayerMeasurements.cc:150
MeasurementDetWithData
Definition: MeasurementDetWithData.h:6
TrajectoryMeasurementGroup
Definition: TrajectoryMeasurementGroup.h:17
LayerMeasurements::detSystem_
MeasurementDetSystem const & detSystem_
Definition: LayerMeasurements.h:42
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
DetGroup
Definition: DetGroup.h:41
MeasurementDetSystem::idToDet
virtual MeasurementDetWithData idToDet(const DetId &id, const MeasurementTrackerEvent &data) const =0
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25