ATLAS Offline Software
Loading...
Searching...
No Matches
HyJets Class Reference

#include <HyJets.h>

Collaboration diagram for HyJets:

Classes

struct  HYJETS

Public Member Functions

 HyJets ()
 ~HyJets ()
int & nhj (void)
int & nhp (void)
int & khj (int i, int j)
double & phj (int i, int j)
double & vhj (int i, int j)
void init (void)
int leniKhj () const
int lenjKhj () const
int leniPhj () const
int lenjPhj () const
int leniVhj () const
int lenjVhj () const

Private Attributes

int m_dummy
double m_realdummy

Static Private Attributes

static const int s_leniKhj = 150000
static const int s_lenjKhj = 5
static const int s_leniPhj = 150000
static const int s_lenjPhj = 5
static const int s_leniVhj = 150000
static const int s_lenjVhj = 5
static HYJETSs_hyjets =0

Friends

struct HYJETS

Detailed Description

Definition at line 17 of file HyJets.h.

Constructor & Destructor Documentation

◆ HyJets()

HyJets::HyJets ( )
inline

Definition at line 75 of file HyJets.h.

76 : m_dummy (-999),
77 m_realdummy (-999.)
78{}
double m_realdummy
Definition HyJets.h:61
int m_dummy
Definition HyJets.h:60

◆ ~HyJets()

HyJets::~HyJets ( )
inline

Definition at line 82 of file HyJets.h.

83{}

Member Function Documentation

◆ init()

void HyJets::init ( void )
inline

Definition at line 70 of file HyJets.h.

71{ if (!s_hyjets) s_hyjets = reinterpret_cast<HYJETS*>(hyjets_address_()); }
uintptr_t hyjets_address_()
static HYJETS * s_hyjets
Definition HyJets.h:63

◆ khj()

int & HyJets::khj ( int i,
int j )
inline

Definition at line 100 of file HyJets.h.

101{
102 init(); // check COMMON is initialized
103 if( i < 1 || i > leniKhj() ||
104 j < 1 || j > lenjKhj() ) return m_dummy;
105
106 return s_hyjets->khj[j-1][i-1];
107}
int leniKhj() const
Definition HyJets.h:31
void init(void)
Definition HyJets.h:70
int lenjKhj() const
Definition HyJets.h:32

◆ leniKhj()

int HyJets::leniKhj ( ) const
inline

Definition at line 31 of file HyJets.h.

31{return s_leniKhj;}
static const int s_leniKhj
Definition HyJets.h:41

◆ leniPhj()

int HyJets::leniPhj ( ) const
inline

Definition at line 33 of file HyJets.h.

33{return s_leniPhj;}
static const int s_leniPhj
Definition HyJets.h:43

◆ leniVhj()

int HyJets::leniVhj ( ) const
inline

Definition at line 35 of file HyJets.h.

35{return s_leniVhj;}
static const int s_leniVhj
Definition HyJets.h:45

◆ lenjKhj()

int HyJets::lenjKhj ( ) const
inline

Definition at line 32 of file HyJets.h.

32{return s_lenjKhj;}
static const int s_lenjKhj
Definition HyJets.h:42

◆ lenjPhj()

int HyJets::lenjPhj ( ) const
inline

Definition at line 34 of file HyJets.h.

34{return s_lenjPhj;}
static const int s_lenjPhj
Definition HyJets.h:44

◆ lenjVhj()

int HyJets::lenjVhj ( ) const
inline

Definition at line 36 of file HyJets.h.

36{return s_lenjVhj;}
static const int s_lenjVhj
Definition HyJets.h:46

◆ nhj()

int & HyJets::nhj ( void )
inline

Definition at line 86 of file HyJets.h.

87{
88 init();
89 return s_hyjets->nhj;
90}

◆ nhp()

int & HyJets::nhp ( void )
inline

Definition at line 93 of file HyJets.h.

94{
95 init();
96 return s_hyjets->nhp;
97}

◆ phj()

double & HyJets::phj ( int i,
int j )
inline

Definition at line 110 of file HyJets.h.

111{
112 init(); // check COMMON is initialized
113 if( i < 1 || i > leniPhj() ||
114 j < 1 || j > lenjPhj() ) return m_realdummy;
115
116 return s_hyjets->phj[j-1][i-1];
117}
int leniPhj() const
Definition HyJets.h:33
int lenjPhj() const
Definition HyJets.h:34

◆ vhj()

double & HyJets::vhj ( int i,
int j )
inline

Definition at line 120 of file HyJets.h.

121{
122 init(); // check COMMON is initialized
123 if( i < 1 || i > leniVhj() ||
124 j < 1 || j > lenjVhj() ) return m_realdummy;
125
126 return s_hyjets->vhj[j-1][i-1];
127}
int leniVhj() const
Definition HyJets.h:35
int lenjVhj() const
Definition HyJets.h:36

◆ HYJETS

friend struct HYJETS
friend

Definition at line 49 of file HyJets.h.

Member Data Documentation

◆ m_dummy

int HyJets::m_dummy
private

Definition at line 60 of file HyJets.h.

◆ m_realdummy

double HyJets::m_realdummy
private

Definition at line 61 of file HyJets.h.

◆ s_hyjets

HyJets::HYJETS * HyJets::s_hyjets =0
staticprivate

Definition at line 63 of file HyJets.h.

◆ s_leniKhj

const int HyJets::s_leniKhj = 150000
staticprivate

Definition at line 41 of file HyJets.h.

◆ s_leniPhj

const int HyJets::s_leniPhj = 150000
staticprivate

Definition at line 43 of file HyJets.h.

◆ s_leniVhj

const int HyJets::s_leniVhj = 150000
staticprivate

Definition at line 45 of file HyJets.h.

◆ s_lenjKhj

const int HyJets::s_lenjKhj = 5
staticprivate

Definition at line 42 of file HyJets.h.

◆ s_lenjPhj

const int HyJets::s_lenjPhj = 5
staticprivate

Definition at line 44 of file HyJets.h.

◆ s_lenjVhj

const int HyJets::s_lenjVhj = 5
staticprivate

Definition at line 46 of file HyJets.h.


The documentation for this class was generated from the following file: