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 
12 
13 class DetRod;
14 class DetRodBuilder;
15 class GeomDet;
16 
18 public:
19 
21  MuRodBarrelLayer(std::vector<const DetRod*>& rods);
22 
23  virtual ~MuRodBarrelLayer();
24 
25  // GeometricSearchDet interface
26 
27  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
28 
29  virtual const std::vector<const GeometricSearchDet*>& components() const;
30 
31  virtual std::vector<DetWithState>
32  compatibleDets( const TrajectoryStateOnSurface& startingState,
33  const Propagator& prop,
34  const MeasurementEstimator& est) const;
35 
36  virtual std::vector<DetGroup>
37  groupedCompatibleDets( const TrajectoryStateOnSurface& startingState,
38  const Propagator& prop,
39  const MeasurementEstimator& est) const;
40 
41 
42  virtual bool hasGroups() const;
43 
44 
45  // DetLayer interface
46  virtual SubDetector subDetector() const;
47 
48  // Extension of the interface
49 
51  virtual const std::vector<const DetRod*>& rods() const {return theRods;}
52 
53 
54 private:
55 
56  float xError(const TrajectoryStateOnSurface& tsos,
57  const MeasurementEstimator& est) const;
58 
59  std::vector<const DetRod*> theRods;
60  std::vector <const GeometricSearchDet*> theComponents; // duplication of the above
61  std::vector<const GeomDet*> theBasicComps; // All chambers
64 };
65 
66 #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:27
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()