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

#include <LuJets.h>

Collaboration diagram for LuJets:

Classes

struct  LUJETS
 

Public Member Functions

 LuJets ()
 
 ~LuJets ()
 
int & n (void)
 
int & k (int i, int j)
 
float & p (int i, int j)
 
float & v (int i, int j)
 
void init (void)
 
int leniK () const
 
int lenjK () const
 
int leniP () const
 
int lenjP () const
 
int leniV () const
 
int lenjV () const
 

Private Attributes

int m_dummy
 
float m_realdummy
 

Static Private Attributes

static const int s_leniK = 150000
 
static const int s_lenjK = 5
 
static const int s_leniP = 150000
 
static const int s_lenjP = 5
 
static const int s_leniV = 150000
 
static const int s_lenjV = 5
 
static LUJETSs_lujets =0
 

Friends

struct LUJETS
 

Detailed Description

Definition at line 17 of file LuJets.h.

Constructor & Destructor Documentation

◆ LuJets()

LuJets::LuJets ( )
inline

Definition at line 73 of file LuJets.h.

74  : m_dummy (-999),
75  m_realdummy (-999.)
76 {}

◆ ~LuJets()

LuJets::~LuJets ( )
inline

Definition at line 80 of file LuJets.h.

81 {}

Member Function Documentation

◆ init()

void LuJets::init ( void  )
inline

Definition at line 68 of file LuJets.h.

69 { if (!s_lujets) s_lujets = reinterpret_cast<LUJETS*>(lujets_address_()); }

◆ k()

int & LuJets::k ( int  i,
int  j 
)
inline

Definition at line 91 of file LuJets.h.

92 {
93  init(); // check COMMON is initialized
94  if( i < 1 || i > leniK() ||
95  j < 1 || j > lenjK() ) return m_dummy;
96 
97  return s_lujets->k[j-1][i-1];
98 }

◆ leniK()

int LuJets::leniK ( ) const
inline

Definition at line 30 of file LuJets.h.

30 {return s_leniK;}

◆ leniP()

int LuJets::leniP ( ) const
inline

Definition at line 32 of file LuJets.h.

32 {return s_leniP;}

◆ leniV()

int LuJets::leniV ( ) const
inline

Definition at line 34 of file LuJets.h.

34 {return s_leniV;}

◆ lenjK()

int LuJets::lenjK ( ) const
inline

Definition at line 31 of file LuJets.h.

31 {return s_lenjK;}

◆ lenjP()

int LuJets::lenjP ( ) const
inline

Definition at line 33 of file LuJets.h.

33 {return s_lenjP;}

◆ lenjV()

int LuJets::lenjV ( ) const
inline

Definition at line 35 of file LuJets.h.

35 {return s_lenjV;}

◆ n()

int & LuJets::n ( void  )
inline

Definition at line 84 of file LuJets.h.

85 {
86  init();
87  return s_lujets->n;
88 }

◆ p()

float & LuJets::p ( int  i,
int  j 
)
inline

Definition at line 101 of file LuJets.h.

102 {
103  init(); // check COMMON is initialized
104  if( i < 1 || i > leniP() ||
105  j < 1 || j > lenjP() ) return m_realdummy;
106 
107  return s_lujets->p[j-1][i-1];
108 }

◆ v()

float & LuJets::v ( int  i,
int  j 
)
inline

Definition at line 111 of file LuJets.h.

112 {
113  init(); // check COMMON is initialized
114  if( i < 1 || i > leniV() ||
115  j < 1 || j > lenjV() ) return m_realdummy;
116 
117  return s_lujets->v[j-1][i-1];
118 }

Friends And Related Function Documentation

◆ LUJETS

friend struct LUJETS
friend

Definition at line 48 of file LuJets.h.

Member Data Documentation

◆ m_dummy

int LuJets::m_dummy
private

Definition at line 58 of file LuJets.h.

◆ m_realdummy

float LuJets::m_realdummy
private

Definition at line 59 of file LuJets.h.

◆ s_leniK

const int LuJets::s_leniK = 150000
staticprivate

Definition at line 40 of file LuJets.h.

◆ s_leniP

const int LuJets::s_leniP = 150000
staticprivate

Definition at line 42 of file LuJets.h.

◆ s_leniV

const int LuJets::s_leniV = 150000
staticprivate

Definition at line 44 of file LuJets.h.

◆ s_lenjK

const int LuJets::s_lenjK = 5
staticprivate

Definition at line 41 of file LuJets.h.

◆ s_lenjP

const int LuJets::s_lenjP = 5
staticprivate

Definition at line 43 of file LuJets.h.

◆ s_lenjV

const int LuJets::s_lenjV = 5
staticprivate

Definition at line 45 of file LuJets.h.

◆ s_lujets

LuJets::LUJETS * LuJets::s_lujets =0
staticprivate

Definition at line 61 of file LuJets.h.


The documentation for this class was generated from the following file:
LuJets::lenjK
int lenjK() const
Definition: LuJets.h:31
LuJets::s_lenjP
static const int s_lenjP
Definition: LuJets.h:43
LuJets::s_lujets
static LUJETS * s_lujets
Definition: LuJets.h:61
LuJets::s_lenjV
static const int s_lenjV
Definition: LuJets.h:45
LuJets::s_leniV
static const int s_leniV
Definition: LuJets.h:44
LuJets::leniV
int leniV() const
Definition: LuJets.h:34
LuJets::lenjV
int lenjV() const
Definition: LuJets.h:35
LuJets::s_leniK
static const int s_leniK
Definition: LuJets.h:40
lumiFormat.i
int i
Definition: lumiFormat.py:85
LuJets::m_dummy
int m_dummy
Definition: LuJets.h:58
LuJets::m_realdummy
float m_realdummy
Definition: LuJets.h:59
LuJets::s_leniP
static const int s_leniP
Definition: LuJets.h:42
LuJets::leniP
int leniP() const
Definition: LuJets.h:32
LuJets::LUJETS::n
int n
Definition: LuJets.h:52
LuJets::LUJETS::p
float p[s_lenjP][s_leniP]
Definition: LuJets.h:54
LuJets::leniK
int leniK() const
Definition: LuJets.h:30
LuJets::lenjP
int lenjP() const
Definition: LuJets.h:33
LuJets::LUJETS::v
float v[s_lenjV][s_leniV]
Definition: LuJets.h:55
lujets_address_
uintptr_t lujets_address_()
LuJets::s_lenjK
static const int s_lenjK
Definition: LuJets.h:41
LuJets::LUJETS
friend struct LUJETS
Definition: LuJets.h:47
LuJets::LUJETS::k
int k[s_lenjK][s_leniK]
Definition: LuJets.h:53
LuJets::init
void init(void)
Definition: LuJets.h:68