35 DCOUT_V(
'P',
"DDLElementaryMaterial::processElement started" );
41 ev.
eval( nmspace, atts.find(
"atomicNumber" )->second ),
42 ev.
eval( nmspace, atts.find(
"atomicWeight" )->second ),
43 ev.
eval( nmspace, atts.find(
"density" )->second ));
48 DCOUT_V(
'P',
"DDLElementaryMaterial::processElement completed." );
DDLMaterial processes Box elements.
DDLElementRegistry * myRegistry_
DDMaterial is used to define and access material information.
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
type of data representation of DDCompactView
~DDLElementaryMaterial(void)
Destructor.
std::map< std::string, std::string > DDXMLAttribute
ClhepEvaluator & evaluator()
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
DDLElementaryMaterial(DDLElementRegistry *myreg)
Constructor.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
#define DCOUT_V(M_v_Y, M_v_S)
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)