CMS 3D CMS Logo

DDLRotationByAxis.h
Go to the documentation of this file.
1 #ifndef DDL_RotationByAxis_H
2 #define DDL_RotationByAxis_H
3 
4 #include <string>
5 
6 #include "DDXMLElement.h"
8 
9 class DDCompactView;
10 class DDLElementRegistry;
11 
13 
26 {
27  public:
28 
30 
31  void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
32  void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
33 
35 
36 private:
39 };
40 
41 #endif
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
DDLRotationByAxis(DDLElementRegistry *myreg)
std::string pNameSpace
virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string &axis, std::string &angle)
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:48
DDLRotationByAxis handles RotationByAxis elements.
The main class for processing parsed elements.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11