Translates a EcalChannelStatus record to XML and vice versa
- Author
- Francesco RUBBO
- Version
- Id
- EcalChannelStatusXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp
- Date
- 29 Jul 2008
Definition at line 16 of file EcalChannelStatusXMLTranslator.h.
Definition at line 82 of file EcalChannelStatusXMLTranslator.cc.
83 unique_ptr<DOMImplementation>
impl(DOMImplementationRegistry::getDOMImplementation(
cms::xerces::uStr(
"LS").ptr()));
85 DOMLSSerializer*
writer =
impl->createLSSerializer();
86 if (
writer->getDomConfig()->canSetParameter(XMLUni::fgDOMWRTFormatPrettyPrint,
true))
87 writer->getDomConfig()->setParameter(XMLUni::fgDOMWRTFormatPrettyPrint,
true);
89 DOMDocumentType* doctype =
impl->createDocumentType(
cms::xerces::uStr(
"XML").ptr(),
nullptr,
nullptr);
92 DOMElement*
root =
doc->getDocumentElement();
99 if (!
record[rawid].getStatusCode())
113 if (!
record[rawid].getStatusCode())
References xuti::ChannelStatus_tag(), xuti::ChannelStatusCode_tag(), boostedTaus_cff::doc, submitPVValidationJobs::dump, RecoTauValidation_cfi::header, EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, EBDetId::MIN_HASH, AlCaHarvesting_cff::record, AlCaHLTBitMon_QueryRunRegistry::string, cms::xerces::toString(), EBDetId::unhashIndex(), EEDetId::unhashIndex(), cms::xerces::uStr(), EEDetId::validHashIndex(), xuti::writeCell(), xuti::writeHeader(), xuti::WriteNodeWithValue(), and cscNeutronWriter_cfi::writer.