/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TrackingTools/DetLayers/interface/DetRod.h
39 строк
969 B
Cms Build
Clang-Format
31 май 2019, 13:16
31 май 2019, 13:16
38393ac
Код
Авторство
О чём код?
#ifndef DetLayers_DetRod_H #define DetLayers_DetRod_H /** \class DetRod * Abstract interface for a rod of detectors sitting on a Plane. */ #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" #include "DataFormats/GeometrySurface/interface/Plane.h" class MeasurementEstimator; class DetRod : public GeometricSearchDet { public: using GeometricSearchDet::GeometricSearchDet; ~DetRod() override; const BoundSurface& surface() const final { return *thePlane; } //--- Extension of the interface /// Return the rod surface as a Plane virtual const Plane& specificSurface() const final { return *thePlane; } protected: /// Set the rod's plane void setPlane(Plane* plane) { thePlane = plane; } //obsolete? // Return the range in Z to be checked for compatibility //float zError( const TrajectoryStateOnSurface& tsos, // const MeasurementEstimator& est) const; private: ReferenceCountingPointer<Plane> thePlane; }; #endif