CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
25  explicit GroupedDAFHitCollector(const MeasurementTracker* measurementTracker,
26  const SiTrackerMultiRecHitUpdator* updator,
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;
38 
41  const Propagator* getPropagator() const {return thePropagator;}
43 
44 private:
45  void buildMultiRecHits(const std::vector<TrajectoryMeasurementGroup>& measgroup,
46  std::vector<TrajectoryMeasurement>& result) const;
47 
52  const bool debug_;
53 };
54 
55 
56 #endif
const SiTrackerMultiRecHitUpdator * getUpdator() const
const Propagator * theReversePropagator
const MeasurementEstimator * theEstimator
void buildMultiRecHits(const std::vector< TrajectoryMeasurementGroup > &measgroup, std::vector< TrajectoryMeasurement > &result) const
virtual std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMT) const
tuple result
Definition: query.py:137
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 Propagator * getReversePropagator() const
const SiTrackerMultiRecHitUpdator * theUpdator
const Propagator * thePropagator
const MeasurementEstimator * getEstimator() const