#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 (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 &) | |
Static Private Attributes | |
static XMLProcessor * | instance = NULL |
Description: Testing Xerces library for processing HCAL DB XML wrappers
Usage: <usage>
Definition at line 43 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 50 of file XMLProcessor.cc.
|
private |
|
private |
|
inlinestatic |
Definition at line 184 of file XMLProcessor.h.
Referenced by LutXml::add_checksum(), HcalTriggerKey::add_data(), HcalL1TriggerObjectsXml::add_data(), HcalChannelQualityXml::add_data(), HcalChannelDataXml::add_dataset(), HcalChannelDataXml::add_hcal_channel(), LutXml::addData(), DBlmapWriter::addLMapHBEFDataset(), LMapLoader::addLMapHBEFDataset(), DBlmapWriter::addLMapHODataset(), LMapLoader::addLMapHODataset(), LutXml::addLut(), LutXml::addParameter(), XMLRBXPedestalsLoader::addRBXSlot(), LutXml::create_lut_map(), DBlmapWriter::createLMapHBEFXMLBase(), LMapLoader::createLMapHBEFXMLBase(), DBlmapWriter::createLMapHOXMLBase(), HcalChannelDataXml::get_channel_element(), HcalChannelDataXml::get_data_element(), XMLDOMBlock::getTagAttribute(), XMLDOMBlock::getTagValue(), XMLDOMBlock::init(), XMLDOMBlock::setTagAttribute(), and XMLDOMBlock::setTagValue().
|
inlinestatic |
Definition at line 190 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
|
inlinestatic |
Definition at line 206 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
|
inlinestatic |
Definition at line 222 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
int XMLProcessor::addLMapHBEFDataset | ( | XMLDOMBlock * | doc, |
LMapRowHBEF * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 94 of file XMLProcessor.cc.
References ecalMGPA::adc(), HLT_25ns14e33_v1_cff::depth, eta, phi, submit::rm, dbtoconf::root, and slb().
int XMLProcessor::addLMapHODataset | ( | XMLDOMBlock * | doc, |
LMapRowHO * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 160 of file XMLProcessor.cc.
References dbtoconf::root.
XMLDOMBlock * XMLProcessor::createLMapHBEFXMLBase | ( | std::string | templateFileName | ) |
Definition at line 81 of file XMLProcessor.cc.
References query::result.
XMLDOMBlock * XMLProcessor::createLMapHOXMLBase | ( | std::string | templateFileName | ) |
Definition at line 147 of file XMLProcessor.cc.
References query::result.
|
inlinestatic |
Definition at line 146 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 298 of file XMLProcessor.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, and cms::concurrency::xercesInitialize().
XMLCh * XMLProcessor::serializeDOM | ( | DOMNode * | node, |
std::string | target = "stdout" |
||
) |
Definition at line 238 of file XMLProcessor.cc.
References gather_cfg::cout, python.rootplot.argparse::message, NULL, and fetchall_from_DQM_v2::release.
int XMLProcessor::terminate | ( | void | ) |
Definition at line 317 of file XMLProcessor.cc.
References gather_cfg::cout, and cms::concurrency::xercesTerminate().
Referenced by HcaluLUTTPGCoder::updateXML().
int XMLProcessor::test | ( | void | ) |
Definition at line 217 of file XMLProcessor.cc.
References gather_cfg::cout.
int XMLProcessor::write | ( | XMLDOMBlock * | doc, |
std::string | target = "stdout" |
||
) |
Definition at line 205 of file XMLProcessor.cc.
Referenced by pkg.AbstractPkg::generate().
|
staticprivate |
Definition at line 181 of file XMLProcessor.h.
Referenced by getInstance().