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

#include <DblQ00Wcmi.h>

Collaboration diagram for MuonGM::DblQ00Wcmi:

Classes

struct  WCMI
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 23 of file DblQ00Wcmi.h.

Constructor & Destructor Documentation

◆ DblQ00Wcmi() [1/2]

MuonGM::DblQ00Wcmi::DblQ00Wcmi ( )
default

◆ ~DblQ00Wcmi()

MuonGM::DblQ00Wcmi::~DblQ00Wcmi ( )
default

◆ DblQ00Wcmi() [2/2]

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

Definition at line 23 of file DblQ00Wcmi.cxx.

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

Member Function Documentation

◆ data()

const WCMI* MuonGM::DblQ00Wcmi::data ( ) const
inline

Definition at line 39 of file DblQ00Wcmi.h.

39 { return m_d.data(); };

◆ getDirName()

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

Definition at line 42 of file DblQ00Wcmi.h.

42 { return "DblQ00"; };

◆ getName()

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

Definition at line 41 of file DblQ00Wcmi.h.

41 { return "WCMI"; };

◆ getObjName()

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

Definition at line 43 of file DblQ00Wcmi.h.

43 { return "WCMI"; };

◆ size()

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

Definition at line 40 of file DblQ00Wcmi.h.

40 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<WCMI> MuonGM::DblQ00Wcmi::m_d {}
private

Definition at line 46 of file DblQ00Wcmi.h.

◆ m_nObj

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

Definition at line 47 of file DblQ00Wcmi.h.


The documentation for this class was generated from the following files:
MuonGM::DblQ00Wcmi::m_d
std::vector< WCMI > m_d
Definition: DblQ00Wcmi.h:46
lumiFormat.i
int i
Definition: lumiFormat.py:92
MuonGM::DblQ00Wcmi::m_nObj
unsigned int m_nObj
Definition: DblQ00Wcmi.h:47