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 26 of file HcalChannelDataXml.h.

Constructor & Destructor Documentation

HcalChannelDataXml::HcalChannelDataXml ( )

Definition at line 27 of file HcalChannelDataXml.cc.

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

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

Definition at line 35 of file HcalChannelDataXml.cc.

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

Member Function Documentation

DOMNode * HcalChannelDataXml::add_dataset ( void  )

Definition at line 139 of file HcalChannelDataXml.cc.

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

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

Definition at line 126 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

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

Definition at line 186 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

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

Definition at line 177 of file HcalChannelDataXml.cc.

References XMLProcessor::_toXMLCh().

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

Definition at line 42 of file HcalChannelDataXml.cc.

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

43 {
44  static const char * _str = "\
45 <ROOT>\n\
46  <HEADER>\n\
47  <TYPE>\n\
48  <EXTENSION_TABLE_NAME>HCAL_CHANNEL_QUALITY_V1</EXTENSION_TABLE_NAME>\n\
49  <NAME>HCAL Channel Quality [V1]</NAME>\n\
50  </TYPE>\n\
51  <RUN>\n\
52  <RUN_NUMBER>1</RUN_NUMBER>\n\
53  </RUN>\n\
54  <HINTS channelmap='HCAL_CHANNELS'/>\n\
55  </HEADER>\n\
56  <ELEMENTS>\n\
57  <DATA_SET id='-1'/>\n\
58  <IOV id='1'>\n\
59  <INTERVAL_OF_VALIDITY_BEGIN>1</INTERVAL_OF_VALIDITY_BEGIN>\n\
60  <INTERVAL_OF_VALIDITY_END>-1</INTERVAL_OF_VALIDITY_END>\n\
61  </IOV>\n\
62  <TAG id='2' mode='auto'>\n\
63  <TAG_NAME>test-channel-status-01jul2009-v4</TAG_NAME>\n\
64  <DETECTOR_NAME>HCAL</DETECTOR_NAME>\n\
65  <COMMENT_DESCRIPTION>testing channel status recording</COMMENT_DESCRIPTION>\n\
66  </TAG>\n\
67  </ELEMENTS>\n\
68  <MAPS>\n\
69  <TAG idref='2'>\n\
70  <IOV idref='1'>\n\
71  <DATA_SET idref='-1'/>\n\
72  </IOV>\n\
73  </TAG>\n\
74  </MAPS>\n\
75  </ROOT>\n\
76  ";
77  const XMLByte * _template = (const XMLByte *)_str;
78  _root = new MemBufInputSource( _template, strlen( (const char *)_template ), "_root", false );
79  parse(*_root);
80  //
81  //_____ fill header tags that will be redefined in the derived classes
82  //
99  //
100  static const char * _str2 = "\
101  <DATA_SET>\n\
102  <COMMENT_DESCRIPTION>test-channel-status-26jun2009-v1</COMMENT_DESCRIPTION>\n\
103  <CREATE_TIMESTAMP>2009-04-06 17:36:40.0</CREATE_TIMESTAMP>\n\
104  <CREATED_BY_USER>user</CREATED_BY_USER>\n\
105  <VERSION>test-channel-status-26jun2009-v1</VERSION>\n\
106  <SUBVERSION>1</SUBVERSION>\n\
107  <CHANNEL>\n\
108  <EXTENSION_TABLE_NAME>HCAL_CHANNELS</EXTENSION_TABLE_NAME>\n\
109  </CHANNEL>\n\
110  <DATA>\n\
111  </DATA>\n\
112  </DATA_SET>\n\
113  ";
114  const XMLByte * _template2 = (const XMLByte *)_str2;
115  _dataset = new MemBufInputSource( _template2, strlen( (const char *)_template2 ), "_dataset", false );
116 
117  //
118  //_____ some more default initialization
121  //
122  return 0;
123 }
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:123
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 279 of file HcalChannelDataXml.cc.

References comment, and relativeConstraints::value.

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

Definition at line 223 of file HcalChannelDataXml.cc.

References errorMatrix2Lands_multiChannel::id.

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

Definition at line 272 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 237 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 244 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 230 of file HcalChannelDataXml.cc.

References errorMatrix2Lands_multiChannel::id.

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

Definition at line 251 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 258 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 265 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 216 of file HcalChannelDataXml.cc.

References mergeVDriftHistosByStation::name.

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

Definition at line 209 of file HcalChannelDataXml.cc.

References DTTTrigCorrFirst::run.

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

Definition at line 195 of file HcalChannelDataXml.cc.

References mergeVDriftHistosByStation::name.

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

Definition at line 202 of file HcalChannelDataXml.cc.

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

Definition at line 300 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 293 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Definition at line 286 of file HcalChannelDataXml.cc.

References relativeConstraints::value.

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

Member Data Documentation

MemBufInputSource* HcalChannelDataXml::_dataset
protected

Definition at line 75 of file HcalChannelDataXml.h.

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

Definition at line 82 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::comment
protected

Definition at line 93 of file HcalChannelDataXml.h.

int HcalChannelDataXml::data_set_id
protected

Definition at line 85 of file HcalChannelDataXml.h.

int HcalChannelDataXml::data_set_idref
protected

Definition at line 98 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::dataset_comment
protected

Definition at line 102 of file HcalChannelDataXml.h.

int HcalChannelDataXml::dataset_count
protected

Definition at line 105 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::detector_name
protected

Definition at line 92 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::extension_table_name
protected

Definition at line 79 of file HcalChannelDataXml.h.

time_t HcalChannelDataXml::global_timestamp
protected

Definition at line 106 of file HcalChannelDataXml.h.

HcalAssistant HcalChannelDataXml::hcal_ass
protected

Definition at line 104 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_begin
protected

Definition at line 87 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_end
protected

Definition at line 88 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_id
protected

Definition at line 86 of file HcalChannelDataXml.h.

int HcalChannelDataXml::iov_idref
protected

Definition at line 97 of file HcalChannelDataXml.h.

int HcalChannelDataXml::run_number
protected

Definition at line 81 of file HcalChannelDataXml.h.

int HcalChannelDataXml::tag_id
protected

Definition at line 89 of file HcalChannelDataXml.h.

int HcalChannelDataXml::tag_idref
protected

Definition at line 96 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::tag_mode
protected

Definition at line 90 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::tag_name
protected

Definition at line 91 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::type_name
protected

Definition at line 80 of file HcalChannelDataXml.h.

std::string HcalChannelDataXml::username
protected

Definition at line 101 of file HcalChannelDataXml.h.