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 #ifndef SiTrackerMRHTools_GroupedDAFHitCollector_h
2 #define SiTrackerMRHTools_GroupedDAFHitCollector_h
5 #include <vector>
6 
7 class Propagator;
10 
12  public:
13  explicit GroupedDAFHitCollector(const MeasurementTracker* measurementTracker,
15  const MeasurementEstimator* est,
16  const Propagator* propagator,
17  const Propagator* reversePropagator
18  ):MultiRecHitCollector(measurementTracker), theLM(measurementTracker), theUpdator(updator), theEstimator(est), thePropagator(propagator), theReversePropagator(reversePropagator){}
19 
20 
22 
23  //given a trajectory it returns a collection
24  //of TSiTrackerMultiRecHits and InvalidTransientRecHits.
25  //It tryes to build a TSiTrackerMultiRecHit for each detGroup.
26  //a detGroup is a group of detectors mutually exclusive for the track's crossing point.
27  //To find gouped measurements it uses the LayerMeasurements::groupedMeasurements method
28 
29  virtual std::vector<TrajectoryMeasurement> recHits(const Trajectory&) const;
30 
33  const Propagator* getPropagator() const {return thePropagator;}
35 
36  private:
37  void buildMultiRecHits(const std::vector<TrajectoryMeasurementGroup>& measgroup, std::vector<TrajectoryMeasurement>& result) const;
38 
39  private:
45 
46 
47 
48 };
49 
50 
51 #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
GroupedDAFHitCollector(const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator, const Propagator *reversePropagator)
tuple result
Definition: query.py:137
const Propagator * getPropagator() const
const Propagator * getReversePropagator() const
const SiTrackerMultiRecHitUpdator * theUpdator
const Propagator * thePropagator
const MeasurementEstimator * getEstimator() const