27 if (
m_nObj == 0) std::cerr<<
"NO Wsup banks in the MuonDD Database"<<std::endl;
29 for(
size_t i=0 ; i<wsup->
size(); ++i) {
30 m_d[i].version = (*wsup)[i]->getInt(
"VERS");
31 m_d[i].jsta = (*wsup)[i]->getInt(
"JSTA");
32 m_d[i].nxxsup = (*wsup)[i]->getInt(
"NXXSUP");
33 m_d[i].nzzsup = (*wsup)[i]->getInt(
"NZZSUP");
34 m_d[i].x0 = (*wsup)[i]->getFloat(
"X0");
35 m_d[i].thickn = (*wsup)[i]->getFloat(
"THICKN");
36 for (
unsigned int j=0; j<4; ++j){
37 m_d[i].xxsup[j] = (*wsup)[i]->getFloat(
"XXSUP_"+std::to_string(j));
38 m_d[i].zzsup[j] = (*wsup)[i]->getFloat(
"ZZSUP_"+std::to_string(j));
43 std::cerr<<
"NO Wsup 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.