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

#include <DblQ00Aptp.h>

Collaboration diagram for MuonGM::DblQ00Aptp:

Classes

struct  APTP
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 23 of file DblQ00Aptp.h.

Constructor & Destructor Documentation

◆ DblQ00Aptp() [1/3]

MuonGM::DblQ00Aptp::DblQ00Aptp ( )
default

◆ ~DblQ00Aptp()

MuonGM::DblQ00Aptp::~DblQ00Aptp ( )
default

◆ DblQ00Aptp() [2/3]

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

Definition at line 25 of file DblQ00Aptp.cxx.

26  {
27  m_nObj = aptp->size();
28  m_d.resize (m_nObj);
29  if (m_nObj == 0) std::cerr<<"NO Aptp banks in the MuonDD Database"<<std::endl;
30 
31  for(size_t i=0;i<aptp->size(); ++i) {
32  m_d[i].version = (*aptp)[i]->getInt("VERS");
33  m_d[i].line = (*aptp)[i]->getInt("LINE");
34  m_d[i].type = (*aptp)[i]->getString("TYP");
35  m_d[i].i = (*aptp)[i]->getInt("I");
36  m_d[i].icut = (*aptp)[i]->getInt("ICUT");
37  m_d[i].iphi[0] = (*aptp)[i]->getInt("IPHI_0");
38  m_d[i].iphi[1] = (*aptp)[i]->getInt("IPHI_1");
39  m_d[i].iphi[2] = (*aptp)[i]->getInt("IPHI_2");
40  m_d[i].iphi[3] = (*aptp)[i]->getInt("IPHI_3");
41  m_d[i].iphi[4] = (*aptp)[i]->getInt("IPHI_4");
42  m_d[i].iphi[5] = (*aptp)[i]->getInt("IPHI_5");
43  m_d[i].iphi[6] = (*aptp)[i]->getInt("IPHI_6");
44  m_d[i].iphi[7] = (*aptp)[i]->getInt("IPHI_7");
45  m_d[i].iz = (*aptp)[i]->getInt("IZ");
46  m_d[i].dphi = (*aptp)[i]->getFloat("DPHI");
47  m_d[i].z = (*aptp)[i]->getFloat("Z");
48  m_d[i].r = (*aptp)[i]->getFloat("R");
49  m_d[i].s = (*aptp)[i]->getFloat("S");
50  m_d[i].alfa = (*aptp)[i]->getFloat("ALFA");
51  m_d[i].beta = (*aptp)[i]->getFloat("BETA");
52  m_d[i].gamma = (*aptp)[i]->getFloat("GAMMA");
53  }
54  }
55  else {
56  std::cerr<<"NO Aptp banks in the MuonDD Database"<<std::endl;
57  }
58 }
59 
60 
61 } // end of namespace MuonGM

◆ DblQ00Aptp() [3/3]

MuonGM::DblQ00Aptp::DblQ00Aptp ( const DblQ00Aptp )
delete

Member Function Documentation

◆ data()

const APTP* MuonGM::DblQ00Aptp::data ( ) const
inline

Definition at line 50 of file DblQ00Aptp.h.

50 { return m_d.data(); };

◆ getDirName()

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

Definition at line 53 of file DblQ00Aptp.h.

53 { return "DblQ00"; };

◆ getName()

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

Definition at line 52 of file DblQ00Aptp.h.

52 { return "APTP"; };

◆ getObjName()

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

Definition at line 54 of file DblQ00Aptp.h.

54 { return "APTP"; };

◆ operator=()

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

◆ size()

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

Definition at line 51 of file DblQ00Aptp.h.

51 { return m_nObj; };

Member Data Documentation

◆ m_d

std::vector<APTP> MuonGM::DblQ00Aptp::m_d {}
private

Definition at line 57 of file DblQ00Aptp.h.

◆ m_nObj

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

Definition at line 58 of file DblQ00Aptp.h.


The documentation for this class was generated from the following files:
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonGM::DblQ00Aptp::m_d
std::vector< APTP > m_d
Definition: DblQ00Aptp.h:57
MuonGM::DblQ00Aptp::m_nObj
unsigned int m_nObj
Definition: DblQ00Aptp.h:58