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

#include <DblQ00Acut.h>

Collaboration diagram for MuonGM::DblQ00Acut:

Classes

struct  ACUT
 

Public Member Functions

 DblQ00Acut ()=default
 
DblQ00Acutoperator= (const DblQ00Acut &right)=delete
 
 DblQ00Acut (const DblQ00Acut &)=delete
 
 ~DblQ00Acut ()=default
 
 DblQ00Acut (IRDBAccessSvc *pAccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
const ACUTdata () const
 
unsigned int size () const
 
const char * getName () const
 
const char * getDirName () const
 
const char * getObjName () const
 

Private Attributes

std::vector< ACUTm_d
 
unsigned int m_nObj {}
 

Detailed Description

Definition at line 23 of file DblQ00Acut.h.

Constructor & Destructor Documentation

◆ DblQ00Acut() [1/3]

MuonGM::DblQ00Acut::DblQ00Acut ( )
default

◆ DblQ00Acut() [2/3]

MuonGM::DblQ00Acut::DblQ00Acut ( const DblQ00Acut )
delete

◆ ~DblQ00Acut()

MuonGM::DblQ00Acut::~DblQ00Acut ( )
default

◆ DblQ00Acut() [3/3]

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

Definition at line 23 of file DblQ00Acut.cxx.

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

Member Function Documentation

◆ data()

const ACUT* MuonGM::DblQ00Acut::data ( ) const
inline

Definition at line 40 of file DblQ00Acut.h.

40 { return m_d.data(); };

◆ getDirName()

const char* MuonGM::DblQ00Acut::getDirName ( ) const
inline

Definition at line 43 of file DblQ00Acut.h.

43 { return "DblQ00"; };

◆ getName()

const char* MuonGM::DblQ00Acut::getName ( ) const
inline

Definition at line 42 of file DblQ00Acut.h.

42 { return "ACUT"; };

◆ getObjName()

const char* MuonGM::DblQ00Acut::getObjName ( ) const
inline

Definition at line 44 of file DblQ00Acut.h.

44 { return "ACUT"; };

◆ operator=()

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

◆ size()

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

Definition at line 41 of file DblQ00Acut.h.

41 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<ACUT> MuonGM::DblQ00Acut::m_d
private

Definition at line 47 of file DblQ00Acut.h.

◆ m_nObj

unsigned int MuonGM::DblQ00Acut::m_nObj {}
private

Definition at line 48 of file DblQ00Acut.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Acut::m_d
std::vector< ACUT > m_d
Definition: DblQ00Acut.h:44
MuonGM::DblQ00Acut::m_nObj
unsigned int m_nObj
Definition: DblQ00Acut.h:48
lumiFormat.i
int i
Definition: lumiFormat.py:85