/DetectorDescription/Parser/src/DDLRotationByAxis.h
https://github.com/aivanov-cern/cmssw · C Header · 48 lines · 18 code · 11 blank · 19 comment · 0 complexity · d0c26971d394c3ddb0fb9c6f9b76d801 MD5 · raw file
- #ifndef DDL_RotationByAxis_H
- #define DDL_RotationByAxis_H
- // -------------------------------------------------------------------------
- // Includes
- // -------------------------------------------------------------------------
- #include "DDXMLElement.h"
- // Base dependency
- #include "DetectorDescription/Base/interface/DDRotationMatrix.h"
- #include <string>
- /// 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:
- /// Constructor
- DDLRotationByAxis( DDLElementRegistry* myreg );
- /// Destructor
- virtual ~DDLRotationByAxis( void );
- virtual void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
- virtual void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
- virtual DDRotationMatrix processOne( DDRotationMatrix R, std::string& axis, std::string& angle );
- private:
- std::string pNameSpace;
- std::string pName;
- };
- #endif