#include <EcalTBWeightsXMLTranslator.h>
Static Public Member Functions | |
static std::string | dumpXML (const EcalCondHeader &header, const EcalTBWeights &record) |
static int | readXML (const std::string &filename, EcalCondHeader &header, EcalTBWeights &record) |
static int | writeXML (const std::string &filename, const EcalCondHeader &header, const EcalTBWeights &record) |
Static Private Member Functions | |
static void | readWeightSet (xercesc::DOMNode *parentNode, EcalWeightSet &ws) |
static void | writeChi2WeightMatrix (xercesc::DOMNode *node, const EcalWeightSet::EcalChi2WeightMatrix &matrix) |
static void | writeWeightMatrix (xercesc::DOMNode *node, const EcalWeightSet::EcalWeightMatrix &matrix) |
static void | writeWeightSet (xercesc::DOMNode *parentNode, const EcalWeightSet &ws) |
Translates a EcalTBWeights record to XML and vice versa
Definition at line 22 of file EcalTBWeightsXMLTranslator.h.
|
static |
Definition at line 353 of file EcalTBWeightsXMLTranslator.cc.
References asciidump::doc, hcal_timing_source_file_cfg::dump, xuti::EcalTBWeight_tag(), xuti::EcalTBWeights_tag(), xuti::EcalTDCId_tag(), xuti::EcalXtalGroupId_tag(), xuti::fromNative(), EcalTBWeights::getMap(), dbtoconf::root, AlCaHLTBitMon_QueryRunRegistry::string, xuti::toNative(), xuti::writeHeader(), xuti::WriteNodeWithValue(), and cms::concurrency::xercesInitialize().
Referenced by cond::PayLoadInspector< DataT >::dump(), and cond::PayLoadInspector< DataT >::summary().
|
staticprivate |
Definition at line 95 of file EcalTBWeightsXMLTranslator.cc.
References xuti::fromNative(), EcalWeightSet::getChi2WeightsAfterGainSwitch(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), xuti::getChildNode(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), i, xuti::id_tag(), xuti::row_tag(), AlCaHLTBitMon_QueryRunRegistry::string, xuti::toNative(), histoStyle::weight, xuti::wgtAfterSwitch_tag(), xuti::wgtBeforeSwitch_tag(), xuti::wgtChi2AfterSwitch_tag(), and xuti::wgtChi2BeforeSwitch_tag().
|
static |
Definition at line 35 of file EcalTBWeightsXMLTranslator.cc.
References gather_cfg::cout, xuti::EcalTBWeight_tag(), xuti::EcalTDCId_tag(), xuti::EcalWeightSet_tag(), xuti::EcalXtalGroupId_tag(), xuti::getChildNode(), xuti::GetNodeData(), geometryXMLtoCSV::parser, xuti::readHeader(), EcalTBWeights::setValue(), and cms::concurrency::xercesInitialize().
|
staticprivate |
Definition at line 316 of file EcalTBWeightsXMLTranslator.cc.
References xuti::fromNative(), i, xuti::id_tag(), gen::k, makeMuonMisalignmentScenario::matrix, and xuti::row_tag().
|
staticprivate |
Definition at line 278 of file EcalTBWeightsXMLTranslator.cc.
References xuti::fromNative(), i, xuti::id_tag(), gen::k, makeMuonMisalignmentScenario::matrix, and xuti::row_tag().
|
staticprivate |
Definition at line 248 of file EcalTBWeightsXMLTranslator.cc.
References asciidump::doc, xuti::EcalWeightSet_tag(), xuti::fromNative(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), xuti::wgtAfterSwitch_tag(), xuti::wgtBeforeSwitch_tag(), xuti::wgtChi2AfterSwitch_tag(), and xuti::wgtChi2BeforeSwitch_tag().
|
static |
Definition at line 85 of file EcalTBWeightsXMLTranslator.cc.
References EcalCondTools::dumpXML(), and dbtoconf::out.