#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 42 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 183 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 189 of file XMLProcessor.h.
References gather_cfg::cout, and mps_update::status.
|
inlinestatic |
Definition at line 205 of file XMLProcessor.h.
References gather_cfg::cout, and mps_update::status.
|
inlinestatic |
Definition at line 221 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 94 of file XMLProcessor.cc.
References ecalMGPA::adc(), egammaForCoreTracking_cff::depth, PVValHelper::eta, web.browse_db::loader, phi, digitizers_cfi::pixel, submit::rm, and slb().
Referenced by getInstance().
int XMLProcessor::addLMapHODataset | ( | XMLDOMBlock * | doc, |
LMapRowHO * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 160 of file XMLProcessor.cc.
References web.browse_db::loader.
Referenced by getInstance().
XMLDOMBlock * XMLProcessor::createLMapHBEFXMLBase | ( | std::string | templateFileName | ) |
Definition at line 81 of file XMLProcessor.cc.
References web.browse_db::loader, and mps_fire::result.
Referenced by getInstance().
XMLDOMBlock * XMLProcessor::createLMapHOXMLBase | ( | std::string | templateFileName | ) |
Definition at line 147 of file XMLProcessor.cc.
References web.browse_db::loader, and mps_fire::result.
Referenced by getInstance().
|
inlinestatic |
Definition at line 145 of file XMLProcessor.h.
References _toXMLCh(), addLMapHBEFDataset(), addLMapHODataset(), createLMapHBEFXMLBase(), createLMapHOXMLBase(), common_cff::doc, init(), instance, serializeDOM(), AlCaHLTBitMon_QueryRunRegistry::string, edmPickEvents::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 297 of file XMLProcessor.cc.
References MessageLogger_cfi::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 238 of file XMLProcessor.cc.
References gather_cfg::cout, python.rootplot.argparse::message, and fetchall_from_DQM_v2::release.
Referenced by getInstance().
int XMLProcessor::terminate | ( | void | ) |
Definition at line 316 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 217 of file XMLProcessor.cc.
References gather_cfg::cout.
Referenced by getInstance(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
int XMLProcessor::write | ( | XMLDOMBlock * | doc, |
std::string | target = "stdout" |
||
) |
Definition at line 205 of file XMLProcessor.cc.
References web.browse_db::loader.
Referenced by pkg.AbstractPkg::generate(), getInstance(), and querying.connection::write_and_commit().
|
staticprivate |
Definition at line 180 of file XMLProcessor.h.
Referenced by getInstance(), and production_tasks.Task::getname().