#include <DblQ00Wsup.h>
Definition at line 24 of file DblQ00Wsup.h.
◆ DblQ00Wsup() [1/3]
| MuonGM::DblQ00Wsup::DblQ00Wsup |
( |
| ) |
|
|
default |
◆ ~DblQ00Wsup()
| MuonGM::DblQ00Wsup::~DblQ00Wsup |
( |
| ) |
|
|
default |
◆ DblQ00Wsup() [2/3]
| MuonGM::DblQ00Wsup::DblQ00Wsup |
( |
IRDBAccessSvc * | pAcccessSvc, |
|
|
const std::string & | GeoTag = "", |
|
|
const std::string & | GeoNode = "" ) |
Definition at line 20 of file DblQ00Wsup.cxx.
20 {
21
23
27 if (
m_nObj == 0) std::cerr<<
"NO Wsup banks in the MuonDD Database"<<std::endl;
28
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));
39 }
40 }
41 }
42 else {
43 std::cerr<<"NO Wsup banks in the MuonDD Database"<<std::endl;
44 }
45}
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
virtual unsigned int size() const =0
std::string getName() const
◆ DblQ00Wsup() [3/3]
| MuonGM::DblQ00Wsup::DblQ00Wsup |
( |
const DblQ00Wsup & | | ) |
|
|
delete |
◆ data()
| const WSUP * MuonGM::DblQ00Wsup::data |
( |
| ) |
const |
|
inline |
◆ getDirName()
| std::string MuonGM::DblQ00Wsup::getDirName |
( |
| ) |
const |
|
inline |
◆ getName()
| std::string MuonGM::DblQ00Wsup::getName |
( |
| ) |
const |
|
inline |
◆ getObjName()
| std::string MuonGM::DblQ00Wsup::getObjName |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ size()
| unsigned int MuonGM::DblQ00Wsup::size |
( |
| ) |
const |
|
inline |
◆ m_d
| std::vector<WSUP> MuonGM::DblQ00Wsup::m_d {} |
|
private |
◆ m_nObj
| unsigned int MuonGM::DblQ00Wsup::m_nObj {0} |
|
private |
The documentation for this class was generated from the following files: