CMS 3D CMS Logo

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),
28 
29  ~BarrelDetLayer() override;
30 
32  const BoundSurface& surface() const final { return *theCylinder;}
33 
34  std::pair<bool, TrajectoryStateOnSurface>
36  const MeasurementEstimator&) const final;
37 
40 
41 
43  virtual const BoundCylinder& specificSurface() const final { return *theCylinder;}
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()
virtual void initialize()
#define nullptr
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const final
BarrelDetLayer(bool doHaveGroup)
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.
bool contains(const Local3DPoint &p) const
Location location() const final
DetLayer interface.
SimpleCylinderBounds const & bounds() const
void setSurface(BoundCylinder *cp)
const BoundSurface & surface() const final
GeometricSearchDet interface.
~BarrelDetLayer() override
ReferenceCountingPointer< BoundCylinder > theCylinder