#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 (double temp) |
static XMLCh * | _toXMLCh (int temp) |
static XMLCh * | _toXMLCh (std::string 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 |
Definition at line 49 of file XMLProcessor.cc.
|
private |
|
privatedelete |
|
inlinestatic |
Definition at line 189 of file XMLProcessor.h.
References visDQMUpload::buf, gather_cfg::cout, mps_update::status, and groupFilesInBlocks::temp.
|
inlinestatic |
Definition at line 177 of file XMLProcessor.h.
References visDQMUpload::buf, gather_cfg::cout, mps_update::status, and groupFilesInBlocks::temp.
|
inlinestatic |
Definition at line 172 of file XMLProcessor.h.
References groupFilesInBlocks::temp.
Referenced by LutXml::add_checksum(), LutXml::addData(), LutXml::addLut(), LutXml::addParameter(), LutXml::create_lut_map(), XMLDOMBlock::getTagAttribute(), XMLDOMBlock::init(), and XMLDOMBlock::setTagAttribute().
|
inlinestatic |
Definition at line 201 of file XMLProcessor.h.
References visDQMUpload::buf, gather_cfg::cout, mps_update::status, and groupFilesInBlocks::temp.
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, common_cff::doc, 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.
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, common_cff::doc, 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.
XMLDOMBlock * XMLProcessor::createLMapHBEFXMLBase | ( | std::string | templateFileName | ) |
Definition at line 77 of file XMLProcessor.cc.
References web.browse_db::loader, and mps_fire::result.
XMLDOMBlock * XMLProcessor::createLMapHOXMLBase | ( | std::string | templateFileName | ) |
Definition at line 146 of file XMLProcessor.cc.
References web.browse_db::loader, and mps_fire::result.
|
inlinestatic |
Definition at line 134 of file XMLProcessor.h.
References instance, 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 EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, and cms::concurrency::xercesInitialize().
XMLCh * XMLProcessor::serializeDOM | ( | XERCES_CPP_NAMESPACE::DOMNode * | node, |
std::string | target = "stdout" |
||
) |
Definition at line 245 of file XMLProcessor.cc.
References gather_cfg::cout, fetchall_from_DQM_v2::release, and filterCSVwithJSON::target.
int XMLProcessor::terminate | ( | void | ) |
Definition at line 313 of file XMLProcessor.cc.
References gather_cfg::cout, and cms::concurrency::xercesTerminate().
Referenced by HcaluLUTTPGCoder::updateXML().
int XMLProcessor::test | ( | void | ) |
Definition at line 218 of file XMLProcessor.cc.
References gather_cfg::cout, and XMLDOMBlock::getDocument().
Referenced by 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 common_cff::doc, web.browse_db::loader, and filterCSVwithJSON::target.
Referenced by pkg.AbstractPkg::generate(), and querying.connection::write_and_commit().
|
staticprivate |
Definition at line 169 of file XMLProcessor.h.
Referenced by getInstance(), and production_tasks.Task::getname().