#include <CalibCalorimetry/HcalTPGAlgos/interface/XMLProcessor.h>
Classes | |
struct | _checksumsDBConfig |
struct | _DBConfig |
struct | _LMapRowHBEF |
struct | _LMapRowHO |
struct | _loaderBaseConfig |
struct | _lutDBConfig |
Public Types | |
typedef XMLProcessor::_checksumsDBConfig | checksumsDBConfig |
typedef struct XMLProcessor::_DBConfig | DBConfig |
typedef struct XMLProcessor::_LMapRowHBEF | LMapRowHBEF |
typedef struct XMLProcessor::_LMapRowHO | LMapRowHO |
typedef struct XMLProcessor::_loaderBaseConfig | loaderBaseConfig |
typedef XMLProcessor::_lutDBConfig | lutDBConfig |
Public Member Functions | |
int | addLMapHBEFDataset (XMLDOMBlock *doc, LMapRowHBEF *row, std::string templateFileName) |
int | addLMapHODataset (XMLDOMBlock *doc, LMapRowHO *row, std::string templateFileName) |
XMLDOMBlock * | createLMapHBEFXMLBase (std::string templateFileName) |
XMLDOMBlock * | createLMapHOXMLBase (std::string templateFileName) |
int | init (void) |
XMLCh * | serializeDOM (XERCES_CPP_NAMESPACE::DOMNode *node, std::string target="stdout") |
int | terminate (void) |
int | test (void) |
int | write (XMLDOMBlock *doc, std::string target="stdout") |
virtual | ~XMLProcessor () |
Static Public Member Functions | |
static XMLCh * | _toXMLCh (std::string temp) |
static XMLCh * | _toXMLCh (int temp) |
static XMLCh * | _toXMLCh (double temp) |
static XMLCh * | _toXMLCh (time_t temp) |
static XMLProcessor * | getInstance () |
Private Member Functions | |
XMLProcessor () | |
XMLProcessor (const XMLProcessor &)=delete | |
Static Private Attributes | |
static XMLProcessor * | instance = nullptr |
Description: Testing Xerces library for processing HCAL DB XML wrappers
Usage: <usage>
Definition at line 40 of file XMLProcessor.h.
typedef struct XMLProcessor::_DBConfig XMLProcessor::DBConfig |
typedef struct XMLProcessor::_LMapRowHBEF XMLProcessor::LMapRowHBEF |
typedef struct XMLProcessor::_LMapRowHO XMLProcessor::LMapRowHO |
typedef struct XMLProcessor::_loaderBaseConfig XMLProcessor::loaderBaseConfig |
|
virtual |
|
private |
|
privatedelete |
|
inlinestatic |
Definition at line 172 of file XMLProcessor.h.
Referenced by LutXml::add_checksum(), LutXml::addData(), LutXml::addLut(), LutXml::addParameter(), LutXml::create_lut_map(), getInstance(), XMLDOMBlock::getTagAttribute(), XMLDOMBlock::init(), XMLDOMBlock::setTagAttribute(), and XMLDOMBlock::~XMLDOMBlock().
|
inlinestatic |
Definition at line 177 of file XMLProcessor.h.
References gather_cfg::cout, and mps_update::status.
|
inlinestatic |
Definition at line 189 of file XMLProcessor.h.
References gather_cfg::cout, and mps_update::status.
|
inlinestatic |
Definition at line 201 of file XMLProcessor.h.
References gather_cfg::cout, and mps_update::status.
int XMLProcessor::addLMapHBEFDataset | ( | XMLDOMBlock * | doc, |
LMapRowHBEF * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 92 of file XMLProcessor.cc.
References XMLProcessor::_LMapRowHBEF::adc, XMLProcessor::_LMapRowHBEF::crate, EgammaPostProcessor_cfi::dataSet, XMLProcessor::_LMapRowHBEF::dcc, XMLProcessor::_LMapRowHBEF::dcc_sl, XMLProcessor::_LMapRowHBEF::depth, XMLProcessor::_LMapRowHBEF::det, XMLProcessor::_LMapRowHBEF::dphi, XMLProcessor::_LMapRowHBEF::eta, XMLProcessor::_LMapRowHBEF::fedid, XMLProcessor::_LMapRowHBEF::fi_ch, XMLProcessor::_LMapRowHBEF::fpga, XMLDOMBlock::getDocument(), XMLProcessor::_LMapRowHBEF::htr, XMLProcessor::_LMapRowHBEF::htr_fi, web.browse_db::loader, XMLProcessor::_LMapRowHBEF::phi, XMLProcessor::_LMapRowHBEF::pixel, XMLProcessor::_LMapRowHBEF::qie, XMLProcessor::_LMapRowHBEF::rbx, XMLProcessor::_LMapRowHBEF::rctcar, XMLProcessor::_LMapRowHBEF::rctcon, XMLProcessor::_LMapRowHBEF::rctcra, XMLProcessor::_LMapRowHBEF::rctnam, XMLProcessor::_LMapRowHBEF::rm, XMLProcessor::_LMapRowHBEF::rm_fi, XMLProcessor::_LMapRowHBEF::side, XMLProcessor::_LMapRowHBEF::slb, XMLProcessor::_LMapRowHBEF::slbin, XMLProcessor::_LMapRowHBEF::slbin2, XMLProcessor::_LMapRowHBEF::slnam, XMLProcessor::_LMapRowHBEF::spigo, and XMLProcessor::_LMapRowHBEF::wedge.
Referenced by getInstance().
int XMLProcessor::addLMapHODataset | ( | XMLDOMBlock * | doc, |
LMapRowHO * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 158 of file XMLProcessor.cc.
References XMLProcessor::_LMapRowHO::adcO, XMLProcessor::_LMapRowHO::crateO, EgammaPostProcessor_cfi::dataSet, XMLProcessor::_LMapRowHO::dcc_slO, XMLProcessor::_LMapRowHO::dccO, XMLProcessor::_LMapRowHO::depthO, XMLProcessor::_LMapRowHO::detO, XMLProcessor::_LMapRowHO::dphiO, XMLProcessor::_LMapRowHO::etaO, XMLProcessor::_LMapRowHO::fedidO, XMLProcessor::_LMapRowHO::fi_chO, XMLProcessor::_LMapRowHO::fpgaO, XMLDOMBlock::getDocument(), XMLProcessor::_LMapRowHO::htr_fiO, XMLProcessor::_LMapRowHO::htrO, XMLProcessor::_LMapRowHO::let_codeO, web.browse_db::loader, XMLProcessor::_LMapRowHO::phiO, XMLProcessor::_LMapRowHO::pixelO, XMLProcessor::_LMapRowHO::qieO, XMLProcessor::_LMapRowHO::rbxO, XMLProcessor::_LMapRowHO::rm_fiO, XMLProcessor::_LMapRowHO::rmO, XMLProcessor::_LMapRowHO::sectorO, XMLProcessor::_LMapRowHO::sideO, and XMLProcessor::_LMapRowHO::spigoO.
Referenced by getInstance().
XMLDOMBlock * XMLProcessor::createLMapHBEFXMLBase | ( | std::string | templateFileName | ) |
Definition at line 77 of file XMLProcessor.cc.
References XMLDOMBlock::getDocument(), web.browse_db::loader, and mps_fire::result.
Referenced by getInstance().
XMLDOMBlock * XMLProcessor::createLMapHOXMLBase | ( | std::string | templateFileName | ) |
Definition at line 146 of file XMLProcessor.cc.
References XMLDOMBlock::getDocument(), web.browse_db::loader, and mps_fire::result.
Referenced by getInstance().
|
inlinestatic |
Definition at line 134 of file XMLProcessor.h.
References _toXMLCh(), addLMapHBEFDataset(), addLMapHODataset(), createLMapHBEFXMLBase(), createLMapHOXMLBase(), common_cff::doc, init(), instance, serializeDOM(), AlCaHLTBitMon_QueryRunRegistry::string, filterCSVwithJSON::target, groupFilesInBlocks::temp, terminate(), test(), write(), XMLProcessor(), and ~XMLProcessor().
Referenced by HcalLutManager::get_brickSet_from_oracle(), XMLDOMBlock::getNewDocument(), HCALConfigDB::getOnlineLUT(), XMLDOMBlock::init(), XMLDOMBlock::parse(), HcaluLUTTPGCoder::updateXML(), and XMLDOMBlock::XMLDOMBlock().
int XMLProcessor::init | ( | void | ) |
Definition at line 296 of file XMLProcessor.cc.
References beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, and cms::concurrency::xercesInitialize().
Referenced by getInstance().
XMLCh * XMLProcessor::serializeDOM | ( | XERCES_CPP_NAMESPACE::DOMNode * | node, |
std::string | target = "stdout" |
||
) |
Definition at line 245 of file XMLProcessor.cc.
References gather_cfg::cout, and fetchall_from_DQM_v2::release.
Referenced by getInstance().
int XMLProcessor::terminate | ( | void | ) |
Definition at line 313 of file XMLProcessor.cc.
References gather_cfg::cout, and cms::concurrency::xercesTerminate().
Referenced by getInstance(), and HcaluLUTTPGCoder::updateXML().
int XMLProcessor::test | ( | void | ) |
Definition at line 218 of file XMLProcessor.cc.
References gather_cfg::cout, and XMLDOMBlock::getDocument().
Referenced by getInstance(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
int XMLProcessor::write | ( | XMLDOMBlock * | doc, |
std::string | target = "stdout" |
||
) |
Definition at line 207 of file XMLProcessor.cc.
References XMLDOMBlock::getDocument(), and web.browse_db::loader.
Referenced by pkg.AbstractPkg::generate(), getInstance(), and querying.connection::write_and_commit().
|
staticprivate |
Definition at line 169 of file XMLProcessor.h.
Referenced by getInstance(), and production_tasks.Task::getname().