CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ForwardDetLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_ForwardDetLayer_H
2 #define DetLayers_ForwardDetLayer_H
3 
16 
17 #include <vector>
18 #include <algorithm>
19 
20 class ForwardDetLayer : public DetLayer {
21 public:
22 
24 
25  virtual ~ForwardDetLayer();
26 
27  // GeometricSearchDet interface
28  virtual const BoundSurface& surface() const GCC11_FINAL { return *theDisk;}
29 
30  virtual std::pair<bool, TrajectoryStateOnSurface>
32  const MeasurementEstimator&) const;
33 
34  // DetLayer interface
36 
37  // Extension of the interface
38  virtual const BoundDisk& specificSurface() const GCC11_FINAL { return *theDisk;}
39 
40  bool contains( const Local3DPoint& p) const;
41 
42  protected:
43  void setSurface( BoundDisk* cp);
44 
45  virtual void initialize();
46 
47  float rmin() const { return theDisk->innerRadius();}
48  float rmax() const { return theDisk->outerRadius();}
49  float zmin() const { return (theDisk->position().z() - theDisk->bounds().thickness()*0.5f);}
50  float zmax() const { return (theDisk->position().z() + theDisk->bounds().thickness()*0.5f);}
51 
52 
53  virtual BoundDisk* computeSurface();
54 
55 
56  private:
58 
59 
60 };
61 
62 
63 #endif
virtual BoundDisk * computeSurface()
void setSurface(BoundDisk *cp)
float rmin() const
float zmin() const
virtual ~ForwardDetLayer()
virtual void initialize()
virtual const BoundSurface & surface() const GCC11_FINAL
The surface of the GeometricSearchDet.
bool contains(const Local3DPoint &p) const
ReferenceCountingPointer< BoundDisk > theDisk
float zmax() const
string const
Definition: compareJSON.py:14
virtual const BoundDisk & specificSurface() const GCC11_FINAL
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const
virtual Location location() const GCC11_FINAL
Which part of the detector (barrel, endcap)
float rmax() const
Unlimited (trivial) bounds.