/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Parser/src/DDLRotationByAxis.h
39 строк
1 KB
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#ifndef DDL_RotationByAxis_H #define DDL_RotationByAxis_H #include <string> #include "DDXMLElement.h" #include "DetectorDescription/Core/interface/DDRotationMatrix.h" class DDCompactView; class DDLElementRegistry; /// DDLRotationByAxis handles RotationByAxis elements /** @class DDLRotationByAxis * @author Michael Case * * DDLRotationByAxis.h - description * ------------------- * begin: Wed. Nov. 19, 2003 * email: case@ucdhep.ucdavis.edu * * * This is the RotationByAxis element which rotates around an axis. * */ class DDLRotationByAxis : public DDXMLElement { public: DDLRotationByAxis(DDLElementRegistry* myreg); void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override; void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override; virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string& axis, std::string& angle); private: std::string pNameSpace; std::string pName; }; #endif