#include <EcalTBWeightsXMLTranslator.h>
Static Public Member Functions | |
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 std::string | dumpXML (const EcalCondHeader &header, const EcalTBWeights &record) |
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 19 of file EcalTBWeightsXMLTranslator.h.
|
staticprivate |
Definition at line 358 of file EcalTBWeightsXMLTranslator.cc.
References FrontierConditions_GlobalTag_cff::dump, xuti::EcalTBWeight_tag(), xuti::EcalTBWeights_tag(), xuti::EcalTDCId_tag(), xuti::EcalXtalGroupId_tag(), EcalTBWeights::getMap(), AlCaHLTBitMon_QueryRunRegistry::string, cms::xerces::toString(), cms::xerces::uStr(), xuti::writeHeader(), xuti::WriteNodeWithValue(), cscNeutronWriter_cfi::writer, and cms::concurrency::xercesInitialize().
|
staticprivate |
Definition at line 100 of file EcalTBWeightsXMLTranslator.cc.
References EcalWeightSet::getChi2WeightsAfterGainSwitch(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), xuti::getChildNode(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), mps_fire::i, xuti::id_tag(), xuti::row_tag(), AlCaHLTBitMon_QueryRunRegistry::string, cms::xerces::toString(), cms::xerces::uStr(), xuti::wgtAfterSwitch_tag(), xuti::wgtBeforeSwitch_tag(), xuti::wgtChi2AfterSwitch_tag(), and xuti::wgtChi2BeforeSwitch_tag().
|
static |
Definition at line 33 of file EcalTBWeightsXMLTranslator.cc.
References gather_cfg::cout, xuti::EcalTBWeight_tag(), xuti::EcalTDCId_tag(), xuti::EcalWeightSet_tag(), xuti::EcalXtalGroupId_tag(), xuti::getChildNode(), xuti::GetNodeData(), createfilelist::parser, xuti::readHeader(), EcalTBWeights::setValue(), cms::concurrency::xercesInitialize(), and cms::concurrency::xercesTerminate().
|
staticprivate |
Definition at line 321 of file EcalTBWeightsXMLTranslator.cc.
References mps_fire::i, xuti::id_tag(), gen::k, makeMuonMisalignmentScenario::matrix, trackingPlots::ncols, xuti::row_tag(), and cms::xerces::uStr().
|
staticprivate |
Definition at line 283 of file EcalTBWeightsXMLTranslator.cc.
References mps_fire::i, xuti::id_tag(), gen::k, makeMuonMisalignmentScenario::matrix, trackingPlots::ncols, xuti::row_tag(), and cms::xerces::uStr().
|
staticprivate |
Definition at line 253 of file EcalTBWeightsXMLTranslator.cc.
References xuti::EcalWeightSet_tag(), EcalWeightSet::getChi2WeightsBeforeGainSwitch(), EcalWeightSet::getWeightsAfterGainSwitch(), EcalWeightSet::getWeightsBeforeGainSwitch(), cms::xerces::uStr(), 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(), MillePedeFileConverter_cfg::out, cms::concurrency::xercesInitialize(), and cms::concurrency::xercesTerminate().