CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
HcalChannelDataXml Class Reference

#include <CaloOnlineTools/HcalOnlineDb/interface/HcalChannelDataXml.h>

Inheritance diagram for HcalChannelDataXml:
XMLDOMBlock HcalChannelQualityXml HcalL1TriggerObjectsXml

Public Member Functions

DOMNode * add_dataset (void)
 
DOMNode * add_hcal_channel (DOMNode *_dataset, int ieta, int iphi, int depth, std::string subdetector)
 
DOMElement * get_channel_element (DOMNode *_dataset)
 
DOMElement * get_data_element (DOMNode *_dataset)
 
 HcalChannelDataXml ()
 
int init_data (void)
 
DOMNode * set_elements_comment (std::string value)
 
DOMNode * set_elements_dataset_id (int id)
 
DOMNode * set_elements_detector_name (std::string value)
 
DOMNode * set_elements_iov_begin (int value)
 
DOMNode * set_elements_iov_end (int value)
 
DOMNode * set_elements_iov_id (int id)
 
DOMNode * set_elements_tag_id (int value)
 
DOMNode * set_elements_tag_mode (std::string value)
 
DOMNode * set_elements_tag_name (std::string value)
 
DOMNode * set_header_channel_map (std::string name)
 
DOMNode * set_header_run_number (int run)
 
DOMNode * set_header_table_name (std::string name)
 
DOMNode * set_header_type (std::string type)
 
DOMNode * set_maps_dataset_idref (int value)
 
DOMNode * set_maps_iov_idref (int value)
 
DOMNode * set_maps_tag_idref (int value)
 
virtual ~HcalChannelDataXml ()
 
- Public Member Functions inherited from XMLDOMBlock
DOMElement * add_element (DOMElement *parent, XMLCh *tagname, XMLCh *value)
 
DOMDocument * getDocument (void)
 
DOMDocument * getDocumentConst (void) const
 
DOMDocument * getNewDocument (std::string xmlFileName)
 
std::string & getString (void)
 
std::string & getString (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, DOMDocument *_document=NULL)
 
const char * getTagValue (const std::string &tagName, int _item, DOMElement *_document)
 
std::string getTimestamp (time_t _time)
 
XMLDOMBlockoperator+= (const XMLDOMBlock &other)
 
void parse (InputSource &_source)
 
DOMNode * setTagAttribute (const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
 
DOMNode * setTagAttribute (DOMElement *_elem, const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
 
DOMNode * setTagAttribute (const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0)
 
DOMNode * setTagAttribute (DOMElement *_elem, const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0)
 
DOMNode * setTagValue (const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
 
DOMNode * setTagValue (DOMElement *_elem, const std::string &tagName, const std::string &tagValue, int _item=0)
 
DOMNode * setTagValue (const std::string &tagName, const int &tagValue, int _item=0, DOMDocument *_document=NULL)
 
DOMNode * setTagValue (DOMElement *_elem, const std::string &tagName, const int &tagValue, int _item=0)
 
int write (std::string target="stdout")
 
 XMLDOMBlock ()
 
 XMLDOMBlock (std::string xmlFileName)
 
 XMLDOMBlock (InputSource &_source)
 
 XMLDOMBlock (std::string _root, int rootElementName)
 
virtual ~XMLDOMBlock ()
 

Protected Attributes

MemBufInputSource * _dataset
 
MemBufInputSource * _root
 
std::string channel_map
 
std::string comment
 
int data_set_id
 
int data_set_idref
 
std::string dataset_comment
 
int dataset_count
 
std::string detector_name
 
std::string extension_table_name
 
time_t global_timestamp
 
HcalAssistant hcal_ass
 
int iov_begin
 
int iov_end
 
int iov_id
 
int iov_idref
 
int run_number
 
int tag_id
 
int tag_idref
 
std::string tag_mode
 
std::string tag_name
 
std::string type_name
 
std::string username
 
- Protected Attributes inherited from XMLDOMBlock
DOMDocument * document
 
ErrorHandler * errHandler
 
XercesDOMParser * parser
 
std::string * the_string
 
std::string theFileName
 
XMLProcessortheProcessor
 

Additional Inherited Members

- Protected Member Functions inherited from XMLDOMBlock
int init (std::string _root)
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 25 of file HcalChannelDataXml.h.

Constructor & Destructor Documentation

HcalChannelDataXml::HcalChannelDataXml ( )

Definition at line 26 of file HcalChannelDataXml.cc.

References comment, NULL, and cond::rpcobgas::time.

26  {
28  //init_data();
29  dataset_count = 0;
31 }
std::string getRandomQuote(void)
#define NULL
Definition: scimark2.h:8
HcalChannelDataXml::~HcalChannelDataXml ( )
virtual

Definition at line 34 of file HcalChannelDataXml.cc.

35 {
36  delete _root;
37  delete _dataset;
38 }
MemBufInputSource * _dataset
MemBufInputSource * _root

Member Function Documentation

DOMNode * HcalChannelDataXml::add_dataset ( void  )

Definition at line 138 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh(), AlCaHLTBitMon_QueryRunRegistry::string, cond::rpcobgas::time, and indexGenCompare::username.

138  {
139  XMLDOMBlock dataset_block( *_dataset );
140  DOMDocument * dataset_doc = dataset_block . getDocument();
141  DOMElement * root_elem = (DOMElement *)(document -> getElementsByTagName( XMLProcessor::_toXMLCh( "ROOT" ) ) -> item(0));
142  DOMNode * dataset_node = document -> importNode( dataset_doc -> getDocumentElement(), true );
143  root_elem -> appendChild( dataset_node );
144  //
145  //_____ set defaults
146  //
147  //
148  //_____ fix due to the new convention: version/subversion combo must be unique for every payload
149  //
150  char _buf[128];
151  //time_t _offset = time(NULL);
152  time_t _offset = global_timestamp;
153  sprintf( _buf, "%d", (uint32_t)_offset );
154  std::string _version;
155  _version.clear();
156  _version.append(tag_name);
157  _version.append(".");
158  _version.append(_buf);
159  //
160  DOMElement * dataset_elem = (DOMElement *)dataset_node;
161  setTagValue(dataset_elem, "COMMENT_DESCRIPTION", dataset_comment);
162  setTagValue(dataset_elem, "CREATE_TIMESTAMP", getTimestamp(time(0)));
163  setTagValue(dataset_elem, "CREATED_BY_USER", username);
164  setTagValue(dataset_elem, "VERSION", _version);
165  setTagValue(dataset_elem, "SUBVERSION", dataset_count);
166  //
167  //_____ set the chanel table name consistent with the header HINT
168  //
169  setTagValue(dataset_elem, "EXTENSION_TABLE_NAME", channel_map);
170  //
171  if (dataset_node) ++dataset_count;
172  return dataset_node;
173 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
std::string getTimestamp(time_t _time)
Definition: XMLDOMBlock.cc:446
MemBufInputSource * _dataset
DOMDocument * getDocument(void)
Definition: XMLDOMBlock.cc:312
static XMLCh * _toXMLCh(std::string temp)
Definition: XMLProcessor.h:184
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::add_hcal_channel ( DOMNode *  _dataset,
int  ieta,
int  iphi,
int  depth,
std::string  subdetector 
)

Definition at line 125 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

125  {
126  DOMElement * _channel = get_channel_element(_dataset);
127  if (_channel){
130  add_element(_channel, XMLProcessor::_toXMLCh("DEPTH"), XMLProcessor::_toXMLCh(depth));
131  add_element(_channel, XMLProcessor::_toXMLCh("SUBDET"), XMLProcessor::_toXMLCh(subdetector));
132  }
133 
134  return (DOMNode *)_channel;
135 }
DOMElement * get_channel_element(DOMNode *_dataset)
MemBufInputSource * _dataset
static XMLCh * _toXMLCh(std::string temp)
Definition: XMLProcessor.h:184
DOMElement * add_element(DOMElement *parent, XMLCh *tagname, XMLCh *value)
Definition: XMLDOMBlock.cc:523
DOMElement * HcalChannelDataXml::get_channel_element ( DOMNode *  _dataset)

Definition at line 185 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

185  {
186  DOMElement * _element = 0;
187  if (_dataset){
188  _element = (DOMElement *)(((DOMElement *)_dataset) -> getElementsByTagName(XMLProcessor::_toXMLCh("CHANNEL"))->item( 0 ));
189  }
190  return _element;
191 }
MemBufInputSource * _dataset
static XMLCh * _toXMLCh(std::string temp)
Definition: XMLProcessor.h:184
DOMElement * HcalChannelDataXml::get_data_element ( DOMNode *  _dataset)

Definition at line 176 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

176  {
177  DOMElement * _element = 0;
178  if (_dataset){
179  _element = (DOMElement *)(((DOMElement *)_dataset) -> getElementsByTagName(XMLProcessor::_toXMLCh("DATA"))->item( 0 ));
180  }
181  return _element;
182 }
MemBufInputSource * _dataset
static XMLCh * _toXMLCh(std::string temp)
Definition: XMLProcessor.h:184
int HcalChannelDataXml::init_data ( void  )

Definition at line 41 of file HcalChannelDataXml.cc.

References comment, triggerExpression::parse(), cmsHarvester::run_number, and indexGenCompare::username.

42 {
43  static const char * _str = "\
44 <ROOT>\n\
45  <HEADER>\n\
46  <TYPE>\n\
47  <EXTENSION_TABLE_NAME>HCAL_CHANNEL_QUALITY_V1</EXTENSION_TABLE_NAME>\n\
48  <NAME>HCAL Channel Quality [V1]</NAME>\n\
49  </TYPE>\n\
50  <RUN>\n\
51  <RUN_NUMBER>1</RUN_NUMBER>\n\
52  </RUN>\n\
53  <HINTS channelmap='HCAL_CHANNELS'/>\n\
54  </HEADER>\n\
55  <ELEMENTS>\n\
56  <DATA_SET id='-1'/>\n\
57  <IOV id='1'>\n\
58  <INTERVAL_OF_VALIDITY_BEGIN>1</INTERVAL_OF_VALIDITY_BEGIN>\n\
59  <INTERVAL_OF_VALIDITY_END>-1</INTERVAL_OF_VALIDITY_END>\n\
60  </IOV>\n\
61  <TAG id='2' mode='auto'>\n\
62  <TAG_NAME>test-channel-status-01jul2009-v4</TAG_NAME>\n\
63  <DETECTOR_NAME>HCAL</DETECTOR_NAME>\n\
64  <COMMENT_DESCRIPTION>testing channel status recording</COMMENT_DESCRIPTION>\n\
65  </TAG>\n\
66  </ELEMENTS>\n\
67  <MAPS>\n\
68  <TAG idref='2'>\n\
69  <IOV idref='1'>\n\
70  <DATA_SET idref='-1'/>\n\
71  </IOV>\n\
72  </TAG>\n\
73  </MAPS>\n\
74  </ROOT>\n\
75  ";
76  const XMLByte * _template = (const XMLByte *)_str;
77  _root = new MemBufInputSource( _template, strlen( (const char *)_template ), "_root", false );
78  parse(*_root);
79  //
80  //_____ fill header tags that will be redefined in the derived classes
81  //
98  //
99  static const char * _str2 = "\
100  <DATA_SET>\n\
101  <COMMENT_DESCRIPTION>test-channel-status-26jun2009-v1</COMMENT_DESCRIPTION>\n\
102  <CREATE_TIMESTAMP>2009-04-06 17:36:40.0</CREATE_TIMESTAMP>\n\
103  <CREATED_BY_USER>user</CREATED_BY_USER>\n\
104  <VERSION>test-channel-status-26jun2009-v1</VERSION>\n\
105  <SUBVERSION>1</SUBVERSION>\n\
106  <CHANNEL>\n\
107  <EXTENSION_TABLE_NAME>HCAL_CHANNELS</EXTENSION_TABLE_NAME>\n\
108  </CHANNEL>\n\
109  <DATA>\n\
110  </DATA>\n\
111  </DATA_SET>\n\
112  ";
113  const XMLByte * _template2 = (const XMLByte *)_str2;
114  _dataset = new MemBufInputSource( _template2, strlen( (const char *)_template2 ), "_dataset", false );
115 
116  //
117  //_____ some more default initialization
120  //
121  return 0;
122 }
DOMNode * set_header_channel_map(std::string name)
DOMNode * set_elements_detector_name(std::string value)
DOMNode * set_header_run_number(int run)
MemBufInputSource * _dataset
std::string getRandomQuote(void)
DOMNode * set_maps_iov_idref(int value)
DOMNode * set_elements_iov_begin(int value)
DOMNode * set_header_table_name(std::string name)
DOMNode * set_maps_dataset_idref(int value)
DOMNode * set_header_type(std::string type)
std::string extension_table_name
DOMNode * set_maps_tag_idref(int value)
DOMNode * set_elements_comment(std::string value)
DOMNode * set_elements_dataset_id(int id)
DOMNode * set_elements_iov_id(int id)
void parse(InputSource &_source)
Definition: XMLDOMBlock.cc:122
DOMNode * set_elements_tag_id(int value)
MemBufInputSource * _root
DOMNode * set_elements_tag_mode(std::string value)
DOMNode * set_elements_iov_end(int value)
DOMNode * set_elements_tag_name(std::string value)
std::string getUserName(void)
DOMNode * HcalChannelDataXml::set_elements_comment ( std::string  value)

Definition at line 278 of file HcalChannelDataXml.cc.

References comment, and relativeConstraints::value.

278  {
279  comment = value;
280  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
281  return setTagValue(_elements, "COMMENT_DESCRIPTION", comment);
282 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_elements_dataset_id ( int  id)

Definition at line 222 of file HcalChannelDataXml.cc.

222  {
223  data_set_id = id;
224  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
225  return setTagAttribute(_elements, "DATA_SET", "id", data_set_id);
226 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_elements_detector_name ( std::string  value)

Definition at line 271 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

271  {
273  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
274  return setTagValue(_elements, "DETECTOR_NAME", detector_name);
275 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_elements_iov_begin ( int  value)

Definition at line 236 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

236  {
237  iov_begin = value;
238  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
239  return setTagValue(_elements, "INTERVAL_OF_VALIDITY_BEGIN", iov_begin);
240 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_elements_iov_end ( int  value)

Definition at line 243 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

243  {
244  iov_end = value;
245  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
246  return setTagValue(_elements, "INTERVAL_OF_VALIDITY_END", iov_end);
247 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_elements_iov_id ( int  id)

Definition at line 229 of file HcalChannelDataXml.cc.

229  {
230  iov_id = id;
231  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
232  return setTagAttribute(_elements, "IOV", "id", iov_id);
233 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_elements_tag_id ( int  value)

Definition at line 250 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

250  {
251  tag_id = value;
252  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
253  return setTagAttribute(_elements, "TAG", "id", tag_id);
254 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_elements_tag_mode ( std::string  value)

Definition at line 257 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

257  {
258  tag_mode = value;
259  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
260  return setTagAttribute(_elements, "TAG", "mode", tag_mode);
261 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_elements_tag_name ( std::string  value)

Definition at line 264 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

264  {
265  tag_name = value;
266  DOMElement * _elements = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("ELEMENTS") ) -> item(0));
267  return setTagValue(_elements, "TAG_NAME", tag_name);
268 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_header_channel_map ( std::string  name)

Definition at line 215 of file HcalChannelDataXml.cc.

References mergeVDriftHistosByStation::name.

215  {
216  channel_map = name;
217  DOMElement * _header = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("HEADER") ) -> item(0));
218  return setTagAttribute(_header, "HINTS", "channelmap", channel_map);
219 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_header_run_number ( int  run)

Definition at line 208 of file HcalChannelDataXml.cc.

References DTTTrigCorrFirst::run, and cmsHarvester::run_number.

208  {
209  run_number = run;
210  DOMElement * _header = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("HEADER") ) -> item(0));
211  return setTagValue(_header, "RUN_NUMBER", run_number);
212 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_header_table_name ( std::string  name)

Definition at line 194 of file HcalChannelDataXml.cc.

References mergeVDriftHistosByStation::name.

194  {
196  DOMElement * _header = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("HEADER") ) -> item(0));
197  return setTagValue(_header, "EXTENSION_TABLE_NAME", extension_table_name);
198 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
std::string extension_table_name
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_header_type ( std::string  type)

Definition at line 201 of file HcalChannelDataXml.cc.

201  {
202  type_name = type;
203  DOMElement * _header = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("HEADER") ) -> item(0));
204  return setTagValue(_header, "NAME", type_name);
205 }
type
Definition: HCALResponse.h:21
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagValue(const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL)
Definition: XMLDOMBlock.cc:364
DOMNode * HcalChannelDataXml::set_maps_dataset_idref ( int  value)

Definition at line 299 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

299  {
301  DOMElement * _maps = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("MAPS") ) -> item(0));
302  return setTagAttribute(_maps, "DATA_SET", "idref", data_set_idref);
303 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_maps_iov_idref ( int  value)

Definition at line 292 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

292  {
293  iov_idref = value;
294  DOMElement * _maps = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("MAPS") ) -> item(0));
295  return setTagAttribute(_maps, "IOV", "idref", iov_idref);
296 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408
DOMNode * HcalChannelDataXml::set_maps_tag_idref ( int  value)

Definition at line 285 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

285  {
286  tag_idref = value;
287  DOMElement * _maps = (DOMElement *)(document -> getElementsByTagName( XMLString::transcode("MAPS") ) -> item(0));
288  return setTagAttribute(_maps, "TAG", "idref", tag_idref);
289 }
DOMDocument * document
Definition: XMLDOMBlock.h:97
DOMNode * setTagAttribute(const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0)
Definition: XMLDOMBlock.cc:408

Member Data Documentation

MemBufInputSource* HcalChannelDataXml::_dataset
protected

Definition at line 74 of file HcalChannelDataXml.h.

MemBufInputSource* HcalChannelDataXml::_root
protected
std::string HcalChannelDataXml::channel_map
protected

Definition at line 81 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::comment
protected

Definition at line 92 of file HcalChannelDataXml.h.

int HcalChannelDataXml::data_set_id
protected

Definition at line 84 of file HcalChannelDataXml.h.

int HcalChannelDataXml::data_set_idref
protected

Definition at line 97 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::dataset_comment
protected

Definition at line 101 of file HcalChannelDataXml.h.

int HcalChannelDataXml::dataset_count
protected

Definition at line 104 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::detector_name
protected

Definition at line 91 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::extension_table_name
protected

Definition at line 78 of file HcalChannelDataXml.h.

time_t HcalChannelDataXml::global_timestamp
protected

Definition at line 105 of file HcalChannelDataXml.h.

HcalAssistant HcalChannelDataXml::hcal_ass
protected

Definition at line 103 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_begin
protected

Definition at line 86 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_end
protected

Definition at line 87 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_id
protected

Definition at line 85 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_idref
protected

Definition at line 96 of file HcalChannelDataXml.h.

int HcalChannelDataXml::run_number
protected

Definition at line 80 of file HcalChannelDataXml.h.

int HcalChannelDataXml::tag_id
protected

Definition at line 88 of file HcalChannelDataXml.h.

int HcalChannelDataXml::tag_idref
protected

Definition at line 95 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::tag_mode
protected

Definition at line 89 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::tag_name
protected

Definition at line 90 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::type_name
protected

Definition at line 79 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::username
protected

Definition at line 100 of file HcalChannelDataXml.h.