CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuRodBarrelLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_MuRodBarrelLayer_H
2 #define DetLayers_MuRodBarrelLayer_H
3 
14 
15 class DetRod;
16 class DetRodBuilder;
17 class GeomDet;
18 
20 public:
21 
23  MuRodBarrelLayer(std::vector<const DetRod*>& rods);
24 
25  virtual ~MuRodBarrelLayer();
26 
27  // GeometricSearchDet interface
28 
29  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
30 
31  virtual const std::vector<const GeometricSearchDet*>& components() const;
32 
33  virtual std::vector<DetWithState>
34  compatibleDets( const TrajectoryStateOnSurface& startingState,
35  const Propagator& prop,
36  const MeasurementEstimator& est) const;
37 
38  virtual std::vector<DetGroup>
39  groupedCompatibleDets( const TrajectoryStateOnSurface& startingState,
40  const Propagator& prop,
41  const MeasurementEstimator& est) const;
42 
43 
44  virtual bool hasGroups() const;
45 
46 
47  // DetLayer interface
48  virtual SubDetector subDetector() const;
49 
50  // Extension of the interface
51 
53  virtual const std::vector<const DetRod*>& rods() const {return theRods;}
54 
55 
56 private:
57 
58  float xError(const TrajectoryStateOnSurface& tsos,
59  const MeasurementEstimator& est) const;
60 
61  std::vector<const DetRod*> theRods;
62  std::vector <const GeometricSearchDet*> theComponents; // duplication of the above
63  std::vector<const GeomDet*> theBasicComps; // All chambers
66 };
67 
68 #endif
virtual bool hasGroups() const
std::vector< const GeomDet * > theBasicComps
BaseBinFinder< double > * theBinFinder
std::vector< const GeometricSearchDet * > theComponents
virtual std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
std::vector< const DetRod * > theRods
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
float xError(const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
GeomDetEnumerators::SubDetector SubDetector
Definition: DetLayer.h:29
Definition: DetRod.h:13
virtual const std::vector< const GeomDet * > & basicComponents() const
virtual std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
virtual const std::vector< const DetRod * > & rods() const
Return the vector of rods.
MuRodBarrelLayer(std::vector< const DetRod * > &rods)
Constructor, takes ownership of pointers.
virtual ~MuRodBarrelLayer()