CMS 3D CMS Logo

EcalTBWeightsXMLTranslator.h
Go to the documentation of this file.
1 
10 #ifndef _EcalTBWeightsXMLTranslator_h_
11 #define _EcalTBWeightsXMLTranslator_h_
12 
16 #include <xercesc/dom/DOMNode.hpp>
17 #include <string>
18 
20 public:
22 
23  static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalTBWeights& record);
24 
25 private:
27 
28  static void readWeightSet(xercesc::DOMNode* parentNode, EcalWeightSet& ws);
29  static void writeWeightSet(xercesc::DOMNode* parentNode, const EcalWeightSet& ws);
30  static void writeWeightMatrix(xercesc::DOMNode* node, const EcalWeightSet::EcalWeightMatrix& matrix);
31 
32  static void writeChi2WeightMatrix(xercesc::DOMNode* node, const EcalWeightSet::EcalChi2WeightMatrix& matrix);
33 };
34 
35 #endif
EcalTBWeightsXMLTranslator::writeWeightSet
static void writeWeightSet(xercesc::DOMNode *parentNode, const EcalWeightSet &ws)
Definition: EcalTBWeightsXMLTranslator.cc:213
makeMuonMisalignmentScenario.matrix
list matrix
Definition: makeMuonMisalignmentScenario.py:141
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
EcalTBWeights.h
EcalWeightSet::EcalWeightMatrix
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition: EcalWeightSet.h:19
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
EcalTBWeightsXMLTranslator::readXML
static int readXML(const std::string &filename, EcalCondHeader &header, EcalTBWeights &record)
Definition: EcalTBWeightsXMLTranslator.cc:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalCondHeader
Definition: EcalCondHeader.h:16
EcalWeightSet::EcalChi2WeightMatrix
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition: EcalWeightSet.h:20
EcalTBWeightsXMLTranslator::writeXML
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalTBWeights &record)
Definition: EcalTBWeightsXMLTranslator.cc:76
EcalTBWeightsXMLTranslator::writeChi2WeightMatrix
static void writeChi2WeightMatrix(xercesc::DOMNode *node, const EcalWeightSet::EcalChi2WeightMatrix &matrix)
Definition: EcalTBWeightsXMLTranslator.cc:268
EcalTBWeightsXMLTranslator::writeWeightMatrix
static void writeWeightMatrix(xercesc::DOMNode *node, const EcalWeightSet::EcalWeightMatrix &matrix)
Definition: EcalTBWeightsXMLTranslator.cc:238
EcalWeightSet
Definition: EcalWeightSet.h:17
EcalTBWeightsXMLTranslator::readWeightSet
static void readWeightSet(xercesc::DOMNode *parentNode, EcalWeightSet &ws)
Definition: EcalTBWeightsXMLTranslator.cc:89
EcalCondHeader.h
EcalTBWeightsXMLTranslator::dumpXML
static std::string dumpXML(const EcalCondHeader &header, const EcalTBWeights &record)
Definition: EcalTBWeightsXMLTranslator.cc:298
EcalTBWeightsXMLTranslator
Definition: EcalTBWeightsXMLTranslator.h:19
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292
EcalWeightSet.h
EcalTBWeights
Definition: EcalTBWeights.h:15