Go to the documentation of this file.
22 ev.eval(nmspace, atts.find(
"dx")->second),
23 ev.eval(nmspace, atts.find(
"dy")->second),
24 ev.eval(nmspace, atts.find(
"dz")->second));
void setReference(const std::string &nmspace, DDCompactView &cpv)
DDName is used to identify DDD entities uniquely.
DDLSolid processes Box elements.
The main class for processing parsed elements.
DDLBox(DDLElementRegistry *myreg)
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
ClhepEvaluator & evaluator()
Compact representation of the geometrical detector hierarchy.
std::map< std::string, std::string > DDXMLAttribute
const virtual DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
A DDSolid represents the shape of a part.
DDLElementRegistry * myRegistry_
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.