#include <ESGainXMLTranslator.h>
Definition at line 16 of file ESGainXMLTranslator.h.
Definition at line 36 of file ESGainXMLTranslator.cc.
References xuti::ADCToGeVConstant_tag(), FrontierConditions_GlobalTag_cff::dump, xuti::ESGain_tag(), ESGain::getESGain(), AlCaHLTBitMon_QueryRunRegistry::string, cms::xerces::toString(), cms::xerces::uStr(), xuti::writeHeader(), xuti::WriteNodeWithValue(), and cscNeutronWriter_cfi::writer.
39 unique_ptr<DOMImplementation>
impl( DOMImplementationRegistry::getDOMImplementation(
cms::xerces::uStr(
"LS").ptr()));
41 DOMLSSerializer*
writer =
impl->createLSSerializer();
42 if( writer->getDomConfig()->canSetParameter( XMLUni::fgDOMWRTFormatPrettyPrint,
true ))
43 writer->getDomConfig()->setParameter( XMLUni::fgDOMWRTFormatPrettyPrint,
true );
49 DOMElement*
root = doc->getDocumentElement();
void WriteNodeWithValue(xercesc::DOMNode *parentNode, const std::string &tag, const T &value)
write a node with
const std::string ESGain_tag("ESGain")
std::string toString(XMLCh const *toTranscode)
const std::string ADCToGeVConstant_tag("EcalADCToGeVConstant")
void writeHeader(xercesc::DOMNode *parentNode, const EcalCondHeader &header)
write
ZStr< XMLCh > uStr(char const *str)
int ESGainXMLTranslator::writeXML |
( |
const std::string & |
filename, |
|
|
const EcalCondHeader & |
header, |
|
|
const ESGain & |
record |
|
) |
| |
|
static |