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

Class definition for HijJet2, which is used to modify the Hijing HIJJET2 common. More...

#include <HijJet2.h>

Collaboration diagram for HijJet2:

Classes

struct  HIJJET2
 

Public Member Functions

 HijJet2 ()
 
 ~HijJet2 ()
 
int & nsg (void)
 
int & njsg (int i)
 
int & iasg (int i, int k)
 
int & k1sg (int i, int j)
 
int & k2sg (int i, int j)
 
float & pxsg (int i, int j)
 
float & pysg (int i, int j)
 
float & pzsg (int i, int j)
 
float & pesg (int i, int j)
 
float & pmsg (int i, int j)
 
void init (void)
 
int lenI () const
 
int lenJ () const
 
int lenK () const
 

Private Attributes

int m_dummy
 
float m_realdummy
 

Static Private Attributes

static const int s_lenI = 900
 
static const int s_lenJ = 100
 
static const int s_lenK = 3
 
static HIJJET2s_hijjet2 =0
 

Friends

struct HIJJET2
 

Detailed Description

Class definition for HijJet2, which is used to modify the Hijing HIJJET2 common.

Definition at line 18 of file HijJet2.h.

Constructor & Destructor Documentation

◆ HijJet2()

HijJet2::HijJet2 ( )
inline

Definition at line 80 of file HijJet2.h.

81  : m_dummy (-999),
82  m_realdummy (-999.)
83 {}

◆ ~HijJet2()

HijJet2::~HijJet2 ( )
inline

Definition at line 87 of file HijJet2.h.

88 {}

Member Function Documentation

◆ iasg()

int & HijJet2::iasg ( int  i,
int  k 
)
inline

Definition at line 106 of file HijJet2.h.

107 {
108  init(); // check COMMON is initialized
109  if( i < 1 || i > lenI() ||
110  k < 1 || k > lenK() ) return m_dummy;
111 
112  return s_hijjet2->iasg[k-1][i-1];
113 }

◆ init()

void HijJet2::init ( void  )
inline

Definition at line 75 of file HijJet2.h.

76 { if (!s_hijjet2) s_hijjet2 = reinterpret_cast<HIJJET2*>(hijjet2_address_()); }

◆ k1sg()

int & HijJet2::k1sg ( int  i,
int  j 
)
inline

Definition at line 116 of file HijJet2.h.

117 {
118  init(); // check COMMON is initialized
119  if( i < 1 || i > lenI() ||
120  j < 1 || j > lenJ() ) return m_dummy;
121 
122  return s_hijjet2->k1sg[j-1][i-1];
123 }

◆ k2sg()

int & HijJet2::k2sg ( int  i,
int  j 
)
inline

Definition at line 126 of file HijJet2.h.

127 {
128  init(); // check COMMON is initialized
129  if( i < 1 || i > lenI() ||
130  j < 1 || j > lenJ() ) return m_dummy;
131 
132  return s_hijjet2->k2sg[j-1][i-1];
133 }

◆ lenI()

int HijJet2::lenI ( ) const
inline

Definition at line 37 of file HijJet2.h.

37 {return s_lenI;}

◆ lenJ()

int HijJet2::lenJ ( ) const
inline

Definition at line 38 of file HijJet2.h.

38 {return s_lenJ;}

◆ lenK()

int HijJet2::lenK ( ) const
inline

Definition at line 39 of file HijJet2.h.

39 {return s_lenK;}

◆ njsg()

int & HijJet2::njsg ( int  i)
inline

Definition at line 98 of file HijJet2.h.

99 {
100  init(); // check COMMON is initialized
101  if(i < 1 || i > lenI()) return m_dummy;
102  return s_hijjet2->njsg[i-1];
103 }

◆ nsg()

int & HijJet2::nsg ( void  )
inline

Definition at line 91 of file HijJet2.h.

92 {
93  init(); // check COMMON is initialized
94  return s_hijjet2->nsg;
95 }

◆ pesg()

float & HijJet2::pesg ( int  i,
int  j 
)
inline

Definition at line 166 of file HijJet2.h.

167 {
168  init(); // check COMMON is initialized
169  if( i < 1 || i > lenI() ||
170  j < 1 || j > lenJ() ) return m_realdummy;
171 
172  return s_hijjet2->pesg[j-1][i-1];
173 }

◆ pmsg()

float & HijJet2::pmsg ( int  i,
int  j 
)
inline

Definition at line 176 of file HijJet2.h.

177 {
178  init(); // check COMMON is initialized
179  if( i < 1 || i > lenI() ||
180  j < 1 || j > lenJ() ) return m_realdummy;
181 
182  return s_hijjet2->pmsg[j-1][i-1];
183 }

◆ pxsg()

float & HijJet2::pxsg ( int  i,
int  j 
)
inline

Definition at line 136 of file HijJet2.h.

137 {
138  init(); // check COMMON is initialized
139  if( i < 1 || i > lenI() ||
140  j < 1 || j > lenJ() ) return m_realdummy;
141 
142  return s_hijjet2->pxsg[j-1][i-1];
143 }

◆ pysg()

float & HijJet2::pysg ( int  i,
int  j 
)
inline

Definition at line 146 of file HijJet2.h.

147 {
148  init(); // check COMMON is initialized
149  if( i < 1 || i > lenI() ||
150  j < 1 || j > lenJ() ) return m_realdummy;
151 
152  return s_hijjet2->pysg[j-1][i-1];
153 }

◆ pzsg()

float & HijJet2::pzsg ( int  i,
int  j 
)
inline

Definition at line 156 of file HijJet2.h.

157 {
158  init(); // check COMMON is initialized
159  if( i < 1 || i > lenI() ||
160  j < 1 || j > lenJ() ) return m_realdummy;
161 
162  return s_hijjet2->pzsg[j-1][i-1];
163 }

Friends And Related Function Documentation

◆ HIJJET2

friend struct HIJJET2
friend

Definition at line 49 of file HijJet2.h.

Member Data Documentation

◆ m_dummy

int HijJet2::m_dummy
private

Definition at line 65 of file HijJet2.h.

◆ m_realdummy

float HijJet2::m_realdummy
private

Definition at line 66 of file HijJet2.h.

◆ s_hijjet2

HijJet2::HIJJET2 * HijJet2::s_hijjet2 =0
staticprivate

Definition at line 68 of file HijJet2.h.

◆ s_lenI

const int HijJet2::s_lenI = 900
staticprivate

Definition at line 44 of file HijJet2.h.

◆ s_lenJ

const int HijJet2::s_lenJ = 100
staticprivate

Definition at line 45 of file HijJet2.h.

◆ s_lenK

const int HijJet2::s_lenK = 3
staticprivate

Definition at line 46 of file HijJet2.h.


The documentation for this class was generated from the following file:
HijJet2::lenK
int lenK() const
Definition: HijJet2.h:39
HijJet2::init
void init(void)
Definition: HijJet2.h:75
HijJet2::s_lenK
static const int s_lenK
Definition: HijJet2.h:46
HijJet2::s_lenI
static const int s_lenI
Definition: HijJet2.h:44
HijJet2::HIJJET2::k1sg
int k1sg[s_lenJ][s_lenI]
Definition: HijJet2.h:56
HijJet2::HIJJET2::k2sg
int k2sg[s_lenJ][s_lenI]
Definition: HijJet2.h:57
HijJet2::lenJ
int lenJ() const
Definition: HijJet2.h:38
HijJet2::HIJJET2::pmsg
float pmsg[s_lenJ][s_lenI]
Definition: HijJet2.h:62
HijJet2::lenI
int lenI() const
Definition: HijJet2.h:37
HijJet2::s_lenJ
static const int s_lenJ
Definition: HijJet2.h:45
HijJet2::HIJJET2::pxsg
float pxsg[s_lenJ][s_lenI]
Definition: HijJet2.h:58
HijJet2::HIJJET2::iasg
int iasg[s_lenK][s_lenI]
Definition: HijJet2.h:55
HijJet2::HIJJET2
friend struct HIJJET2
Definition: HijJet2.h:48
lumiFormat.i
int i
Definition: lumiFormat.py:85
HijJet2::HIJJET2::pysg
float pysg[s_lenJ][s_lenI]
Definition: HijJet2.h:59
HijJet2::m_dummy
int m_dummy
Definition: HijJet2.h:65
HijJet2::HIJJET2::pzsg
float pzsg[s_lenJ][s_lenI]
Definition: HijJet2.h:60
HijJet2::m_realdummy
float m_realdummy
Definition: HijJet2.h:66
HijJet2::HIJJET2::njsg
int njsg[s_lenI]
Definition: HijJet2.h:54
hijjet2_address_
uintptr_t hijjet2_address_()
HijJet2::HIJJET2::nsg
int nsg
Definition: HijJet2.h:53
HijJet2::HIJJET2::pesg
float pesg[s_lenJ][s_lenI]
Definition: HijJet2.h:61
HijJet2::s_hijjet2
static HIJJET2 * s_hijjet2
Definition: HijJet2.h:68
fitman.k
k
Definition: fitman.py:528