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

Class definition for HijJet1, which is used to modify the Hijing HIJJET1 common. More...

#include <HijJet1.h>

Collaboration diagram for HijJet1:

Classes

struct  HIJJET1
 

Public Member Functions

 HijJet1 ()
 
 ~HijJet1 ()
 
int & npj (int i)
 
int & kfpj (int i, int j)
 
float & pjpx (int i, int j)
 
float & pjpy (int i, int j)
 
float & pjpz (int i, int j)
 
float & pjpe (int i, int j)
 
float & pjpm (int i, int j)
 
int & ntj (int i)
 
int & kftj (int i, int j)
 
float & pjtx (int i, int j)
 
float & pjty (int i, int j)
 
float & pjtz (int i, int j)
 
float & pjte (int i, int j)
 
float & pjtm (int i, int j)
 
void init (void)
 
int lenI () const
 
int lenJ () const
 

Private Attributes

int m_dummy
 
float m_realdummy
 

Static Private Attributes

static const int s_lenI = 300
 
static const int s_lenJ = 500
 
static HIJJET1s_hijjet1 =0
 

Friends

struct HIJJET1
 

Detailed Description

Class definition for HijJet1, which is used to modify the Hijing HIJJET1 common.

Definition at line 16 of file HijJet1.h.

Constructor & Destructor Documentation

◆ HijJet1()

HijJet1::HijJet1 ( )
inline

Definition at line 84 of file HijJet1.h.

85  : m_dummy (-999),
86  m_realdummy (-999.)
87 {}

◆ ~HijJet1()

HijJet1::~HijJet1 ( )
inline

Definition at line 91 of file HijJet1.h.

92 {}

Member Function Documentation

◆ init()

void HijJet1::init ( void  )
inline

Definition at line 79 of file HijJet1.h.

80 { if (!s_hijjet1) s_hijjet1 = reinterpret_cast<HIJJET1*>(hijjet1_address_()); }

◆ kfpj()

int & HijJet1::kfpj ( int  i,
int  j 
)
inline

Definition at line 103 of file HijJet1.h.

104 {
105  init(); // check COMMON is initialized
106  if( i < 1 || i > lenI() ||
107  j < 1 || j > lenJ() ) return m_dummy;
108 
109  return s_hijjet1->kfpj[j-1][i-1];
110 }

◆ kftj()

int & HijJet1::kftj ( int  i,
int  j 
)
inline

Definition at line 171 of file HijJet1.h.

172 {
173  init(); // check COMMON is initialized
174  if( i < 1 || i > lenI() ||
175  j < 1 || j > lenJ() ) return m_dummy;
176 
177  return s_hijjet1->kftj[j-1][i-1];
178 }

◆ lenI()

int HijJet1::lenI ( ) const
inline

Definition at line 39 of file HijJet1.h.

39 {return s_lenI;}

◆ lenJ()

int HijJet1::lenJ ( ) const
inline

Definition at line 40 of file HijJet1.h.

40 {return s_lenJ;}

◆ npj()

int & HijJet1::npj ( int  i)
inline

Definition at line 95 of file HijJet1.h.

96 {
97  init(); // check COMMON is initialized
98  if(i < 1 || i > lenI()) return m_dummy;
99  return s_hijjet1->npj[i-1];
100 }

◆ ntj()

int & HijJet1::ntj ( int  i)
inline

Definition at line 163 of file HijJet1.h.

164 {
165  init(); // check COMMON is initialized
166  if(i < 1 || i > lenI()) return m_dummy;
167  return s_hijjet1->ntj[i-1];
168 }

◆ pjpe()

float & HijJet1::pjpe ( int  i,
int  j 
)
inline

Definition at line 143 of file HijJet1.h.

144 {
145  init(); // check COMMON is initialized
146  if( i < 1 || i > lenI() ||
147  j < 1 || j > lenJ() ) return m_realdummy;
148 
149  return s_hijjet1->pjpe[j-1][i-1];
150 }

◆ pjpm()

float & HijJet1::pjpm ( int  i,
int  j 
)
inline

Definition at line 153 of file HijJet1.h.

154 {
155  init(); // check COMMON is initialized
156  if( i < 1 || i > lenI() ||
157  j < 1 || j > lenJ() ) return m_realdummy;
158 
159  return s_hijjet1->pjpm[j-1][i-1];
160 }

◆ pjpx()

float & HijJet1::pjpx ( int  i,
int  j 
)
inline

Definition at line 113 of file HijJet1.h.

114 {
115  init(); // check COMMON is initialized
116  if( i < 1 || i > lenI() ||
117  j < 1 || j > lenJ() ) return m_realdummy;
118 
119  return s_hijjet1->pjpx[j-1][i-1];
120 }

◆ pjpy()

float & HijJet1::pjpy ( int  i,
int  j 
)
inline

Definition at line 123 of file HijJet1.h.

124 {
125  init(); // check COMMON is initialized
126  if( i < 1 || i > lenI() ||
127  j < 1 || j > lenJ() ) return m_realdummy;
128 
129  return s_hijjet1->pjpy[j-1][i-1];
130 }

◆ pjpz()

float & HijJet1::pjpz ( int  i,
int  j 
)
inline

Definition at line 133 of file HijJet1.h.

134 {
135  init(); // check COMMON is initialized
136  if( i < 1 || i > lenI() ||
137  j < 1 || j > lenJ() ) return m_realdummy;
138 
139  return s_hijjet1->pjpz[j-1][i-1];
140 }

◆ pjte()

float & HijJet1::pjte ( int  i,
int  j 
)
inline

Definition at line 211 of file HijJet1.h.

212 {
213  init(); // check COMMON is initialized
214  if( i < 1 || i > lenI() ||
215  j < 1 || j > lenJ() ) return m_realdummy;
216 
217  return s_hijjet1->pjte[j-1][i-1];
218 }

◆ pjtm()

float & HijJet1::pjtm ( int  i,
int  j 
)
inline

Definition at line 221 of file HijJet1.h.

222 {
223  init(); // check COMMON is initialized
224  if( i < 1 || i > lenI() ||
225  j < 1 || j > lenJ() ) return m_realdummy;
226 
227  return s_hijjet1->pjtm[j-1][i-1];
228 }

◆ pjtx()

float & HijJet1::pjtx ( int  i,
int  j 
)
inline

Definition at line 181 of file HijJet1.h.

182 {
183  init(); // check COMMON is initialized
184  if( i < 1 || i > lenI() ||
185  j < 1 || j > lenJ() ) return m_realdummy;
186 
187  return s_hijjet1->pjtx[j-1][i-1];
188 }

◆ pjty()

float & HijJet1::pjty ( int  i,
int  j 
)
inline

Definition at line 191 of file HijJet1.h.

192 {
193  init(); // check COMMON is initialized
194  if( i < 1 || i > lenI() ||
195  j < 1 || j > lenJ() ) return m_realdummy;
196 
197  return s_hijjet1->pjty[j-1][i-1];
198 }

◆ pjtz()

float & HijJet1::pjtz ( int  i,
int  j 
)
inline

Definition at line 201 of file HijJet1.h.

202 {
203  init(); // check COMMON is initialized
204  if( i < 1 || i > lenI() ||
205  j < 1 || j > lenJ() ) return m_realdummy;
206 
207  return s_hijjet1->pjtz[j-1][i-1];
208 }

Friends And Related Function Documentation

◆ HIJJET1

friend struct HIJJET1
friend

Definition at line 49 of file HijJet1.h.

Member Data Documentation

◆ m_dummy

int HijJet1::m_dummy
private

Definition at line 69 of file HijJet1.h.

◆ m_realdummy

float HijJet1::m_realdummy
private

Definition at line 70 of file HijJet1.h.

◆ s_hijjet1

HijJet1::HIJJET1 * HijJet1::s_hijjet1 =0
staticprivate

Definition at line 72 of file HijJet1.h.

◆ s_lenI

const int HijJet1::s_lenI = 300
staticprivate

Definition at line 45 of file HijJet1.h.

◆ s_lenJ

const int HijJet1::s_lenJ = 500
staticprivate

Definition at line 46 of file HijJet1.h.


The documentation for this class was generated from the following file:
HijJet1::HIJJET1::pjpe
float pjpe[s_lenJ][s_lenI]
Definition: HijJet1.h:58
hijjet1_address_
uintptr_t hijjet1_address_()
HijJet1::init
void init(void)
Definition: HijJet1.h:79
HijJet1::HIJJET1::pjpz
float pjpz[s_lenJ][s_lenI]
Definition: HijJet1.h:57
HijJet1::HIJJET1::pjty
float pjty[s_lenJ][s_lenI]
Definition: HijJet1.h:63
HijJet1::HIJJET1::ntj
int ntj[s_lenI]
Definition: HijJet1.h:60
HijJet1::m_realdummy
float m_realdummy
Definition: HijJet1.h:70
HijJet1::HIJJET1::pjpy
float pjpy[s_lenJ][s_lenI]
Definition: HijJet1.h:56
lumiFormat.i
int i
Definition: lumiFormat.py:85
HijJet1::HIJJET1::pjte
float pjte[s_lenJ][s_lenI]
Definition: HijJet1.h:65
HijJet1::HIJJET1::kftj
int kftj[s_lenJ][s_lenI]
Definition: HijJet1.h:61
HijJet1::s_lenJ
static const int s_lenJ
Definition: HijJet1.h:46
HijJet1::HIJJET1::pjtx
float pjtx[s_lenJ][s_lenI]
Definition: HijJet1.h:62
HijJet1::lenI
int lenI() const
Definition: HijJet1.h:39
HijJet1::HIJJET1::pjtm
float pjtm[s_lenJ][s_lenI]
Definition: HijJet1.h:66
HijJet1::lenJ
int lenJ() const
Definition: HijJet1.h:40
HijJet1::HIJJET1::pjpx
float pjpx[s_lenJ][s_lenI]
Definition: HijJet1.h:55
HijJet1::HIJJET1::kfpj
int kfpj[s_lenJ][s_lenI]
Definition: HijJet1.h:54
HijJet1::s_hijjet1
static HIJJET1 * s_hijjet1
Definition: HijJet1.h:72
HijJet1::s_lenI
static const int s_lenI
Definition: HijJet1.h:45
HijJet1::HIJJET1::pjtz
float pjtz[s_lenJ][s_lenI]
Definition: HijJet1.h:64
HijJet1::m_dummy
int m_dummy
Definition: HijJet1.h:69
HijJet1::HIJJET1::pjpm
float pjpm[s_lenJ][s_lenI]
Definition: HijJet1.h:59
HijJet1::HIJJET1::npj
int npj[s_lenI]
Definition: HijJet1.h:53
HijJet1::HIJJET1
friend struct HIJJET1
Definition: HijJet1.h:48