CMS 3D CMS Logo

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
MeasurementEstimator
Definition: MeasurementEstimator.h:19
GeomDet
Definition: GeomDet.h:27
MTDSectorForwardLayer::MTDSectorForwardLayer
MTDSectorForwardLayer(const std::vector< const MTDDetSector * > &sectors)
Constructor, takes ownership of pointers.
Definition: MTDSectorForwardLayer.cc:18
MTDSectorForwardLayer::subDetector
SubDetector subDetector() const override
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel,...
Definition: MTDSectorForwardLayer.cc:136
Propagator
Definition: Propagator.h:44
MTDSectorForwardLayer::~MTDSectorForwardLayer
~MTDSectorForwardLayer() override
Definition: MTDSectorForwardLayer.cc:56
MTDSectorForwardLayer::groupedCompatibleDets
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDSectorForwardLayer.cc:128
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MTDSectorForwardLayer::basicComponents
const std::vector< const GeomDet * > & basicComponents() const override
Definition: MTDSectorForwardLayer.h:18
MTDSectorForwardLayer::sectors
virtual const std::vector< const MTDDetSector * > & sectors() const
Return the vector of sectors.
Definition: MTDSectorForwardLayer.h:36
MTDSectorForwardLayer::theBasicComps
std::vector< const GeomDet * > theBasicComps
Definition: MTDSectorForwardLayer.h:41
DetLayer::SubDetector
GeomDetEnumerators::SubDetector SubDetector
Definition: DetLayer.h:23
MTDSectorForwardLayer::compatibleDets
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDSectorForwardLayer.cc:62
MTDSectorForwardLayer
Definition: MTDSectorForwardLayer.h:9
MTDSectorForwardLayer::theSectors
std::vector< const MTDDetSector * > theSectors
Definition: MTDSectorForwardLayer.h:39
ForwardDetLayer
Definition: ForwardDetLayer.h:22
MTDSectorForwardLayer::components
const std::vector< const GeometricSearchDet * > & components() const override
Returns basic components, if any.
Definition: MTDSectorForwardLayer.cc:140
ForwardDetLayer.h
MTDSectorForwardLayer::theComponents
std::vector< const GeometricSearchDet * > theComponents
Definition: MTDSectorForwardLayer.h:40
MTDDetSector
Definition: MTDDetSector.h:12