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

#include <DblQ00Asmp.h>

Collaboration diagram for MuonGM::DblQ00Asmp:

Classes

struct  ASMP
 

Public Member Functions

 DblQ00Asmp ()=default
 
 ~DblQ00Asmp ()=default
 
 DblQ00Asmp (IRDBAccessSvc *pAccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
DblQ00Asmpoperator= (const DblQ00Asmp &right)=default
 
 DblQ00Asmp (const DblQ00Asmp &)=default
 
const ASMPdata () const
 
unsigned int size () const
 
std::string getName () const
 
std::string getDirName () const
 
std::string getObjName () const
 

Private Attributes

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

Detailed Description

Definition at line 22 of file DblQ00Asmp.h.

Constructor & Destructor Documentation

◆ DblQ00Asmp() [1/3]

MuonGM::DblQ00Asmp::DblQ00Asmp ( )
default

◆ ~DblQ00Asmp()

MuonGM::DblQ00Asmp::~DblQ00Asmp ( )
default

◆ DblQ00Asmp() [2/3]

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

Definition at line 23 of file DblQ00Asmp.cxx.

24  {
25  m_nObj = asmp->size();
26  m_d.resize (m_nObj);
27  if (m_nObj == 0) std::cerr<<"NO Asmp banks in the MuonDD Database"<<std::endl;
28 
29  for (size_t i = 0 ; i<asmp->size(); ++i) {
30  m_d[i].version = (*asmp)[i]->getInt("VERS");
31  m_d[i].indx = (*asmp)[i]->getInt("INDX");
32  m_d[i].n = (*asmp)[i]->getInt("N");
33  m_d[i].jtyp = (*asmp)[i]->getInt("JTYP");
34  }
35  } else {
36  std::cerr<<"NO Asmp banks in the MuonDD Database"<<std::endl;
37  }
38 }
39 } // end of namespace MuonGM

◆ DblQ00Asmp() [3/3]

MuonGM::DblQ00Asmp::DblQ00Asmp ( const DblQ00Asmp )
default

Member Function Documentation

◆ data()

const ASMP* MuonGM::DblQ00Asmp::data ( ) const
inline

Definition at line 40 of file DblQ00Asmp.h.

40 { return m_d.data(); };

◆ getDirName()

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

Definition at line 43 of file DblQ00Asmp.h.

43 { return "DblQ00"; };

◆ getName()

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

Definition at line 42 of file DblQ00Asmp.h.

42 { return "ASMP"; };

◆ getObjName()

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

Definition at line 44 of file DblQ00Asmp.h.

44 { return "ASMP"; };

◆ operator=()

DblQ00Asmp& MuonGM::DblQ00Asmp::operator= ( const DblQ00Asmp right)
default

◆ size()

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

Definition at line 41 of file DblQ00Asmp.h.

41 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<ASMP> MuonGM::DblQ00Asmp::m_d {}
private

Definition at line 47 of file DblQ00Asmp.h.

◆ m_nObj

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

Definition at line 48 of file DblQ00Asmp.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Asmp::m_nObj
unsigned int m_nObj
Definition: DblQ00Asmp.h:48
MuonGM::DblQ00Asmp::m_d
std::vector< ASMP > m_d
Definition: DblQ00Asmp.h:47
lumiFormat.i
int i
Definition: lumiFormat.py:92