Source: src/include/ArichConfig.hh
|
|
|
|
#ifndef _ArichConfig_hh_
#define _ArichConfig_hh_
#include
using namespace std;
#define SQPI 2.50662827463
#include
#include "ArichPhoton.hh"
#include "ArichParticle.hh"
#include "ArichHit.hh"
#include "ArichHitTab.hh"
#include "ArichChrono.hh"
extern vector gArichPhoton;
extern vector gArichParticle;
extern vector gArichHit;
extern vector gArichHitTab;
#define NGTIMER 30
extern ArichChrono *gTimer[NGTIMER];
#define DT(n,fun) if (!gTimer[n]) gTimer[n]=new ArichChrono(#fun); gTimer[n]->start();DEBUG(2) cout << #n " --> " #fun << endl; fun;gTimer[n]->stop()
#define DEBUG(x) if (ArichDebugLevel>=x)
#define ArichRand() RandFlat::shoot(gRanluxEngine)
#define ArichRandPoisson(x) RandPoisson::shoot(gRanluxEngine,x)
//#define ArichRand() (float) (rand())/RAND_MAX
extern HepInt ArichDebugLevel;
#endif
Generated by: rok on f9pc43.ijs.si on Wed Jun 18 12:02:34 2003, using kdoc 2.0a54. |