/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Parser/src/DDLRotationAndReflection.h
40 строк
1 KB
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#ifndef DDL_RotationAndReflection_H #define DDL_RotationAndReflection_H #include <string> #include "DDXMLElement.h" #include "DetectorDescription/Core/interface/DDTranslation.h" class DDCompactView; class DDLElementRegistry; /// DDLRotationAndReflection handles RotationCMSIM and ReflectionRotation elements. /** @class DDLRotationAndReflection * @author Michael Case * * DDLRotationAndReflection.h - description * ------------------- * begin: Tue Oct 30 2001 * email: case@ucdhep.ucdavis.edu * * * This is the Rotation and Reflection element processor. * */ class DDLRotationAndReflection final : public DDXMLElement { public: DDLRotationAndReflection(DDLElementRegistry* myreg); /// returns 1 = left handed rotation matrix, 0 = right-handed, -1 = not orthonormal. int isLeftHanded(const DD3Vector& x, const DD3Vector& y, const DD3Vector& z, const std::string& nmspace); void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override; private: DD3Vector makeX(const std::string& nmspace); DD3Vector makeY(const std::string& nmspace); DD3Vector makeZ(const std::string& nmspace); }; #endif