|
ATLAS Offline Software
|
Go to the documentation of this file.
13 using namespace xercesc;
41 if(xvalues.size() != yvalues.size()) std::abort();
42 int nPoints=xvalues.size();
45 for (
int i=0;
i<nPoints;
i++)
49 v[2*nPoints-
i-1].x(-xvalues[
i]);
50 v[2*nPoints-
i-1].y(yvalues[
i]);
53 for (
int i=0;
i<2*nPoints;
i++)
61 std::vector<TwoPoint>
points;
65 (
c.GetHandlerStore().GetHandler(
"gvxy_point"));
66 if (!pointHand) std::abort();
70 for (child=
t->getFirstChild();child!=0;child=child->getNextSibling())
72 if (child->getNodeType()==DOMNode::ELEMENT_NODE) {
82 for (
int i=0;
i<nPoints;
i++)
90 for (
int i=0;
i<2*nPoints;
i++)
double getAttributeAsDouble(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
gvxysxHandler(const std::string &, AGDDController &c)
void SetMaterial(const std::string &n)
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
std::pair< std::vector< unsigned int >, bool > res
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
TwoPoint CurrentTwoPoint()
void SetPoint(TwoPoint p)
void SetColor(const std::string &c)