#ifndef _PSTDDATA_H_
#define _PSTDDATA_H_
#include "TROOT.h"
#include "TArrayI.h"
#include "TArrayD.h"
#include <iostream>
#include "PStaticData.h"
class PStdData;
PStdData *makeStdData();
PStdData &fStdData();
class PStdData : public TObject {
public:
PStdData();
~PStdData();
Bool_t fillDataBase(void);
private:
int disable;
void resetPosition() {
int i, nm, position=0;
for (i=0; i<maxnumpar; ++i) {
nm = PNModes[i];
if (!nm) PPosition[i] = -1;
else {
PPosition[i] = position;
position += nm;
}
}
}
int *PPosition;
static int maxnumpar, maxnummodes, *Pkf, *PMeson, *PBaryon, *PLepton,
*PCharge, *PJ, *PParity, *PI, *PNModes, *intcache,
cachesize, save, nfiles;
static double *PMass, *PWidth, *PBR, *dblcache, scale;
static char **PName, **PMDescription, **PMode;
static int *pmes_tmp, *pbar_tmp, *plep_tmp, *pchar_tmp, *pspin_tmp,
*pparity_tmp, *pispin_tmp, *pnmod_tmp, *id_tmp, *pkf_tmp;
static double *pmass_tmp, *pwidth_tmp, *pbr_tmp;
static char **pnam_tmp, **pmdescr_tmp, **pmod_tmp;
static const char *MESSAGE[];
static const char *NAME[];
static double MASS[];
static double WIDTH[];
static const int PYTHIAKF[];
static const int MESON[];
static const int BARYON[];
static const int LEPTON[];
static const int CHARGE[];
static const int SPIN[];
static const int PARITY[];
static const int ISPIN[];
static const int NMODES[];
static double BRR[];
static const char *MODE[];
static const char *DESCRIPTION[];
static const long double hbar;
ClassDef(PStdData, 0)
};
#endif // _PSTDDATA_H_