CMS 3D CMS Logo

GroupedDAFHitCollector.h
Go to the documentation of this file.
1 
10 #ifndef SiTrackerMRHTools_GroupedDAFHitCollector_h
11 #define SiTrackerMRHTools_GroupedDAFHitCollector_h
12 
15 #include <vector>
16 
17 class Propagator;
19 class MeasurementTracker;
21 
23 public:
26  const MeasurementEstimator* est,
27  const Propagator* propagator,
28  const Propagator* reversePropagator,
29  bool debug)
32  theEstimator(est),
34  theReversePropagator(reversePropagator),
35  debug_(debug) {}
36 
38 
39  std::vector<TrajectoryMeasurement> recHits(const Trajectory&, const MeasurementTrackerEvent* theMT) const override;
40 
42  const MeasurementEstimator* getEstimator() const { return theEstimator; }
43  const Propagator* getPropagator() const { return thePropagator; }
45 
46 private:
47  void buildMultiRecHits(const std::vector<TrajectoryMeasurementGroup>& measgroup,
48  std::vector<TrajectoryMeasurement>& result,
49  const MeasurementTrackerEvent*& theMTE) const;
50 
55  const bool debug_;
56 };
57 
58 #endif
void buildMultiRecHits(const std::vector< TrajectoryMeasurementGroup > &measgroup, std::vector< TrajectoryMeasurement > &result, const MeasurementTrackerEvent *&theMTE) const
const Propagator * getReversePropagator() const
const Propagator * theReversePropagator
const MeasurementEstimator * theEstimator
std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMT) const override
const MeasurementEstimator * getEstimator() const
GroupedDAFHitCollector(const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator, const Propagator *reversePropagator, bool debug)
#define debug
Definition: HDRShower.cc:19
const Propagator * getPropagator() const
const SiTrackerMultiRecHitUpdator * getUpdator() const
const SiTrackerMultiRecHitUpdator * theUpdator
const Propagator * thePropagator