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

Class definition for HijJet4, which is used to modify the Hijing HIJJET4 common. More...

#include <HijJet4.h>

Collaboration diagram for HijJet4:

Classes

struct  HIJJET4

Public Member Functions

 HijJet4 ()
 ~HijJet4 ()
int & ndr (void)
int & iadr (int i, int j)
int & kfdr (int i)
float & pdr (int i, int k)
float & vdr (int i, int k)
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 = 2
static const int s_lenK = 5
static HIJJET4s_hijjet4 =0

Friends

struct HIJJET4

Detailed Description

Class definition for HijJet4, which is used to modify the Hijing HIJJET4 common.

Definition at line 19 of file HijJet4.h.

Constructor & Destructor Documentation

◆ HijJet4()

HijJet4::HijJet4 ( )
inline

Definition at line 71 of file HijJet4.h.

72 : m_dummy (-999),
73 m_realdummy (-999.)
74{}
float m_realdummy
Definition HijJet4.h:57
int m_dummy
Definition HijJet4.h:56

◆ ~HijJet4()

HijJet4::~HijJet4 ( )
inline

Definition at line 78 of file HijJet4.h.

79{}

Member Function Documentation

◆ iadr()

int & HijJet4::iadr ( int i,
int j )
inline

Definition at line 89 of file HijJet4.h.

90{
91 init(); // check COMMON is initialized
92 if( i < 1 || i > lenI() ||
93 j < 1 || j > lenJ() ) return m_dummy;
94
95 return s_hijjet4->iadr[j-1][i-1];
96}
void init(void)
Definition HijJet4.h:66
static HIJJET4 * s_hijjet4
Definition HijJet4.h:59
int lenI() const
Definition HijJet4.h:33
int lenJ() const
Definition HijJet4.h:34

◆ init()

void HijJet4::init ( void )
inline

Definition at line 66 of file HijJet4.h.

67{ if (!s_hijjet4) s_hijjet4 = reinterpret_cast<HIJJET4*>(hijjet4_address_()); }
uintptr_t hijjet4_address_()

◆ kfdr()

int & HijJet4::kfdr ( int i)
inline

Definition at line 99 of file HijJet4.h.

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

◆ lenI()

int HijJet4::lenI ( ) const
inline

Definition at line 33 of file HijJet4.h.

33{return s_lenI;}
static const int s_lenI
Definition HijJet4.h:40

◆ lenJ()

int HijJet4::lenJ ( ) const
inline

Definition at line 34 of file HijJet4.h.

34{return s_lenJ;}
static const int s_lenJ
Definition HijJet4.h:41

◆ lenK()

int HijJet4::lenK ( ) const
inline

Definition at line 35 of file HijJet4.h.

35{return s_lenK;}
static const int s_lenK
Definition HijJet4.h:42

◆ ndr()

int & HijJet4::ndr ( void )
inline

Definition at line 82 of file HijJet4.h.

83{
84 init(); // check COMMON is initialized
85 return s_hijjet4->ndr;
86}

◆ pdr()

float & HijJet4::pdr ( int i,
int k )
inline

Definition at line 107 of file HijJet4.h.

108{
109 init(); // check COMMON is initialized
110 if( i < 1 || i > lenI() ||
111 k < 1 || k > lenK() ) return m_realdummy;
112
113 return s_hijjet4->pdr[k-1][i-1];
114}
int lenK() const
Definition HijJet4.h:35

◆ vdr()

float & HijJet4::vdr ( int i,
int k )
inline

Definition at line 118 of file HijJet4.h.

119{
120 init(); // check COMMON is initialized
121 if( i < 1 || i > lenI() ||
122 k < 1 || k > lenK() ) return m_realdummy;
123
124 return s_hijjet4->vdr[k-1][i-1];
125}

◆ HIJJET4

friend struct HIJJET4
friend

Definition at line 45 of file HijJet4.h.

Member Data Documentation

◆ m_dummy

int HijJet4::m_dummy
private

Definition at line 56 of file HijJet4.h.

◆ m_realdummy

float HijJet4::m_realdummy
private

Definition at line 57 of file HijJet4.h.

◆ s_hijjet4

HijJet4::HIJJET4 * HijJet4::s_hijjet4 =0
staticprivate

Definition at line 59 of file HijJet4.h.

◆ s_lenI

const int HijJet4::s_lenI = 900
staticprivate

Definition at line 40 of file HijJet4.h.

◆ s_lenJ

const int HijJet4::s_lenJ = 2
staticprivate

Definition at line 41 of file HijJet4.h.

◆ s_lenK

const int HijJet4::s_lenK = 5
staticprivate

Definition at line 42 of file HijJet4.h.


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