CondTools
Ecal
interface
EcalWeightSetXMLTranslator.h
Go to the documentation of this file.
1
10
#ifndef __EcalWeightSetXMLTranslator_h_
11
#define __EcalWeightSetXMLTranslator_h_
12
13
#include "
CondFormats/EcalObjects/interface/EcalWeightSet.h
"
14
#include "
CondTools/Ecal/interface/EcalCondHeader.h
"
15
#include <xercesc/dom/DOMElement.hpp>
16
#include <string>
17
18
class
EcalWeightSetXMLTranslator
{
19
public
:
20
EcalWeightSetXMLTranslator
(){};
21
22
static
int
readXML
(
const
std::string
&
filename
,
EcalCondHeader
&
header
,
EcalWeightSet
&
record
);
23
24
static
int
writeXML
(
const
std::string
&
filename
,
const
EcalCondHeader
&
header
,
const
EcalWeightSet
&
record
);
25
26
private
:
27
static
std::string
dumpXML
(
const
EcalCondHeader
&
header
,
const
EcalWeightSet
&
record
);
28
29
static
void
write10x10
(xercesc::DOMElement* node,
const
EcalWeightSet
&
record
);
30
static
void
write3x10
(xercesc::DOMElement* node,
const
EcalWeightSet
&
record
);
31
};
32
33
#endif // __EcalWeightSetXMLTranslator_h_
EcalWeightSetXMLTranslator::write10x10
static void write10x10(xercesc::DOMElement *node, const EcalWeightSet &record)
Definition:
EcalWeightSetXMLTranslator.cc:180
GlobalPosition_Frontier_DevDB_cff.record
record
Definition:
GlobalPosition_Frontier_DevDB_cff.py:10
EcalWeightSetXMLTranslator
Definition:
EcalWeightSetXMLTranslator.h:18
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:123
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalCondHeader
Definition:
EcalCondHeader.h:16
EcalWeightSetXMLTranslator::writeXML
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalWeightSet &record)
Definition:
EcalWeightSetXMLTranslator.cc:167
EcalWeightSetXMLTranslator::EcalWeightSetXMLTranslator
EcalWeightSetXMLTranslator()
Definition:
EcalWeightSetXMLTranslator.h:20
EcalWeightSet
Definition:
EcalWeightSet.h:17
EcalWeightSetXMLTranslator::dumpXML
static std::string dumpXML(const EcalCondHeader &header, const EcalWeightSet &record)
Definition:
EcalWeightSetXMLTranslator.cc:255
EcalCondHeader.h
RecoTauValidation_cfi.header
header
Definition:
RecoTauValidation_cfi.py:292
EcalWeightSetXMLTranslator::write3x10
static void write3x10(xercesc::DOMElement *node, const EcalWeightSet &record)
Definition:
EcalWeightSetXMLTranslator.cc:217
EcalWeightSet.h
EcalWeightSetXMLTranslator::readXML
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
Definition:
EcalWeightSetXMLTranslator.cc:21
Generated for CMSSW Reference Manual by
1.8.16