Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:27

0001 #ifndef ForwardDetRing_H
0002 #define ForwardDetRing_H
0003 
0004 /** \class ForwardDetRing
0005  *  Abstract interface for a ring of detectors sitting on a BoundDisk.
0006  */
0007 
0008 #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
0009 #include "DataFormats/GeometrySurface/interface/BoundDisk.h"
0010 
0011 class ForwardDetRing : public GeometricSearchDet {
0012 public:
0013   using GeometricSearchDet::GeometricSearchDet;
0014 
0015   ~ForwardDetRing() override;
0016 
0017   void compatibleDetsV(const TrajectoryStateOnSurface& startingState,
0018                        const Propagator& prop,
0019                        const MeasurementEstimator& est,
0020                        std::vector<DetWithState>& result) const override;
0021 
0022   const BoundSurface& surface() const final { return *theDisk; }
0023 
0024   //--- Extension of the interface
0025 
0026   /// Return the ring surface as a BoundDisk
0027   const BoundDisk& specificSurface() const { return *theDisk; }
0028 
0029 protected:
0030   /// Set the rod's disk
0031   void setDisk(BoundDisk* disk) { theDisk = disk; }
0032 
0033 private:
0034   ReferenceCountingPointer<BoundDisk> theDisk;
0035 };
0036 #endif