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
16  ):MultiRecHitCollector(measurementTracker), theUpdator(updator), theEstimator(est), thePropagator(propagator){}
17 
18 
20 
21  //given a trajectory it returns a collection
22  //of TSiTrackerMultiRecHits 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 TSiTrackerMultiRecHit is built.
26  //All the components will lay on the same detector
27 
28  virtual std::vector<TrajectoryMeasurement> recHits(const Trajectory&) 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 
44 
45 };
46 
47 
48 #endif
const MeasurementEstimator * getEstimator() const
const SiTrackerMultiRecHitUpdator * getUpdator() const
virtual std::vector< TrajectoryMeasurement > recHits(const Trajectory &) const
const MeasurementEstimator * theEstimator
SimpleDAFHitCollector(const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator)
tuple result
Definition: query.py:137
const Propagator * thePropagator
const Propagator * getPropagator() const
void buildMultiRecHits(const std::vector< TrajectoryMeasurement > &measgroup, std::vector< TrajectoryMeasurement > &result) const
const SiTrackerMultiRecHitUpdator * theUpdator