ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
LuDatr Class Reference

#include <LuDatr.h>

Collaboration diagram for LuDatr:

Classes

struct  LUDATR
 

Public Member Functions

 LuDatr ()
 
 ~LuDatr ()
 
int & mrlu (int n)
 
float & rrlu (int n)
 
void init (void)
 
int lenMrlu () const
 
int lenRrlu () const
 

Private Attributes

int m_dummy
 
float m_realdummy
 

Static Private Attributes

static const int s_lenMrlu = 6
 
static const int s_lenRrlu = 100
 
static LUDATRs_ludatr =0
 

Friends

struct LUDATR
 

Detailed Description

Definition at line 17 of file LuDatr.h.

Constructor & Destructor Documentation

◆ LuDatr()

LuDatr::LuDatr ( )
inline

Definition at line 59 of file LuDatr.h.

60  : m_dummy (-999),
61  m_realdummy (-999.)
62 {}

◆ ~LuDatr()

LuDatr::~LuDatr ( )
inline

Definition at line 65 of file LuDatr.h.

66 {}

Member Function Documentation

◆ init()

void LuDatr::init ( void  )
inline

Definition at line 55 of file LuDatr.h.

56 { if (!s_ludatr) s_ludatr = reinterpret_cast<LUDATR*>(ludatr_address_()); }

◆ lenMrlu()

int LuDatr::lenMrlu ( ) const
inline

Definition at line 28 of file LuDatr.h.

28 {return s_lenMrlu;}

◆ lenRrlu()

int LuDatr::lenRrlu ( ) const
inline

Definition at line 29 of file LuDatr.h.

29 {return s_lenRrlu;}

◆ mrlu()

int & LuDatr::mrlu ( int  n)
inline

Definition at line 69 of file LuDatr.h.

70 {
71  init(); // check COMMON is initialized
72  if(n < 1 || n > lenMrlu()) return m_dummy;
73  return s_ludatr->mrlu[n-1];
74 }

◆ rrlu()

float & LuDatr::rrlu ( int  n)
inline

Definition at line 77 of file LuDatr.h.

78 {
79  init(); // check COMMON is initialized
80  if(n < 1 || n > lenRrlu()) return m_realdummy;
81  return s_ludatr->rrlu[n-1];
82 }

Friends And Related Function Documentation

◆ LUDATR

friend struct LUDATR
friend

Definition at line 38 of file LuDatr.h.

Member Data Documentation

◆ m_dummy

int LuDatr::m_dummy
private

Definition at line 46 of file LuDatr.h.

◆ m_realdummy

float LuDatr::m_realdummy
private

Definition at line 47 of file LuDatr.h.

◆ s_lenMrlu

const int LuDatr::s_lenMrlu = 6
staticprivate

Definition at line 34 of file LuDatr.h.

◆ s_lenRrlu

const int LuDatr::s_lenRrlu = 100
staticprivate

Definition at line 35 of file LuDatr.h.

◆ s_ludatr

LuDatr::LUDATR * LuDatr::s_ludatr =0
staticprivate

Definition at line 48 of file LuDatr.h.


The documentation for this class was generated from the following file:
LuDatr::lenMrlu
int lenMrlu() const
Definition: LuDatr.h:28
LuDatr::LUDATR
friend struct LUDATR
Definition: LuDatr.h:37
LuDatr::s_ludatr
static LUDATR * s_ludatr
Definition: LuDatr.h:48
LuDatr::m_dummy
int m_dummy
Definition: LuDatr.h:46
LuDatr::s_lenRrlu
static const int s_lenRrlu
Definition: LuDatr.h:35
LuDatr::s_lenMrlu
static const int s_lenMrlu
Definition: LuDatr.h:34
beamspotman.n
n
Definition: beamspotman.py:731
LuDatr::lenRrlu
int lenRrlu() const
Definition: LuDatr.h:29
LuDatr::LUDATR::mrlu
int mrlu[s_lenMrlu]
Definition: LuDatr.h:42
LuDatr::m_realdummy
float m_realdummy
Definition: LuDatr.h:47
LuDatr::init
void init(void)
Definition: LuDatr.h:55
ludatr_address_
uintptr_t ludatr_address_()
LuDatr::LUDATR::rrlu
float rrlu[s_lenRrlu]
Definition: LuDatr.h:43