#include <ESGainXMLTranslator.h>
Definition at line 16 of file ESGainXMLTranslator.h.
◆ dumpXML()
Definition at line 31 of file ESGainXMLTranslator.cc.
32 unique_ptr<DOMImplementation>
impl(DOMImplementationRegistry::getDOMImplementation(
cms::xerces::uStr(
"LS").ptr()));
34 DOMLSSerializer*
writer =
impl->createLSSerializer();
35 if (
writer->getDomConfig()->canSetParameter(XMLUni::fgDOMWRTFormatPrettyPrint,
true))
36 writer->getDomConfig()->setParameter(XMLUni::fgDOMWRTFormatPrettyPrint,
true);
38 DOMDocumentType* doctype =
impl->createDocumentType(
cms::xerces::uStr(
"XML").ptr(),
nullptr,
nullptr);
41 DOMElement*
root =
doc->getDocumentElement();
References xuti::ADCToGeVConstant_tag(), common_cff::doc, FrontierConditions_GlobalTag_cff::dump, xuti::ESGain_tag(), RecoTauValidation_cfi::header, GlobalPosition_Frontier_DevDB_cff::record, AlCaHLTBitMon_QueryRunRegistry::string, cms::xerces::toString(), cms::xerces::uStr(), xuti::writeHeader(), xuti::WriteNodeWithValue(), and cscNeutronWriter_cfi::writer.
◆ writeXML()
int ESGainXMLTranslator::writeXML |
( |
const std::string & |
filename, |
|
|
const EcalCondHeader & |
header, |
|
|
const ESGain & |
record |
|
) |
| |
|
static |