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

#include <DblQ00Alin.h>

Collaboration diagram for MuonGM::DblQ00Alin:

Classes

struct  ALIN
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 18 of file DblQ00Alin.h.

Constructor & Destructor Documentation

◆ DblQ00Alin() [1/3]

MuonGM::DblQ00Alin::DblQ00Alin ( )
default

◆ ~DblQ00Alin()

MuonGM::DblQ00Alin::~DblQ00Alin ( )
default

◆ DblQ00Alin() [2/3]

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

Definition at line 24 of file DblQ00Alin.cxx.

25  {
26  m_nObj = alin->size();
27  m_d.resize (m_nObj);
28  if (m_nObj == 0) std::cerr<<"NO Alin banks in the MuonDD Database"<<std::endl;
29 
30  for(size_t i=0;i <alin->size(); ++i) {
31  m_d[i].version = (*alin)[i]->getInt("VERS");
32  m_d[i].dx = (*alin)[i]->getFloat("DX");
33  m_d[i].dy = (*alin)[i]->getFloat("DY");
34  m_d[i].i = (*alin)[i]->getInt("I");
35  m_d[i].width_xs = (*alin)[i]->getFloat("WIDTH_XS");
36  m_d[i].width_xl = (*alin)[i]->getFloat("WIDTH_XL");
37  m_d[i].length_y = (*alin)[i]->getFloat("LENGTH_Y");
38  m_d[i].excent = (*alin)[i]->getFloat("EXCENT");
39  m_d[i].dead1 = (*alin)[i]->getFloat("DEAD1");
40  m_d[i].jtyp = (*alin)[i]->getInt("JTYP");
41  m_d[i].indx = (*alin)[i]->getInt("INDX");
42  m_d[i].icut = (*alin)[i]->getInt("ICUT");
43  }
44  }
45  else {
46  std::cerr<<"NO Alin banks in the MuonDD Database"<<std::endl;
47  }
48 }
49 
50 
51 } // end of namespace MuonGM

◆ DblQ00Alin() [3/3]

MuonGM::DblQ00Alin::DblQ00Alin ( const DblQ00Alin )
default

Member Function Documentation

◆ data()

const ALIN* MuonGM::DblQ00Alin::data ( ) const
inline

Definition at line 45 of file DblQ00Alin.h.

45 { return m_d.data(); };

◆ getDirName()

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

Definition at line 48 of file DblQ00Alin.h.

48 { return "DblQ00"; };

◆ getName()

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

Definition at line 47 of file DblQ00Alin.h.

47 { return "ALIN"; };

◆ getObjName()

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

Definition at line 49 of file DblQ00Alin.h.

49 { return "ALIN"; };

◆ operator=()

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

◆ size()

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

Definition at line 46 of file DblQ00Alin.h.

46 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<ALIN> MuonGM::DblQ00Alin::m_d
private

Definition at line 52 of file DblQ00Alin.h.

◆ m_nObj

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

Definition at line 53 of file DblQ00Alin.h.


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