/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Parser/src/DDLPolyGenerator.h
36 строк
1 KB
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#ifndef DDL_PolyGenerator_H #define DDL_PolyGenerator_H #include <string> #include "DDLSolid.h" class DDCompactView; class DDLElementRegistry; /// DDLPolyGenerator processes DDL XML Polycone and DDL XML Polyhedra elements. /** @class DDLPolyGenerator * @author Michael Case * * DDLPolyGenerator.h - description * ------------------- * begin: Mon Aug 5 2002 * email: case@ucdhep.ucdavis.edu * * The PolyGenerator element uses RZPoint elements. The DDLRZPoint * can return the r and z std::vectors with the points needed to form the * polycone. The RZPoint "accumulator" is also used by the Polyhedra * and Polycone elements, and could be used anywhere a pair of std::vectors * of r and z values are needed. * */ class DDLPolyGenerator final : public DDLSolid { public: DDLPolyGenerator(DDLElementRegistry* myreg); void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override; void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override; }; #endif