#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 44 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 51 of file XMLProcessor.cc.
|
private |
|
private |
|
inlinestatic |
Definition at line 185 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 191 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
|
inlinestatic |
Definition at line 207 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
|
inlinestatic |
Definition at line 223 of file XMLProcessor.h.
References gather_cfg::cout, and ntuplemaker::status.
int XMLProcessor::addLMapHBEFDataset | ( | XMLDOMBlock * | doc, |
LMapRowHBEF * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 95 of file XMLProcessor.cc.
References ecalMGPA::adc(), eta(), phi, submit::rm, and dbtoconf::root.
int XMLProcessor::addLMapHODataset | ( | XMLDOMBlock * | doc, |
LMapRowHO * | row, | ||
std::string | templateFileName | ||
) |
Definition at line 161 of file XMLProcessor.cc.
References dbtoconf::root.
XMLDOMBlock * XMLProcessor::createLMapHBEFXMLBase | ( | std::string | templateFileName | ) |
Definition at line 82 of file XMLProcessor.cc.
References query::result.
XMLDOMBlock * XMLProcessor::createLMapHOXMLBase | ( | std::string | templateFileName | ) |
Definition at line 148 of file XMLProcessor.cc.
References query::result.
|
inlinestatic |
Definition at line 147 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 299 of file XMLProcessor.cc.
References dtNoiseDBValidation_cfg::cerr, and gather_cfg::cout.
XMLCh * XMLProcessor::serializeDOM | ( | DOMNode * | node, |
std::string | target = "stdout" |
||
) |
Definition at line 239 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 318 of file XMLProcessor.cc.
References gather_cfg::cout.
Referenced by HcaluLUTTPGCoder::updateXML().
int XMLProcessor::test | ( | void | ) |
Definition at line 218 of file XMLProcessor.cc.
References gather_cfg::cout.
int XMLProcessor::write | ( | XMLDOMBlock * | doc, |
std::string | target = "stdout" |
||
) |
Definition at line 206 of file XMLProcessor.cc.
Referenced by pkg.AbstractPkg::generate().
|
staticprivate |
Definition at line 182 of file XMLProcessor.h.
Referenced by getInstance().