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 
24 public:
27  const MeasurementEstimator* est,
28  const Propagator* propagator,
29  const Propagator* reversePropagator, bool debug):
30  MultiRecHitCollector(measurementTracker), theUpdator(updator),
31  theEstimator(est), thePropagator(propagator), theReversePropagator(reversePropagator), debug_(debug){}
32 
33 
35 
36  virtual std::vector<TrajectoryMeasurement> recHits(const Trajectory&,
37  const MeasurementTrackerEvent *theMT) const override;
38 
41  const Propagator* getPropagator() const {return thePropagator;}
43 
44 private:
45  void buildMultiRecHits(const std::vector<TrajectoryMeasurementGroup>& measgroup,
46  std::vector<TrajectoryMeasurement>& result,
47  const MeasurementTrackerEvent*& theMTE) const;
48 
53  const bool debug_;
54 };
55 
56 
57 #endif
const SiTrackerMultiRecHitUpdator * getUpdator() const
const Propagator * theReversePropagator
const MeasurementEstimator * theEstimator
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
void buildMultiRecHits(const std::vector< TrajectoryMeasurementGroup > &measgroup, std::vector< TrajectoryMeasurement > &result, const MeasurementTrackerEvent *&theMTE) const
const Propagator * getReversePropagator() const
const SiTrackerMultiRecHitUpdator * theUpdator
virtual std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMT) const override
const Propagator * thePropagator
const MeasurementEstimator * getEstimator() const