CMS 3D CMS Logo

MuRodBarrelLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_MuRodBarrelLayer_H
2 #define DetLayers_MuRodBarrelLayer_H
3 
12 
13 class DetRod;
14 class DetRodBuilder;
15 class GeomDet;
16 
18 public:
20  MuRodBarrelLayer(std::vector<const DetRod*>& rods);
21 
22  ~MuRodBarrelLayer() 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
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
SubDetector subDetector() const override
MuRodBarrelLayer(std::vector< const DetRod *> &rods)
Constructor, takes ownership of pointers.
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
float xError(const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
std::vector< const GeomDet * > theBasicComps
BaseBinFinder< double > * theBinFinder
std::vector< const GeometricSearchDet * > theComponents
std::vector< const DetRod * > theRods
Definition: DetRod.h:13
~MuRodBarrelLayer() override
virtual const std::vector< const DetRod * > & rods() const
Return the vector of rods.
const std::vector< const GeometricSearchDet * > & components() const override