test
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 
7 
8 #include <vector>
9 
10 
12 class Propagator;
17 class DetLayer;
18 class DetGroup;
19 
20 
22 public:
23 
24 using SimpleHitContainer=std::vector<BaseTrackerRecHit *>;
25 
26 
27 // dummy default constructor (obviously you can't use any object created this way), but it can be needed in some cases
29 
30  // the constructor that most of the people should be using
32  theDetSystem(&detSystem), theData(&data) {}
33 
34  // return just valid hits, no sorting (for seeding mostly)
36  const DetLayer& layer,
37  const TrajectoryStateOnSurface& startingState,
38  const Propagator& prop,
39  const MeasurementEstimator& est) const;
40 
41 
42  std::vector<TrajectoryMeasurement>
43  measurements( const DetLayer& layer,
44  const TrajectoryStateOnSurface& startingState,
45  const Propagator& prop,
46  const MeasurementEstimator& est) const;
47 
48  std::vector<TrajectoryMeasurementGroup>
49  groupedMeasurements( const DetLayer& layer,
50  const TrajectoryStateOnSurface& startingState,
51  const Propagator& prop,
52  const MeasurementEstimator& est) const;
53 
54 
55  void addInvalidMeas( std::vector<TrajectoryMeasurement>& measVec,
56  const DetGroup& group,
57  const DetLayer& layer) const;
58 
60  return theDetSystem->idToDet(id, *theData);
61  }
62 
63 private:
64 
67 
68 };
69 
70 #endif
std::vector< TrajectoryMeasurement > measurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
std::vector< BaseTrackerRecHit * > SimpleHitContainer
virtual MeasurementDetWithData idToDet(const DetId &id, const MeasurementTrackerEvent &data) const =0
LayerMeasurements(const MeasurementDetSystem &detSystem, const MeasurementTrackerEvent &data)
const MeasurementTrackerEvent * theData
bool recHits(SimpleHitContainer &result, const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
tuple result
Definition: query.py:137
MeasurementDetWithData idToDet(const DetId &id) const
Definition: DetId.h:18
tuple group
Definition: watchdog.py:82
void addInvalidMeas(std::vector< TrajectoryMeasurement > &measVec, const DetGroup &group, const DetLayer &layer) const
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