ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
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 {}

◆ ~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_()); }

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

◆ leniKhj()

int HyJets::leniKhj ( ) const
inline

Definition at line 31 of file HyJets.h.

31 {return s_leniKhj;}

◆ leniPhj()

int HyJets::leniPhj ( ) const
inline

Definition at line 33 of file HyJets.h.

33 {return s_leniPhj;}

◆ leniVhj()

int HyJets::leniVhj ( ) const
inline

Definition at line 35 of file HyJets.h.

35 {return s_leniVhj;}

◆ lenjKhj()

int HyJets::lenjKhj ( ) const
inline

Definition at line 32 of file HyJets.h.

32 {return s_lenjKhj;}

◆ lenjPhj()

int HyJets::lenjPhj ( ) const
inline

Definition at line 34 of file HyJets.h.

34 {return s_lenjPhj;}

◆ lenjVhj()

int HyJets::lenjVhj ( ) const
inline

Definition at line 36 of file HyJets.h.

36 {return s_lenjVhj;}

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

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

Friends And Related Function Documentation

◆ 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:
HyJets::s_lenjPhj
static const int s_lenjPhj
Definition: HyJets.h:44
HyJets::m_dummy
int m_dummy
Definition: HyJets.h:60
HyJets::m_realdummy
double m_realdummy
Definition: HyJets.h:61
HyJets::HYJETS::phj
double phj[s_lenjPhj][s_leniPhj]
Definition: HyJets.h:56
HyJets::lenjKhj
int lenjKhj() const
Definition: HyJets.h:32
HyJets::leniPhj
int leniPhj() const
Definition: HyJets.h:33
HyJets::leniVhj
int leniVhj() const
Definition: HyJets.h:35
HyJets::s_hyjets
static HYJETS * s_hyjets
Definition: HyJets.h:63
HyJets::leniKhj
int leniKhj() const
Definition: HyJets.h:31
HyJets::s_leniPhj
static const int s_leniPhj
Definition: HyJets.h:43
HyJets::HYJETS
friend struct HYJETS
Definition: HyJets.h:48
HyJets::s_leniVhj
static const int s_leniVhj
Definition: HyJets.h:45
HyJets::HYJETS::nhp
int nhp
Definition: HyJets.h:54
lumiFormat.i
int i
Definition: lumiFormat.py:85
HyJets::s_lenjVhj
static const int s_lenjVhj
Definition: HyJets.h:46
HyJets::lenjPhj
int lenjPhj() const
Definition: HyJets.h:34
hyjets_address_
uintptr_t hyjets_address_()
HyJets::HYJETS::vhj
double vhj[s_lenjVhj][s_leniVhj]
Definition: HyJets.h:57
HyJets::lenjVhj
int lenjVhj() const
Definition: HyJets.h:36
HyJets::s_lenjKhj
static const int s_lenjKhj
Definition: HyJets.h:42
HyJets::HYJETS::nhj
int nhj
Definition: HyJets.h:53
HyJets::init
void init(void)
Definition: HyJets.h:70
HyJets::s_leniKhj
static const int s_leniKhj
Definition: HyJets.h:41
HyJets::HYJETS::khj
int khj[s_lenjKhj][s_leniKhj]
Definition: HyJets.h:55