00001
00007
00008
00009
00010 #ifndef ROOT_StG3Particle
00011 #define ROOT_StG3Particle
00012 #include "StGENParticle.h"
00013
00019
00020
00021
00022 typedef void (*GFKINE_t) (int &,float*,float*,int &, int &,int *,int &);
00023 typedef void (*GFVERT_t) (int &,float*,int &,int &, float &,int *,int &);
00024
00026 class StG3ParticleMaster :public StGenParticleMaster {
00027 public:
00028 StG3ParticleMaster(GFKINE_t fk,GFVERT_t fv);
00029 virtual ~StG3ParticleMaster();
00030 static const StG3ParticleMaster *Instance();
00031 virtual const StGenParticle *operator()(int idx) const;
00032 void Update() ;
00033
00034 private:
00035 static StG3ParticleMaster* mgInst;
00036 static GFKINE_t mgFK;
00037 static GFVERT_t mgFV;
00038
00039 };
00040
00041 #endif
00042