/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
MagneticField/Layers/interface/MagBSector.h
42 строки
1 KB
Cms Build
Clang-Format
22 май 2019, 04:56
22 май 2019, 04:56
27137c3
Код
Авторство
О чём код?
#ifndef MagBSector_H #define MagBSector_H /** \class MagBSector * * A container of volumes in the barrel. It is part of the hierarchical * organisation of barrel volumes: * * A barrel layer (MagBLayer) groups volumes at the same distance to * the origin. It consists of 12 sectors in phi (MagBSector). * Each sector consists of one or more rods (MagBRods) of equal width in phi. * Rods consist of one or more slabs (MagBSlab); each one consisting of one * or, in few cases, several volumes with the same lenght in Z. * * \author N. Amapane - INFN Torino */ #include <vector> class MagBRod; class MagVolume; #include "DataFormats/GeometryVector/interface/GlobalPoint.h" class MagBSector { public: /// Constructor MagBSector(std::vector<MagBRod*>& rods, Geom::Phi<float> phiMin); /// Destructor virtual ~MagBSector(); /// Find the volume containing a point, with a given tolerance const MagVolume* findVolume(const GlobalPoint& gp, double tolerance) const; /// Phi of sector start Geom::Phi<float> minPhi() const { return thePhiMin; } private: std::vector<MagBRod*> theRods; Geom::Phi<float> thePhiMin; }; #endif