CMS 3D CMS Logo

Classes | Public Member Functions | Private Member Functions | Static Private Attributes

Pythia6jets Class Reference

#include <Pythia6jets.h>

List of all members.

Classes

struct  _pythia6jets

Public Member Functions

int & k (int i, int j)
int & n (void)
int & npad (void)
double & p (int i, int j)
 Pythia6jets (void)
double & v (int i, int j)
 ~Pythia6jets (void)

Private Member Functions

void init (void)

Static Private Attributes

static struct _pythia6jets__pythia6jets = 0
static double dDummy = 0.0
static int nDummy = 0

Detailed Description

Definition at line 7 of file Pythia6jets.h.


Constructor & Destructor Documentation

Pythia6jets::Pythia6jets ( void  )

Definition at line 23 of file Pythia6jets.cc.

Referenced by PythiaDecays::PythiaDecays().

{
}
Pythia6jets::~Pythia6jets ( void  )

Definition at line 27 of file Pythia6jets.cc.

{
}

Member Function Documentation

void Pythia6jets::init ( void  ) [private]

Definition at line 31 of file Pythia6jets.cc.

References __pythia6jets, getaddr(), and PYJETS.

Referenced by k(), n(), npad(), p(), and v().

{
  __pythia6jets = 
    static_cast<struct Pythia6jets::_pythia6jets *>(getaddr(&PYJETS.n));
}
int & Pythia6jets::k ( int  i,
int  j 
)

Definition at line 49 of file Pythia6jets.cc.

References __pythia6jets, _depth, _length, init(), Pythia6jets::_pythia6jets::k, and nDummy.

Referenced by PythiaDecays::particleDaughtersPy6().

{
  if (__pythia6jets == 0) init();
  if ((i<1)||(i>_depth)||
      (j<1)||(j>_length))
    {
      nDummy = -999;
      return nDummy;
    }
  return __pythia6jets->k[j-1][i-1];
}
int & Pythia6jets::n ( void  )

Definition at line 37 of file Pythia6jets.cc.

References __pythia6jets, init(), and Pythia6jets::_pythia6jets::n.

Referenced by PythiaDecays::particleDaughtersPy6().

{
  if (__pythia6jets == 0) init();
  return __pythia6jets->n;
}
int & Pythia6jets::npad ( void  )

Definition at line 43 of file Pythia6jets.cc.

References __pythia6jets, init(), and Pythia6jets::_pythia6jets::npad.

{
  if (__pythia6jets == 0) init();
  return __pythia6jets->npad;
}
double & Pythia6jets::p ( int  i,
int  j 
)

Definition at line 61 of file Pythia6jets.cc.

References __pythia6jets, _depth, _length, dDummy, init(), and Pythia6jets::_pythia6jets::p.

Referenced by PythiaDecays::particleDaughtersPy6().

{
  if (__pythia6jets == 0) init();
  if ((i<1)||(i>_depth)||
      (j<1)||(j>_length))
    {
      dDummy = -999.0;
      return dDummy;
    }
  return __pythia6jets->p[j-1][i-1];
}
double & Pythia6jets::v ( int  i,
int  j 
)

Definition at line 73 of file Pythia6jets.cc.

References __pythia6jets, _depth, _length, dDummy, init(), and Pythia6jets::_pythia6jets::v.

Referenced by PythiaDecays::particleDaughtersPy6().

{
  if (__pythia6jets == 0) init();
  if ((i<1)||(i>_depth)||
      (j<1)||(j>_length))
    {
      dDummy = -999.0;
      return dDummy;
    }
  return __pythia6jets->v[j-1][i-1];
}

Member Data Documentation

struct Pythia6jets::_pythia6jets * Pythia6jets::__pythia6jets = 0 [static, private]

Definition at line 32 of file Pythia6jets.h.

Referenced by init(), k(), n(), npad(), p(), and v().

double Pythia6jets::dDummy = 0.0 [static, private]

Definition at line 22 of file Pythia6jets.h.

Referenced by p(), and v().

int Pythia6jets::nDummy = 0 [static, private]

Definition at line 21 of file Pythia6jets.h.

Referenced by k().