ATLAS Offline Software
Loading...
Searching...
No Matches
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{}
float m_realdummy
Definition LuJets.h:59
int m_dummy
Definition LuJets.h:58

◆ ~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_()); }
uintptr_t lujets_address_()
static LUJETS * s_lujets
Definition LuJets.h:61

◆ 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}
int leniK() const
Definition LuJets.h:30
void init(void)
Definition LuJets.h:68
int lenjK() const
Definition LuJets.h:31

◆ leniK()

int LuJets::leniK ( ) const
inline

Definition at line 30 of file LuJets.h.

30{return s_leniK;}
static const int s_leniK
Definition LuJets.h:40

◆ leniP()

int LuJets::leniP ( ) const
inline

Definition at line 32 of file LuJets.h.

32{return s_leniP;}
static const int s_leniP
Definition LuJets.h:42

◆ leniV()

int LuJets::leniV ( ) const
inline

Definition at line 34 of file LuJets.h.

34{return s_leniV;}
static const int s_leniV
Definition LuJets.h:44

◆ lenjK()

int LuJets::lenjK ( ) const
inline

Definition at line 31 of file LuJets.h.

31{return s_lenjK;}
static const int s_lenjK
Definition LuJets.h:41

◆ lenjP()

int LuJets::lenjP ( ) const
inline

Definition at line 33 of file LuJets.h.

33{return s_lenjP;}
static const int s_lenjP
Definition LuJets.h:43

◆ lenjV()

int LuJets::lenjV ( ) const
inline

Definition at line 35 of file LuJets.h.

35{return s_lenjV;}
static const int s_lenjV
Definition LuJets.h:45

◆ 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}
int lenjP() const
Definition LuJets.h:33
int leniP() const
Definition LuJets.h:32

◆ 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}
int leniV() const
Definition LuJets.h:34
int lenjV() const
Definition LuJets.h:35

◆ 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: