101 strftime(timebuf, 50,
"%Y-%m-%d %H:%M:%S.0", gmtime(&(
config->create_timestamp)));
110 DOMNode* cloneDataSet =
document->importNode(
dataSet->getDocumentElement(),
true);
111 root->appendChild(cloneDataSet);
127 strftime(timebuf, 50,
"%Y-%m-%d %H:%M:%S.0", gmtime(&(
config->create_timestamp)));
136 DOMNode* cloneDataSet =
document->importNode(
dataSet->getDocumentElement(),
true);
137 root->appendChild(cloneDataSet);
152 sprintf(_buf,
"CRATE%.2d", conf.
crate);
154 _namelabel.append(_buf);
161 write(
"LUTLoader.xml");
XERCES_CPP_NAMESPACE::DOMDocument * document
std::string trig_prim_lookuptbl_data_file
int addLUT(lutDBConfig *config, std::string templateFileName="HCAL_TRIG_PRIM_LOOKUP_TABLE.dataset.template")
int write(std::string target="stdout")
std::string comment_description
XERCES_CPP_NAMESPACE::DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=nullptr)
XERCES_CPP_NAMESPACE::DOMDocument * getDocument(void)
int createLoader(const std::vector< int > &crate_number, const std::vector< std::string > &file_name)
int addChecksums(checksumsDBConfig *config, std::string templateFileName="HCAL_TRIG_PRIM_LOOKUP_TABLE.checksums.template")
std::string trig_prim_lookuptbl_data_file
XERCES_CPP_NAMESPACE::DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)