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

#include <DblQ00Atln.h>

Collaboration diagram for MuonGM::DblQ00Atln:

Classes

struct  ATLN
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 23 of file DblQ00Atln.h.

Constructor & Destructor Documentation

◆ DblQ00Atln() [1/3]

MuonGM::DblQ00Atln::DblQ00Atln ( )
default

◆ ~DblQ00Atln()

MuonGM::DblQ00Atln::~DblQ00Atln ( )
default

◆ DblQ00Atln() [2/3]

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

Definition at line 25 of file DblQ00Atln.cxx.

26  {
27  m_nObj = atln->size();
28  m_d.resize (m_nObj);
29  if (m_nObj == 0) std::cerr<<"NO Atln banks in the MuonDD Database"<<std::endl;
30 
31  for (size_t i=0; i<atln->size(); ++i) {
32  m_d[i].version = (*atln)[i]->getInt("VERS");
33  m_d[i].i = (*atln)[i]->getInt("I");
34  m_d[i].icovol = (*atln)[i]->getInt("ICOVOL");
35  m_d[i].zpovol = (*atln)[i]->getFloat("ZPOVOL");
36  m_d[i].widvol = (*atln)[i]->getFloat("WIDVOL");
37  m_d[i].namvol = (*atln)[i]->getString("NAMVOL");
38  m_d[i].jsta = (*atln)[i]->getInt("JSTA");
39  }
40  }
41  else {
42  std::cerr<<"NO Atln banks in the MuonDD Database"<<std::endl;
43  }
44 }
45 
46 } // end of namespace MuonGM

◆ DblQ00Atln() [3/3]

MuonGM::DblQ00Atln::DblQ00Atln ( const DblQ00Atln )
delete

Member Function Documentation

◆ data()

const ATLN* MuonGM::DblQ00Atln::data ( ) const
inline

Definition at line 42 of file DblQ00Atln.h.

42 { return m_d.data(); };

◆ getDirName()

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

Definition at line 45 of file DblQ00Atln.h.

45 { return "DblQ00"; };

◆ getName()

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

Definition at line 44 of file DblQ00Atln.h.

44 { return "ATLN"; };

◆ getObjName()

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

Definition at line 46 of file DblQ00Atln.h.

46 { return "ATLN"; };

◆ operator=()

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

◆ size()

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

Definition at line 43 of file DblQ00Atln.h.

43 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<ATLN> MuonGM::DblQ00Atln::m_d {}
private

Definition at line 49 of file DblQ00Atln.h.

◆ m_nObj

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

Definition at line 50 of file DblQ00Atln.h.


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