1 #ifndef CaloOnlineTools_HcalOnlineDb_HcalChannelQualityXml_h
2 #define CaloOnlineTools_HcalOnlineDb_HcalChannelQualityXml_h
47 std::string _elements_comment,
48 std::string _base=
"hex"
63 int _channel_status,
int _on_off, std::string _comment );
67 int _channel_status,
int _on_off, std::string _comment );
70 DOMElement *
add_data( DOMNode *
_dataset,
int _channel_status,
int _on_off, std::string _comment );
int makeXmlFromAsciiStream(int _runnumber, int _iov_begin, int _iov_end, std::string _tag, std::string _elements_comment, std::string _base="hex")
std::string get_random_comment(void)
MemBufInputSource * _dataset
int set_all_channels_status(uint32_t _hb, uint32_t _he, uint32_t _hf, uint32_t _ho)
std::vector< std::string > getTagsFromOmds(void)
int writeBaseLineFromOmdsToStdout(std::string _tag, int _iov_begin, std::string base="hex")
DOMNode * add_hcal_channel_dataset(int ieta, int iphi, int depth, std::string subdetector, int _channel_status, int _on_off, std::string _comment)
virtual ~HcalChannelQualityXml()
int dumpIovsFromOmdsToStdout(std::string tag)
std::vector< int > getIovsFromOmds(std::string tag)
struct HcalChannelQualityXml::_ChannelQuality ChannelQuality
int addChannelToGeomIdMap(int ieta, int iphi, int depth, std::string subdetector, int _channel_status, int _on_off, std::string _comment)
DOMElement * add_data(DOMNode *_dataset, int _channel_status, int _on_off, std::string _comment)
int readStatusWordFromStdin(std::string base="hex")
int set_all_channels_on_off(int _hb, int _he, int _hf, int _ho)
int getBaseLineFromOmds(std::string _tag, int _iov_begin)
std::map< int, ChannelQuality > detid_cq
int dumpTagsFromOmdsToStdout(void)
std::map< int, ChannelQuality > geomid_cq
int writeStatusWordToStdout(std::string base="hex")
int addChannelQualityGeom(std::map< int, ChannelQuality > &_cq)