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

#include <DblQ00Wcro.h>

Collaboration diagram for MuonGM::DblQ00Wcro:

Classes

struct  WCRO
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 22 of file DblQ00Wcro.h.

Constructor & Destructor Documentation

◆ DblQ00Wcro() [1/3]

MuonGM::DblQ00Wcro::DblQ00Wcro ( )
default

◆ ~DblQ00Wcro()

MuonGM::DblQ00Wcro::~DblQ00Wcro ( )
default

◆ DblQ00Wcro() [2/3]

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

Definition at line 24 of file DblQ00Wcro.cxx.

25  {
26  m_nObj = wcro->size();
27  m_d.resize (m_nObj);
28  if (m_nObj == 0) std::cerr<<"NO Wcro banks in the MuonDD Database"<<std::endl;
29 
30  for(size_t i =0; i<wcro->size(); ++i) {
31  m_d[i].version = (*wcro)[i]->getInt("VERS");
32  m_d[i].jsta = (*wcro)[i]->getInt("JSTA");
33  m_d[i].num = (*wcro)[i]->getInt("NUM");
34  m_d[i].heightness = (*wcro)[i]->getFloat("HEIGHTNESS");
35  m_d[i].largeness = (*wcro)[i]->getFloat("LARGENESS");
36  m_d[i].thickness = (*wcro)[i]->getFloat("THICKNESS");
37  }
38  } else {
39  std::cerr<<"NO Wcro banks in the MuonDD Database"<<std::endl;
40  }
41 }
42 
43 } // end of namespace MuonGM

◆ DblQ00Wcro() [3/3]

MuonGM::DblQ00Wcro::DblQ00Wcro ( const DblQ00Wcro )
default

Member Function Documentation

◆ data()

const WCRO* MuonGM::DblQ00Wcro::data ( ) const
inline

Definition at line 42 of file DblQ00Wcro.h.

42 { return m_d.data(); };

◆ getDirName()

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

Definition at line 45 of file DblQ00Wcro.h.

45 { return "DblQ00"; };

◆ getName()

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

Definition at line 44 of file DblQ00Wcro.h.

44 { return "WCRO"; };

◆ getObjName()

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

Definition at line 46 of file DblQ00Wcro.h.

46 { return "WCRO"; };

◆ operator=()

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

◆ size()

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

Definition at line 43 of file DblQ00Wcro.h.

43 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<WCRO> MuonGM::DblQ00Wcro::m_d {}
private

Definition at line 49 of file DblQ00Wcro.h.

◆ m_nObj

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

Definition at line 50 of file DblQ00Wcro.h.


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