24 ev.
eval( nmspace, atts.find(
"atomicNumber" )->second ),
25 ev.
eval( nmspace, atts.find(
"atomicWeight" )->second ),
26 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.
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
Compact representation of the geometrical detector hierarchy.
std::map< std::string, std::string > DDXMLAttribute
ClhepEvaluator & evaluator()
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
DDLElementaryMaterial(DDLElementRegistry *myreg)
double eval(const std::string &ns, const std::string &expr)
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)