20 ev.eval(nmspace, atts.find(
"atomicNumber")->second),
21 ev.eval(nmspace, atts.find(
"atomicWeight")->second),
22 ev.eval(nmspace, atts.find(
"density")->second));
DDLMaterial processes Box elements.
DDLElementRegistry * myRegistry_
DDMaterial is used to define and access material information.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Compact representation of the geometrical detector hierarchy.
std::map< std::string, std::string > DDXMLAttribute
ClhepEvaluator & evaluator()
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
DDLElementaryMaterial(DDLElementRegistry *myreg)
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)