CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimpleDAFHitCollector.h
Go to the documentation of this file.
1 #ifndef SiTrackerMRHTools_SimpleDAFHitCollector_h
2 #define SiTrackerMRHTools_SimpleDAFHitCollector_h
4 #include <vector>
5 
6 class Propagator;
9 
11  public:
12  explicit SimpleDAFHitCollector(const MeasurementTracker* measurementTracker,
13  const SiTrackerMultiRecHitUpdator* updator,
14  const MeasurementEstimator* est,
15  const Propagator* propagator, bool debug
16  ):MultiRecHitCollector(measurementTracker), theUpdator(updator), theEstimator(est), thePropagator(propagator), debug_(debug){}
17 
18 
20 
21  //given a trajectory it returns a collection
22  //of SiTrackerMultiRecHits and InvalidTransientRecHits.
23  //For each measurement in the trajectory, measurements are looked for according to the
24  //MeasurementDet::fastMeasurements method only in the detector where the original measurement lays.
25  //If measurements are found a SiTrackerMultiRecHit is built.
26  //All the components will lay on the same detector
27 
28  virtual std::vector<TrajectoryMeasurement> recHits(const Trajectory&, const MeasurementTrackerEvent *theMTE) const;
29 
32  const Propagator* getPropagator() const {return thePropagator;}
33 
34  private:
35  //TransientTrackingRecHit::ConstRecHitContainer buildMultiRecHits(const std::vector<TrajectoryMeasurementGroup>& measgroup) const;
36  void buildMultiRecHits(const std::vector<TrajectoryMeasurement>& measgroup, std::vector<TrajectoryMeasurement>& result) const;
37 
38  private:
41  //this actually is not used in the fastMeasurement method
43  const bool debug_;
44 
45 };
46 
47 
48 #endif
SimpleDAFHitCollector(const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator, bool debug)
const MeasurementEstimator * getEstimator() const
const SiTrackerMultiRecHitUpdator * getUpdator() const
const MeasurementEstimator * theEstimator
tuple result
Definition: query.py:137
const Propagator * thePropagator
const Propagator * getPropagator() const
#define debug
Definition: HDRShower.cc:19
void buildMultiRecHits(const std::vector< TrajectoryMeasurement > &measgroup, std::vector< TrajectoryMeasurement > &result) const
virtual std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMTE) const
const SiTrackerMultiRecHitUpdator * theUpdator