#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 hcal_timing_source_file_cfg::dump, xuti::EcalTBWeight_tag(), xuti::EcalTBWeights_tag(), xuti::EcalTDCId_tag(), xuti::EcalXtalGroupId_tag(), xuti::fromNative(), EcalTBWeights::getMap(), pyrootRender::root, AlCaHLTBitMon_QueryRunRegistry::string, xuti::toNative(), xuti::writeHeader(), xuti::WriteNodeWithValue(), and cms::concurrency::xercesInitialize().
|
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(), relval_2017::k, makeMuonMisalignmentScenario::matrix, and xuti::row_tag().
|
staticprivate |
Definition at line 278 of file EcalTBWeightsXMLTranslator.cc.
References xuti::fromNative(), i, xuti::id_tag(), relval_2017::k, makeMuonMisalignmentScenario::matrix, and xuti::row_tag().
|
staticprivate |
Definition at line 248 of file EcalTBWeightsXMLTranslator.cc.
References 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 GenerateHcalLaserBadRunList::out.