CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MTDTrayBarrelLayer.h
Go to the documentation of this file.
1 #ifndef RecoMTD_DetLayers_MTDTrayBarrelLayer_H
2 #define RecoMTD_DetLayers_MTDTrayBarrelLayer_H
3 
12 
13 class DetRod;
14 class DetRodBuilder;
15 class GeomDet;
16 
18 public:
20  MTDTrayBarrelLayer(std::vector<const DetRod*>& rods);
21 
22  ~MTDTrayBarrelLayer() override;
23 
24  // GeometricSearchDet interface
25 
26  const std::vector<const GeomDet*>& basicComponents() const override { return theBasicComps; }
27 
28  const std::vector<const GeometricSearchDet*>& components() const override;
29 
30  std::vector<DetWithState> compatibleDets(const TrajectoryStateOnSurface& startingState,
31  const Propagator& prop,
32  const MeasurementEstimator& est) const override;
33 
34  std::vector<DetGroup> groupedCompatibleDets(const TrajectoryStateOnSurface& startingState,
35  const Propagator& prop,
36  const MeasurementEstimator& est) const override;
37 
38  // DetLayer interface
39  SubDetector subDetector() const override;
40 
41  // Extension of the interface
42 
44  virtual const std::vector<const DetRod*>& rods() const { return theRods; }
45 
46 private:
47  float xError(const TrajectoryStateOnSurface& tsos, const MeasurementEstimator& est) const;
48 
49  std::vector<const DetRod*> theRods;
50  std::vector<const GeometricSearchDet*> theComponents; // duplication of the above
51  std::vector<const GeomDet*> theBasicComps; // All chambers
54 };
55 
56 #endif
const std::vector< const GeomDet * > & basicComponents() const override
MTDTrayBarrelLayer(std::vector< const DetRod * > &rods)
Constructor, takes ownership of pointers.
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
std::vector< const DetRod * > theRods
~MTDTrayBarrelLayer() override
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
std::vector< const GeomDet * > theBasicComps
float xError(const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
virtual const std::vector< const DetRod * > & rods() const
Return the vector of rods.
Definition: DetRod.h:13
BaseBinFinder< double > * theBinFinder
SubDetector subDetector() const override
std::vector< const GeometricSearchDet * > theComponents
const std::vector< const GeometricSearchDet * > & components() const override