CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MTDSectorForwardLayer.h
Go to the documentation of this file.
1 #ifndef RecoMTD_DetLayers_MTDSectorForwardLayer_H
2 #define RecoMTD_DetLayers_MTDSectorForwardLayer_H
3 
5 
6 class MTDDetSector;
7 class GeomDet;
8 
10 public:
12  MTDSectorForwardLayer(const std::vector<const MTDDetSector*>& sectors);
13 
14  ~MTDSectorForwardLayer() override;
15 
16  // GeometricSearchDet interface
17 
18  const std::vector<const GeomDet*>& basicComponents() const override { return theBasicComps; }
19 
20  const std::vector<const GeometricSearchDet*>& components() const override;
21 
22  std::vector<DetWithState> compatibleDets(const TrajectoryStateOnSurface& startingState,
23  const Propagator& prop,
24  const MeasurementEstimator& est) const override;
25 
26  std::vector<DetGroup> groupedCompatibleDets(const TrajectoryStateOnSurface& startingState,
27  const Propagator& prop,
28  const MeasurementEstimator& est) const override;
29 
30  // DetLayer interface
31  SubDetector subDetector() const override;
32 
33  // Extension of the interface
34 
36  virtual const std::vector<const MTDDetSector*>& sectors() const { return theSectors; }
37 
38 private:
39  std::vector<const MTDDetSector*> theSectors;
40  std::vector<const GeometricSearchDet*> theComponents; // duplication of the above
41  std::vector<const GeomDet*> theBasicComps; // All chambers
42 };
43 #endif
virtual const std::vector< const MTDDetSector * > & sectors() const
Return the vector of sectors.
SubDetector subDetector() const override
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
const std::vector< const GeomDet * > & basicComponents() const override
MTDSectorForwardLayer(const std::vector< const MTDDetSector * > &sectors)
Constructor, takes ownership of pointers.
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
GeomDetEnumerators::SubDetector SubDetector
Definition: DetLayer.h:23
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
std::vector< const MTDDetSector * > theSectors
std::vector< const GeomDet * > theBasicComps
const std::vector< const GeometricSearchDet * > & components() const override
Returns basic components, if any.
std::vector< const GeometricSearchDet * > theComponents