Go to the documentation of this file.
20 ev.eval(nmspace, atts.find(
"innerRadius")->second),
21 ev.eval(nmspace, atts.find(
"outerRadius")->second),
22 ev.eval(nmspace, atts.find(
"startPhi")->second),
23 ev.eval(nmspace, atts.find(
"deltaPhi")->second),
24 ev.eval(nmspace, atts.find(
"startTheta")->second),
25 ev.eval(nmspace, atts.find(
"deltaTheta")->second));
void setReference(const std::string &nmspace, DDCompactView &cpv)
DDLSolid processes Box elements.
The main class for processing parsed elements.
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.
static DDSolid sphere(const DDName &name, double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startTheta, double deltaTheta)
DDLElementRegistry * myRegistry_
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
DDLSphere(DDLElementRegistry *myreg)