/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Parser/src/DDLShapelessSolid.cc
20 строк
882 B
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#include "DetectorDescription/Parser/src/DDLShapelessSolid.h" #include "DetectorDescription/Core/interface/DDSolid.h" #include "DetectorDescription/Parser/interface/DDLElementRegistry.h" #include "DetectorDescription/Parser/src/DDLSolid.h" #include "DetectorDescription/Parser/src/DDXMLElement.h" class DDCompactView; DDLShapelessSolid::DDLShapelessSolid(DDLElementRegistry* myreg) : DDLSolid(myreg) {} void DDLShapelessSolid::preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) { myRegistry_->getElement("rSolid")->clear(); } // Upon ending a ShapelessSolid element, call DDCore giving the box name, and dimensions. void DDLShapelessSolid::processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) { DDSolid dds = DDSolidFactory::shapeless(getDDName(nmspace)); DDLSolid::setReference(nmspace, cpv); }