1 #ifndef CaloOnlineTools_HcalOnlineDb_LutXml_h
2 #define CaloOnlineTools_HcalOnlineDb_LutXml_h
39 std::vector<unsigned int>
lut;
40 std::vector<uint64_t>
mask;
44 LutXml(XERCES_CPP_NAMESPACE::InputSource& _source);
52 std::vector<unsigned int>*
getLutFast(uint32_t det_id);
92 std::map<uint32_t, std::vector<unsigned int> >
lut_map;
XERCES_CPP_NAMESPACE::DOMElement * addParameter(std::string _name, std::string _type, std::string _value)
std::string targetfirmware
void addLut(Config &_config, XMLDOMBlock *checksums_xml=nullptr)
XERCES_CPP_NAMESPACE::DOMElement * add_checksum(XERCES_CPP_NAMESPACE::DOMDocument *parent, Config &config)
XERCES_CPP_NAMESPACE::DOMElement * addData(std::string _elements, std::string _encoding, const T &_lut)
struct LutXml::_Config Config
std::string & getCurrentBrick(void)
std::vector< unsigned int > lut
static std::string get_checksum(std::vector< unsigned int > &lut)
std::string formatrevision
const_iterator find(uint32_t) const
HcalSubdetector subdet_from_crate(int crate, int slot, int fiber)
std::map< uint32_t, std::vector< unsigned int > > lut_map
std::map< uint32_t, std::vector< unsigned int > >::const_iterator const_iterator
std::vector< unsigned int > * getLutFast(uint32_t det_id)
tuple config
parse the configuration file
int test_access(std::string filename)
XERCES_CPP_NAMESPACE::DOMElement * brickElem
const_iterator begin() const
std::string creationstamp
std::vector< uint64_t > mask
const_iterator end() const