CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LayerMeasurements.h
Go to the documentation of this file.
1 #ifndef LayerMeasurements_H
2 #define LayerMeasurements_H
3 
4 
5 #include <vector>
7 
9 class Propagator;
14 class DetLayer;
15 class DetGroup;
16 
18 public:
19 
22 
25  theDetSystem(&detSystem), theData(&data) {}
26 
27  std::vector<TrajectoryMeasurement>
28  measurements( const DetLayer& layer,
29  const TrajectoryStateOnSurface& startingState,
30  const Propagator& prop,
31  const MeasurementEstimator& est) const;
32 
33  std::vector<TrajectoryMeasurementGroup>
34  groupedMeasurements( const DetLayer& layer,
35  const TrajectoryStateOnSurface& startingState,
36  const Propagator& prop,
37  const MeasurementEstimator& est) const;
38 
39 
40  void addInvalidMeas( std::vector<TrajectoryMeasurement>& measVec,
41  const DetGroup& group,
42  const DetLayer& layer) const;
43 
45  return theDetSystem->idToDet(id, *theData);
46  }
47 
48 private:
49 
52 
53 };
54 
55 #endif
std::vector< TrajectoryMeasurement > measurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
virtual MeasurementDetWithData idToDet(const DetId &id, const MeasurementTrackerEvent &data) const =0
LayerMeasurements(const MeasurementDetSystem &detSystem, const MeasurementTrackerEvent &data)
the constructor that most of the people should be using
const MeasurementTrackerEvent * theData
MeasurementDetWithData idToDet(const DetId &id) const
Definition: DetId.h:18
void addInvalidMeas(std::vector< TrajectoryMeasurement > &measVec, const DetGroup &group, const DetLayer &layer) const
LayerMeasurements()
dummy default constructor (obviously you can&#39;t use any object created this way), but it can be needed...
std::vector< TrajectoryMeasurementGroup > groupedMeasurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const MeasurementDetSystem * theDetSystem