/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/TrackerNumberingBuilder/interface/TrackerShapeToBounds.h
24 строки
663 B
Adinda de Wit
Make Tk plugins handle both old DD and DD4hep
26 июн 2020, 17:22
26 июн 2020, 17:22
7b51564
Код
Авторство
О чём код?
#ifndef Geometry_TrackerNumberingBuilder_TrackerShapeToBounds_H #define Geometry_TrackerNumberingBuilder_TrackerShapeToBounds_H #include "DataFormats/GeometrySurface/interface/Bounds.h" #include "DetectorDescription/DDCMS/interface/DDSolidShapes.h" #include <vector> #include <algorithm> /** * Converts DDSolid volumes to Bounds */ class TrackerShapeToBounds { public: /** *buildBounds() return the Bounds. */ Bounds* buildBounds(const cms::DDSolidShape&, const std::vector<double>&) const; private: Bounds* buildBox(const std::vector<double>&) const; Bounds* buildTrap(const std::vector<double>&) const; Bounds* buildOpen() const; }; #endif