Go to the documentation of this file.
25 std::shared_ptr<DDLRotationByAxis> myRotations =
30 for (
size_t i = 0;
i < myRotations->size(); ++
i) {
31 atts = myRotations->getAttributeSet(
i);
32 R = myRotations->processOne(
R, atts.find(
"axis")->second, atts.find(
"angle")->second);
virtual void clear(void)
clear this element's contents.
The main class for processing parsed elements.
Compact representation of the geometrical detector hierarchy.
DDLRotationByAxis handles RotationByAxis elements.
std::map< std::string, std::string > DDXMLAttribute
DDLRotationSequence(DDLElementRegistry *myreg)
const virtual DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Represents a uniquely identifyable rotation matrix.
DDLElementRegistry * myRegistry_