/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/DetLayers/interface/ForwardDetRing.h
36 строк
1 KB
Cms Build
Clang-Format
31 май 2019, 13:16
31 май 2019, 13:16
38393ac
Код
Авторство
О чём код?
#ifndef ForwardDetRing_H #define ForwardDetRing_H /** \class ForwardDetRing * Abstract interface for a ring of detectors sitting on a BoundDisk. */ #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" #include "DataFormats/GeometrySurface/interface/BoundDisk.h" class ForwardDetRing : public GeometricSearchDet { public: using GeometricSearchDet::GeometricSearchDet; ~ForwardDetRing() override; void compatibleDetsV(const TrajectoryStateOnSurface& startingState, const Propagator& prop, const MeasurementEstimator& est, std::vector<DetWithState>& result) const override; const BoundSurface& surface() const final { return *theDisk; } //--- Extension of the interface /// Return the ring surface as a BoundDisk const BoundDisk& specificSurface() const { return *theDisk; } protected: /// Set the rod's disk void setDisk(BoundDisk* disk) { theDisk = disk; } private: ReferenceCountingPointer<BoundDisk> theDisk; }; #endif