32 if (
m_nObj == 0) std::cerr<<
"NO Wtgc banks in the MuonDD Database"<<std::endl;
34 for(
size_t i=0; i <wtgc->
size(); ++i) {
35 m_d[i].version = (*wtgc)[i]->getInt(
"VERS");
36 m_d[i].jsta = (*wtgc)[i]->getInt(
"JSTA");
37 m_d[i].nbevol = (*wtgc)[i]->getInt(
"NBEVOL");
38 m_d[i].x0 = (*wtgc)[i]->getFloat(
"X0");
39 m_d[i].widchb = (*wtgc)[i]->getFloat(
"WIDCHB");
40 m_d[i].fwirch = (*wtgc)[i]->getFloat(
"FWIRCH");
41 m_d[i].fwixch = (*wtgc)[i]->getFloat(
"FWIXCH");
42 for (
unsigned int j=0; j<9; j++) {
45 m_d[i].allname[j] = (*wtgc)[i]->getString(
"ALLNAME_"+std::to_string(j));
46 }
catch (
const std::runtime_error&) {
53 std::cerr<<
"NO Wtgc 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.