29 if (
m_nObj == 0) std::cerr<<
"NO Dbam banks in the MuonDD Database"<<std::endl;
31 for(
size_t i =0; i<dbam->
size(); ++i) {
32 m_d[i].version = (*dbam)[i]->getInt(
"VERS");
33 m_d[i].nvrs = (*dbam)[i]->getInt(
"NVRS");
34 m_d[i].mtyp = (*dbam)[i]->getInt(
"MTYP");
35 m_d[i].numbox = (*dbam)[i]->getInt(
"NUMBOX");
36 m_d[i].amdb =(*dbam)[i]->getString(
"AMDB");
38 for (
unsigned int j=0; j<53; j++) {
40 m_d[i].name[j] = (*dbam)[i]->getString(
"NAME_"+std::to_string(j));
41 }
catch (
const std::runtime_error&) {
48 std::cerr<<
"NO Dbam banks in the MuonDD Database"<<std::endl;
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
virtual unsigned int size() const =0
std::string getName() const
Ensure that the Athena extensions are properly loaded.