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 public:
28 
29  void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
30  void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
31 
33 
34 private:
37 };
38 
39 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDLRotationByAxis(DDLElementRegistry *myreg)
std::string pNameSpace
virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string &axis, std::string &angle)
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
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