StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AgStarParticle.h
1 #ifndef __AgStarParticle_h__
2 #define __AgStarParticle_h__
3 
4 #include "TObject.h"
5 #include "StarCallf77.h"
6 
8 {
9 public:
10  ClassDef(AgStarParticle,1);
11 
12  enum Type {
13  kGtGama = 1, // photons handled by GTGAMA
14  kGtElec, // e+/e- handled by GTELEC
15  kGtNeut, // neutral hadrons handled by GTNEUT
16  kGtHadr, // charged hadrons handled by GTHADR
17  kGtMuon, // mu+/mu- handled by GTMUON
18  kGtNino, // geantinos
19  kGtCkov, // cherenkov photons
20  kGtHion, // heavy ions
21  kGtMonp, // magnetic monopole handled by GTMONP (for historical purpose only...)
22  kUnknown
23  };
24 
35  static void Add( const char* name, const int g3id, const int type, const float mass, const float charge, const float lifetime=0., const float* bratio=0, const int* mode=0, const int pdgid=0 );
36 
37  virtual ~AgStarParticle(){ /* nada */ };
38 
39 private:
40 
41  AgStarParticle(){ /* nada */ };
42 
43 };
44 #endif
static void Add(const char *name, const int g3id, const int type, const float mass, const float charge, const float lifetime=0., const float *bratio=0, const int *mode=0, const int pdgid=0)