CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BarrelDetLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_BarrelDetLayer_H
2 #define DetLayers_BarrelDetLayer_H
3 
15 
18 
19 #include <vector>
20 #include <algorithm>
21 
22 
23 class BarrelDetLayer : public DetLayer {
24  public:
25 
26  BarrelDetLayer(bool doHaveGroup) : DetLayer(doHaveGroup,true),
27  theCylinder(0){}
28 
29  virtual ~BarrelDetLayer();
30 
32  virtual const BoundSurface& surface() const GCC11_FINAL { return *theCylinder;}
33 
34  virtual std::pair<bool, TrajectoryStateOnSurface>
37 
39  virtual Location location() const GCC11_FINAL {return GeomDetEnumerators::barrel;}
40 
41 
44 
45  bool contains( const Local3DPoint& p) const;
46 
47 
48 
49 protected:
50 
51  virtual void initialize();
52 
53  void setSurface( BoundCylinder* cp);
54  virtual BoundCylinder* computeSurface();
55 
56  SimpleCylinderBounds const & bounds() const { return static_cast<SimpleCylinderBounds const &>(theCylinder->bounds());}
57 
58 
59 private:
60  //float theRmin, theRmax, theZmin, theZmax;
62 
63 };
64 
65 #endif
virtual BoundCylinder * computeSurface()
#define GCC11_FINAL
virtual void initialize()
BarrelDetLayer(bool doHaveGroup)
bool contains(const Local3DPoint &p) const
SimpleCylinderBounds const & bounds() const
void setSurface(BoundCylinder *cp)
virtual ~BarrelDetLayer()
virtual Location location() const
DetLayer interface.
virtual const BoundSurface & surface() const
GeometricSearchDet interface.
virtual const BoundCylinder & specificSurface() const
Extension of the interface.
string const
Definition: compareJSON.py:14
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const
ReferenceCountingPointer< BoundCylinder > theCylinder