]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPDG.h
AliPDG class, first commit.
[u/mrichter/AliRoot.git] / STEER / AliPDG.h
index 4e92ac4361b02d41b28f1d6d44990d2a4faf9362..25f8dfd2e2c89d06995efed3960af849c0845e34 100644 (file)
@@ -5,6 +5,12 @@
 
 /* $Id$ */
 
+// Class to encapsulate the ALICE updates to TDatabasePDG.h
+// Can be used by TGeant3 and TGeant4
+// It contains also the constants for the PDG particle IDs.
+
+#include "TObject.h"
+
 typedef enum {kRootino=0,kDown=1,kDownBar=-1,kUp=2,kUpBar=-2,kStrange=3,
          kStrangeBar=-3,kCharm=4,kCharmBar=-4,kBottom=5,
          kBottomBar=-5,kTop=6,kTopBar=-6,kGluon=21,kPythia92=92,
@@ -25,6 +31,13 @@ typedef enum {kRootino=0,kDown=1,kDownBar=-1,kUp=2,kUpBar=-2,kStrange=3,
          kSigma0Bar=-3212}
 PDG_t;   
 
+class AliPDG : public TObject {
+public:
+    static void AddParticlesToPdgDataBase();
+ private:
+    ClassDef(AliPDG,1)  // PDG database related information
+};
+
 /*
    "a(2)(1320)-",     -215
    "rho(3)(1690)+",    217