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:
19 
21  MuRodBarrelLayer(std::vector<const DetRod*>& rods);
22 
23  ~MuRodBarrelLayer() 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>
32  compatibleDets( const TrajectoryStateOnSurface& startingState,
33  const Propagator& prop,
34  const MeasurementEstimator& est) const override;
35 
36  std::vector<DetGroup>
37  groupedCompatibleDets( const TrajectoryStateOnSurface& startingState,
38  const Propagator& prop,
39  const MeasurementEstimator& est) const override;
40 
41 
42  // DetLayer interface
43  SubDetector subDetector() const override;
44 
45  // Extension of the interface
46 
48  virtual const std::vector<const DetRod*>& rods() const {return theRods;}
49 
50 
51 private:
52 
53  float xError(const TrajectoryStateOnSurface& tsos,
54  const MeasurementEstimator& est) const;
55 
56  std::vector<const DetRod*> theRods;
57  std::vector <const GeometricSearchDet*> theComponents; // duplication of the above
58  std::vector<const GeomDet*> theBasicComps; // All chambers
61 };
62 
63 #endif
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
const std::vector< const GeomDet * > & basicComponents() const override
const std::vector< const GeometricSearchDet * > & components() const override
std::vector< const GeomDet * > theBasicComps
BaseBinFinder< double > * theBinFinder
std::vector< const GeometricSearchDet * > theComponents
std::vector< const DetRod * > theRods
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
SubDetector subDetector() const override
float xError(const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
Definition: DetRod.h:13
~MuRodBarrelLayer() override
virtual const std::vector< const DetRod * > & rods() const
Return the vector of rods.
MuRodBarrelLayer(std::vector< const DetRod * > &rods)
Constructor, takes ownership of pointers.