CMS 3D CMS Logo

MTDRingForwardLayer.h
Go to the documentation of this file.
1 #ifndef RecoMTD_DetLayers_MTDRingForwardLayer_H
2 #define RecoMTD_DetLayers_MTDRingForwardLayer_H
3 
13 
14 class ForwardDetRing;
15 class ForwardDetRingBuilder;
16 class GeomDet;
17 
19 public:
21  MTDRingForwardLayer(const std::vector<const ForwardDetRing*>& rings);
22 
23  ~MTDRingForwardLayer() override;
24 
25  // GeometricSearchDet interface
26 
27  const std::vector<const GeomDet*>& basicComponents() const override { return theBasicComps; }
28 
29  const std::vector<const GeometricSearchDet*>& components() const override;
30 
31  std::vector<DetWithState> compatibleDets(const TrajectoryStateOnSurface& startingState,
32  const Propagator& prop,
33  const MeasurementEstimator& est) const override;
34 
35  std::vector<DetGroup> groupedCompatibleDets(const TrajectoryStateOnSurface& startingState,
36  const Propagator& prop,
37  const MeasurementEstimator& est) const override;
38 
39  // DetLayer interface
40  SubDetector subDetector() const override;
41 
42  // Extension of the interface
43 
45  virtual const std::vector<const ForwardDetRing*>& rings() const { return theRings; }
46 
47 private:
48  std::vector<const ForwardDetRing*> theRings;
49  std::vector<const GeometricSearchDet*> theComponents; // duplication of the above
50  std::vector<const GeomDet*> theBasicComps; // All chambers
53 };
54 #endif
const std::vector< const GeometricSearchDet * > & components() const override
const std::vector< const GeomDet * > & basicComponents() const override
std::vector< const ForwardDetRing * > theRings
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
virtual const std::vector< const ForwardDetRing * > & rings() const
Return the vector of rings.
MTDRingForwardLayer(const std::vector< const ForwardDetRing *> &rings)
Constructor, takes ownership of pointers.
BaseBinFinder< double > * theBinFinder
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
std::vector< const GeometricSearchDet * > theComponents
SubDetector subDetector() const override
std::vector< const GeomDet * > theBasicComps