9 int size = CalibrationXML::readAttribute<int>(
dom,
"size");
11 DOMNode *n1 = dom->getFirstChild();
13 for (bin = 0; bin <
size; bin++) {
14 while ((n1->getNodeType() != DOMNode::ELEMENT_NODE) && (n1 !=
nullptr))
15 n1 = n1->getNextSibling();
18 binValues.push_back(CalibrationXML::readAttribute<double>(binElement,
"value"));
20 binULimits.push_back(CalibrationXML::readAttribute<double>(binElement,
"uLimit"));
21 n1 = n1->getNextSibling();
25 binValues.push_back(CalibrationXML::readAttribute<int>(dom,
"overFlowValue"));
27 limits =
Range(binULimits.front(), binULimits.back());
32 int size = binULimits.size();
static void writeAttribute(DOMElement *dom, const std::string &name, const T &value)
static DOMElement * addChild(DOMNode *dom, const std::string &name)
PixelRecoRange< float > Range
XERCES_CPP_NAMESPACE::DOMNode DOMNode
void write(DOMElement *dom) const override
XERCES_CPP_NAMESPACE::DOMElement DOMElement
void read(DOMElement *dom) override
tuple size
Write out results.