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

#include <DblQ00Atyp.h>

Collaboration diagram for MuonGM::DblQ00Atyp:

Classes

struct  ATYP
 

Public Member Functions

 DblQ00Atyp ()=default
 
 ~DblQ00Atyp ()=default
 
 DblQ00Atyp (IRDBAccessSvc *pAccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
DblQ00Atypoperator= (const DblQ00Atyp &right)=delete
 
 DblQ00Atyp (const DblQ00Atyp &)=delete
 
const ATYPdata () const
 
unsigned int size () const
 
unsigned int getNObj () const
 
std::string getName () const
 
std::string getDirName () const
 
std::string getObjName () const
 

Private Attributes

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

Detailed Description

Definition at line 23 of file DblQ00Atyp.h.

Constructor & Destructor Documentation

◆ DblQ00Atyp() [1/3]

MuonGM::DblQ00Atyp::DblQ00Atyp ( )
default

◆ ~DblQ00Atyp()

MuonGM::DblQ00Atyp::~DblQ00Atyp ( )
default

◆ DblQ00Atyp() [2/3]

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

Definition at line 24 of file DblQ00Atyp.cxx.

25  {
26  m_nObj = atyp->size();
27  m_d.resize (m_nObj);
28  if (m_nObj == 0) std::cerr<<"NO Atyp banks in the MuonDD Database"<<std::endl;
29 
30  for (size_t i=0;i<atyp->size(); ++i) {
31  m_d[i].version = (*atyp)[i]->getInt("VERS");
32  m_d[i].jtyp = (*atyp)[i]->getInt("JTYP");
33  m_d[i].nsta = (*atyp)[i]->getInt("NSTA");
34  m_d[i].type = (*atyp)[i]->getString("TYP");
35  }
36  }
37  else {
38  std::cerr<<"NO Atyp banks in the MuonDD Database"<<std::endl;
39  }
40 }
41 
42 
43 } // end of namespace MuonGM

◆ DblQ00Atyp() [3/3]

MuonGM::DblQ00Atyp::DblQ00Atyp ( const DblQ00Atyp )
delete

Member Function Documentation

◆ data()

const ATYP* MuonGM::DblQ00Atyp::data ( ) const
inline

Definition at line 40 of file DblQ00Atyp.h.

40 { return m_d.data(); };

◆ getDirName()

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

Definition at line 45 of file DblQ00Atyp.h.

45 { return "DblQ00"; };

◆ getName()

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

Definition at line 44 of file DblQ00Atyp.h.

44 { return "ATYP"; };

◆ getNObj()

unsigned int MuonGM::DblQ00Atyp::getNObj ( ) const
inline

Definition at line 42 of file DblQ00Atyp.h.

42 { return m_nObj; };

◆ getObjName()

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

Definition at line 46 of file DblQ00Atyp.h.

46 { return "ATYP"; };

◆ operator=()

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

◆ size()

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

Definition at line 41 of file DblQ00Atyp.h.

41 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<ATYP> MuonGM::DblQ00Atyp::m_d {0}
private

Definition at line 49 of file DblQ00Atyp.h.

◆ m_nObj

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

Definition at line 50 of file DblQ00Atyp.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Atyp::m_nObj
unsigned int m_nObj
Definition: DblQ00Atyp.h:50
MuonGM::DblQ00Atyp::m_d
std::vector< ATYP > m_d
Definition: DblQ00Atyp.h:49
lumiFormat.i
int i
Definition: lumiFormat.py:92