StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StG3Particle.h
1 
7 // @(#)STAR/eg:$Id: StG3Particle.h,v 1.6 2009/06/23 19:52:05 jeromel Exp $
8 
9 
10 #ifndef ROOT_StG3Particle
11 #define ROOT_StG3Particle
12 #include "StGimParticle.h"
13 
19 
20 // SUBROUTINE GFKINE(ITRA,VERT,PVERT,IPART,NVERT,UBUF,NWBUF)
21 // SUBROUTINE GFVERT(NVTX,V,NTBEAM,NTTARG,TOFG,UBUF,NWBUF)
22 typedef void (*GFKINE_t) (int &,float*,float*,int &, int &,int *,int &);
23 typedef void (*GFVERT_t) (int &,float*,int &,int &, float &,int *,int &);
24 
27 public:
28  StG3ParticleMaster(GFKINE_t fk,GFVERT_t fv);
29 virtual ~StG3ParticleMaster();
30 static const StG3ParticleMaster *Instance();
31 virtual const StGenParticle *operator()(int idx) const;
32  void Update() ;
33 
34 private:
35 static StG3ParticleMaster* mgInst;
36 static GFKINE_t mgFK;
37 static GFVERT_t mgFV;
38 
39 };
40 
41 #endif
42 
Master class for StGimParticle filled from GEANT3 internal structures.
Definition: StG3Particle.h:26
Abstract base class for particles related to common /HEPEVT/.