5 #include <xercesc/dom/DOM.hpp>
14 XERCES_CPP_NAMESPACE_USE
16 using namespace PhysicsTools;
26 virtual ~ProcSplitter();
28 virtual void configure(DOMElement *
elem);
37 ProcSplitter::ProcSplitter(
const char *
name,
const AtomicId *
id,
43 ProcSplitter::~ProcSplitter()
47 void ProcSplitter::configure(DOMElement *
elem)
49 DOMNode *
node = elem->getFirstChild();
50 while(node && node->getNodeType() != DOMNode::ELEMENT_NODE)
51 node = node->getNextSibling();
54 std::strcmp(
XMLSimpleStr(node->getNodeName()),
"select") != 0)
56 <<
"Expected select tag in config section."
59 elem =
static_cast<DOMElement*
>(
node);
61 count = XMLDocument::readAttribute<unsigned int>(
elem,
"first");
63 node = node->getNextSibling();
64 while(node && node->getNodeType() != DOMNode::ELEMENT_NODE)
65 node = node->getNextSibling();
69 <<
"Superfluous tags in config section."
detail::ThreadSafeRegistry< ParameterSetID, ParameterSet, ProcessParameterSetIDCache > Registry
MVATrainerComputer * calib