#include <CaloOnlineTools/HcalOnlineDb/interface/XMLRBXPedestalsLoader.h>
Classes | |
struct | _datasetDBConfig |
struct | _loaderBaseConfig |
Public Types | |
typedef XMLRBXPedestalsLoader::_datasetDBConfig | datasetDBConfig |
typedef struct XMLRBXPedestalsLoader::_loaderBaseConfig | loaderBaseConfig |
Public Member Functions | |
int | addRBXSlot (datasetDBConfig *config, std::string brickFileName, std::string rbx_config_type="pedestals", std::string templateFileName="HCAL_RBX_PEDESTALS_TYPE01.dataset.template") |
XMLRBXPedestalsLoader (loaderBaseConfig *config, std::string templateBase="HCAL_RBX_PEDESTALS_TYPE01.XMLloader.template") | |
virtual | ~XMLRBXPedestalsLoader () |
Public Member Functions inherited from XMLDOMBlock | |
XERCES_CPP_NAMESPACE::DOMElement * | add_element (XERCES_CPP_NAMESPACE::DOMElement *parent, XMLCh *tagname, XMLCh *value) |
XERCES_CPP_NAMESPACE::DOMDocument * | getDocument (void) |
XERCES_CPP_NAMESPACE::DOMDocument * | getDocumentConst (void) const |
XERCES_CPP_NAMESPACE::DOMDocument * | getNewDocument (std::string xmlFileName) |
std::string & | getString (void) |
std::string & | getString (XERCES_CPP_NAMESPACE::DOMNode *_node) |
const char * | getTagAttribute (const std::string &tagName, const std::string &attrName, int _item=0) |
const char * | getTagValue (const std::string &tagName, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
const char * | getTagValue (const std::string &tagName, int _item, XERCES_CPP_NAMESPACE::DOMElement *_document) |
std::string | getTimestamp (time_t _time) |
XMLDOMBlock & | operator+= (const XMLDOMBlock &other) |
void | parse (XERCES_CPP_NAMESPACE::InputSource &_source) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (const std::string &tagName, const std::string &tagValue, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &tagValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (const std::string &tagName, const int &tagValue, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const int &tagValue, int _item=0) |
int | write (std::string target="stdout") |
XMLDOMBlock () | |
XMLDOMBlock (std::string xmlFileName) | |
XMLDOMBlock (XERCES_CPP_NAMESPACE::InputSource &_source) | |
XMLDOMBlock (std::string _root, int rootElementName) | |
virtual | ~XMLDOMBlock () |
Protected Member Functions | |
int | fixRbxName (std::string &) |
int | init (void) |
Protected Member Functions inherited from XMLDOMBlock | |
int | init (std::string _root) |
Protected Attributes | |
XERCES_CPP_NAMESPACE::MemBufInputSource * | _data_gol |
XERCES_CPP_NAMESPACE::MemBufInputSource * | _data_led |
XERCES_CPP_NAMESPACE::MemBufInputSource * | _data_ped_delay |
Protected Attributes inherited from XMLDOMBlock | |
XERCES_CPP_NAMESPACE::DOMDocument * | document |
XERCES_CPP_NAMESPACE::ErrorHandler * | errHandler |
XERCES_CPP_NAMESPACE::XercesDOMParser * | parser |
std::string * | the_string |
std::string | theFileName |
XMLProcessor * | theProcessor |
Private Member Functions | |
const XMLRBXPedestalsLoader & | operator= (const XMLRBXPedestalsLoader &) |
XMLRBXPedestalsLoader (const XMLRBXPedestalsLoader &) | |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 29 of file XMLRBXPedestalsLoader.h.
XMLRBXPedestalsLoader::XMLRBXPedestalsLoader | ( | loaderBaseConfig * | config, |
std::string | templateBase = "HCAL_RBX_PEDESTALS_TYPE01.XMLloader.template" |
||
) |
Definition at line 56 of file XMLRBXPedestalsLoader.cc.
References init(), dataset::name, XMLDOMBlock::setTagAttribute(), and XMLDOMBlock::setTagValue().
|
virtual |
Definition at line 79 of file XMLRBXPedestalsLoader.cc.
References _data_gol, _data_led, and _data_ped_delay.
|
private |
int XMLRBXPedestalsLoader::addRBXSlot | ( | datasetDBConfig * | config, |
std::string | brickFileName, | ||
std::string | rbx_config_type = "pedestals" , |
||
std::string | templateFileName = "HCAL_RBX_PEDESTALS_TYPE01.dataset.template" |
||
) |
Definition at line 87 of file XMLRBXPedestalsLoader.cc.
References _data_gol, _data_led, _data_ped_delay, XMLProcessor::_toXMLCh(), gather_cfg::cout, data, XMLDOMBlock::document, cmsRelvalreport::exit, XMLDOMBlock::getDocument(), XMLDOMBlock::getTagAttribute(), XMLDOMBlock::getTagValue(), XMLDOMBlock::setTagValue(), AlCaHLTBitMon_QueryRunRegistry::string, and jetIDSelector_cfi::version.
|
protected |
Definition at line 248 of file XMLRBXPedestalsLoader.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 269 of file XMLRBXPedestalsLoader.cc.
References _data_gol, _data_led, and _data_ped_delay.
Referenced by XMLRBXPedestalsLoader().
|
private |
|
protected |
Definition at line 77 of file XMLRBXPedestalsLoader.h.
Referenced by addRBXSlot(), init(), and ~XMLRBXPedestalsLoader().
|
protected |
Definition at line 78 of file XMLRBXPedestalsLoader.h.
Referenced by addRBXSlot(), init(), and ~XMLRBXPedestalsLoader().
|
protected |
Definition at line 76 of file XMLRBXPedestalsLoader.h.
Referenced by addRBXSlot(), init(), and ~XMLRBXPedestalsLoader().