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

#include <DblQ00Awln.h>

Collaboration diagram for MuonGM::DblQ00Awln:

Classes

struct  AWLN
 

Public Member Functions

 DblQ00Awln ()=default
 
 ~DblQ00Awln ()=default
 
 DblQ00Awln (IRDBAccessSvc *pAccessSvc, const std::string &GeoTag="", const std::string &GeoNode="")
 
const AWLNdata () const
 
unsigned int size () const
 
std::string getName () const
 
std::string getDirName () const
 
std::string getObjName () const
 

Private Member Functions

DblQ00Awlnoperator= (const DblQ00Awln &right)
 
 DblQ00Awln (const DblQ00Awln &)
 

Private Attributes

std::vector< AWLNm_d
 
unsigned int m_nObj {}
 

Detailed Description

Definition at line 22 of file DblQ00Awln.h.

Constructor & Destructor Documentation

◆ DblQ00Awln() [1/3]

MuonGM::DblQ00Awln::DblQ00Awln ( )
default

◆ ~DblQ00Awln()

MuonGM::DblQ00Awln::~DblQ00Awln ( )
default

◆ DblQ00Awln() [2/3]

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

Definition at line 24 of file DblQ00Awln.cxx.

25  {
26  m_nObj = awln->size();
27  m_d.resize (m_nObj);
28  if (m_nObj == 0) std::cerr<<"NO Awln banks in the MuonDD Database"<<std::endl;
29 
30  for(size_t i =0; i<awln->size(); ++i) {
31  m_d[i].version = (*awln)[i]->getInt("VERS");
32  m_d[i].jsta = (*awln)[i]->getInt("JSTA");
33  m_d[i].spitch = (*awln)[i]->getFloat("SPITCH");
34  m_d[i].zpitch = (*awln)[i]->getFloat("ZPITCH");
35  m_d[i].dedstr = (*awln)[i]->getFloat("DEDSTR");
36  m_d[i].nsrest = (*awln)[i]->getInt("NSREST");
37  m_d[i].nzrest = (*awln)[i]->getInt("NZREST");
38  m_d[i].sfirst = (*awln)[i]->getFloat("SFIRST");
39  m_d[i].zfirst = (*awln)[i]->getFloat("ZFIRST");
40  m_d[i].dedsep = (*awln)[i]->getFloat("DEDSEP");
41  m_d[i].nsrost = (*awln)[i]->getInt("NSROST");
42  m_d[i].nzrost = (*awln)[i]->getInt("NZROST");
43  }
44  }
45  else {
46  std::cerr<<"NO Awln banks in the MuonDD Database"<<std::endl;
47  }
48 }
49 
50 
51 } // end of namespace MuonGM

◆ DblQ00Awln() [3/3]

MuonGM::DblQ00Awln::DblQ00Awln ( const DblQ00Awln )
private

Member Function Documentation

◆ data()

const AWLN* MuonGM::DblQ00Awln::data ( ) const
inline

Definition at line 44 of file DblQ00Awln.h.

44 { return m_d.data(); };

◆ getDirName()

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

Definition at line 47 of file DblQ00Awln.h.

47 { return "DblQ00"; };

◆ getName()

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

Definition at line 46 of file DblQ00Awln.h.

46 { return "AWLN"; };

◆ getObjName()

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

Definition at line 48 of file DblQ00Awln.h.

48 { return "AWLN"; };

◆ operator=()

DblQ00Awln& MuonGM::DblQ00Awln::operator= ( const DblQ00Awln right)
private

◆ size()

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

Definition at line 45 of file DblQ00Awln.h.

45 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<AWLN> MuonGM::DblQ00Awln::m_d
private

Definition at line 51 of file DblQ00Awln.h.

◆ m_nObj

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

Definition at line 52 of file DblQ00Awln.h.


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