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

#include <DblQ00Wded.h>

Collaboration diagram for MuonGM::DblQ00Wded:

Classes

struct  WDED
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 23 of file DblQ00Wded.h.

Constructor & Destructor Documentation

◆ DblQ00Wded() [1/3]

MuonGM::DblQ00Wded::DblQ00Wded ( )
default

◆ ~DblQ00Wded()

MuonGM::DblQ00Wded::~DblQ00Wded ( )
default

◆ DblQ00Wded() [2/3]

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

Definition at line 24 of file DblQ00Wded.cxx.

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

◆ DblQ00Wded() [3/3]

MuonGM::DblQ00Wded::DblQ00Wded ( const DblQ00Wded )
delete

Member Function Documentation

◆ data()

const WDED* MuonGM::DblQ00Wded::data ( ) const
inline

Definition at line 42 of file DblQ00Wded.h.

42 { return m_d.data(); };

◆ getDirName()

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

Definition at line 45 of file DblQ00Wded.h.

45 { return "DblQ00"; };

◆ getName()

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

Definition at line 44 of file DblQ00Wded.h.

44 { return "WDED"; };

◆ getObjName()

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

Definition at line 46 of file DblQ00Wded.h.

46 { return "WDED"; };

◆ operator=()

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

◆ size()

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

Definition at line 43 of file DblQ00Wded.h.

43 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<WDED> MuonGM::DblQ00Wded::m_d {}
private

Definition at line 49 of file DblQ00Wded.h.

◆ m_nObj

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

Definition at line 50 of file DblQ00Wded.h.


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