ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | List of all members
MuonGM::DblQ00Wsup Class Reference

#include <DblQ00Wsup.h>

Collaboration diagram for MuonGM::DblQ00Wsup:

Classes

struct  WSUP
 

Public Member Functions

 DblQ00Wsup ()=default
 
 ~DblQ00Wsup ()=default
 
 DblQ00Wsup (IRDBAccessSvc *pAcccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
DblQ00Wsupoperator= (const DblQ00Wsup &right)=delete
 
 DblQ00Wsup (const DblQ00Wsup &)=delete
 
const WSUPdata () const
 
unsigned int size () const
 
std::string getName () const
 
std::string getDirName () const
 
std::string getObjName () const
 

Private Attributes

std::vector< WSUPm_d {}
 
unsigned int m_nObj {0}
 

Detailed Description

Definition at line 24 of file DblQ00Wsup.h.

Constructor & Destructor Documentation

◆ 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 23 of file DblQ00Wsup.cxx.

24  {
25  m_nObj = wsup->size();
26  m_d.resize (m_nObj);
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 }
46 
47 } // end of namespace MuonGM

◆ DblQ00Wsup() [3/3]

MuonGM::DblQ00Wsup::DblQ00Wsup ( const DblQ00Wsup )
delete

Member Function Documentation

◆ data()

const WSUP* MuonGM::DblQ00Wsup::data ( ) const
inline

Definition at line 44 of file DblQ00Wsup.h.

44 { return m_d.data(); };

◆ getDirName()

std::string MuonGM::DblQ00Wsup::getDirName ( ) const
inline

Definition at line 47 of file DblQ00Wsup.h.

47 { return "DblQ00"; };

◆ getName()

std::string MuonGM::DblQ00Wsup::getName ( ) const
inline

Definition at line 46 of file DblQ00Wsup.h.

46 { return "WSUP"; };

◆ getObjName()

std::string MuonGM::DblQ00Wsup::getObjName ( ) const
inline

Definition at line 48 of file DblQ00Wsup.h.

48 { return "WSUP"; };

◆ operator=()

DblQ00Wsup& MuonGM::DblQ00Wsup::operator= ( const DblQ00Wsup right)
delete

◆ size()

unsigned int MuonGM::DblQ00Wsup::size ( ) const
inline

Definition at line 45 of file DblQ00Wsup.h.

45 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<WSUP> MuonGM::DblQ00Wsup::m_d {}
private

Definition at line 51 of file DblQ00Wsup.h.

◆ m_nObj

unsigned int MuonGM::DblQ00Wsup::m_nObj {0}
private

Definition at line 52 of file DblQ00Wsup.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Wsup::m_d
std::vector< WSUP > m_d
Definition: DblQ00Wsup.h:51
MuonGM::DblQ00Wsup::m_nObj
unsigned int m_nObj
Definition: DblQ00Wsup.h:52
lumiFormat.i
int i
Definition: lumiFormat.py:92
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34