/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/TrackerGeometryBuilder/src/PlaneBuilderFromGeometricDet.cc
25 строк
992 B
Cms Build
Clang-Format
11 июн 2019, 11:27
11 июн 2019, 11:27
e3280da
Код
Авторство
О чём код?
#include "Geometry/TrackerGeometryBuilder/interface/PlaneBuilderFromGeometricDet.h" #include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h" #include <algorithm> //#define DEBUG /** given a current detector node in the DDFilteredView, extract the global translation and rotation. Further apply ORCA semantics for the local reference frame in which each solid of a detector is defined, in order to get the 'correct' GlobalToLocal transforms. Further determine the boundaries of the current detector. TODO: . The function currently only knows how to handle BarrelPixel detectors - should also know about other det-types. Maybe several classes, one per detector element? */ PlaneBuilderFromGeometricDet::ResultType PlaneBuilderFromGeometricDet::plane(const GeometricDet* gd) const { // gd->bounds() returns a pointer owned by the caller! return ResultType(new Plane(gd->positionBounds(), gd->rotationBounds(), gd->bounds().release())); }