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

#include <DblQ00Wspa.h>

Collaboration diagram for MuonGM::DblQ00Wspa:

Classes

struct  WSPA
 

Public Member Functions

 DblQ00Wspa ()=default
 
 ~DblQ00Wspa ()=default
 
 DblQ00Wspa (IRDBAccessSvc *pAccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
DblQ00Wspaoperator= (const DblQ00Wspa &right)=delete
 
 DblQ00Wspa (const DblQ00Wspa &)=delete
 
const WSPAdata () const
 
unsigned int size () const
 
std::string getName () const
 
std::string getDirName () const
 
std::string getObjName () const
 

Private Attributes

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

Detailed Description

Definition at line 22 of file DblQ00Wspa.h.

Constructor & Destructor Documentation

◆ DblQ00Wspa() [1/3]

MuonGM::DblQ00Wspa::DblQ00Wspa ( )
default

◆ ~DblQ00Wspa()

MuonGM::DblQ00Wspa::~DblQ00Wspa ( )
default

◆ DblQ00Wspa() [2/3]

MuonGM::DblQ00Wspa::DblQ00Wspa ( IRDBAccessSvc pAccessSvc,
const std::string &  GeoTag = "",
const std::string &  GeoNode = "" 
)

Definition at line 23 of file DblQ00Wspa.cxx.

24  {
25  m_nObj = wspa->size();
26  m_d.resize (m_nObj);
27  if (m_nObj == 0) std::cerr<<"NO Wspa banks in the MuonDD Database"<<std::endl;
28  for(size_t i=0; i<wspa->size(); ++i) {
29  m_d[i].version = (*wspa)[i]->getInt("VERS");
30  m_d[i].jsta = (*wspa)[i]->getInt("JSTA");
31  m_d[i].nb = (*wspa)[i]->getInt("NB");
32  m_d[i].x0 = (*wspa)[i]->getFloat("X0");
33  m_d[i].tckspa = (*wspa)[i]->getFloat("TCKSPA");
34  }
35  } else {
36  std::cerr<<"NO Wspa banks in the MuonDD Database"<<std::endl;
37  }
38 }
39 
40 
41 } // end of namespace MuonGM

◆ DblQ00Wspa() [3/3]

MuonGM::DblQ00Wspa::DblQ00Wspa ( const DblQ00Wspa )
delete

Member Function Documentation

◆ data()

const WSPA* MuonGM::DblQ00Wspa::data ( ) const
inline

Definition at line 39 of file DblQ00Wspa.h.

39 { return m_d.data(); };

◆ getDirName()

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

Definition at line 42 of file DblQ00Wspa.h.

42 { return "DblQ00"; };

◆ getName()

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

Definition at line 41 of file DblQ00Wspa.h.

41 { return "WSPA"; };

◆ getObjName()

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

Definition at line 43 of file DblQ00Wspa.h.

43 { return "WSPA"; };

◆ operator=()

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

◆ size()

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

Definition at line 40 of file DblQ00Wspa.h.

40 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<WSPA> MuonGM::DblQ00Wspa::m_d {}
private

Definition at line 46 of file DblQ00Wspa.h.

◆ m_nObj

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

Definition at line 47 of file DblQ00Wspa.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Wspa::m_nObj
unsigned int m_nObj
Definition: DblQ00Wspa.h:47
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonGM::DblQ00Wspa::m_d
std::vector< WSPA > m_d
Definition: DblQ00Wspa.h:46