]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliPythia.h
Use AliStructFuncType.
[u/mrichter/AliRoot.git] / EVGEN / AliPythia.h
index 6eacf1bad4024b66d95ff24496a55feeaf93c284..04c3268895ea9c979702cfc61cc76188eca4eaa5 100644 (file)
@@ -7,10 +7,31 @@
 
 #include <TPythia6.h>
 #include <AliRndm.h>
-#include "GenTypeDefs.h"
-
+#include <AliStructFuncType.h>
+typedef enum
+{kPyCharm, kPyBeauty, kPyCharmUnforced, kPyBeautyUnforced, kPyJpsi, kPyJpsiChi, kPyMb, kPyMbNonDiffr, kPyJets, kPyDirectGamma, kPyCharmPbMNR, kPyD0PbMNR, kPyBeautyPbMNR}
+Process_t;
+/*
+typedef enum
+{
+    kDOSet1     = 1006,
+    kGRVLO      = 5005,
+    kGRVHO      = 5006,
+    kMRSDminus  = 3031,
+    kMRSD0      = 3030,
+    kMRSG       = 3041,
+    kCTEQ2pM    = 4024,
+    kCTEQ4L     = 4032,
+    kCTEQ4M     = 4034,
+    kMRSTcgLO   = 3072,
+    kCTEQ5L     = 4046,
+    kGRVLO98    = 5012
+}
+StrucFunc_t;
+*/
 class AliPythia : public TPythia6, public AliRndm
 {
+
  public:
     virtual ~AliPythia(){;}
     // convert to compressed code and print result (for debugging only)
@@ -20,6 +41,10 @@ class AliPythia : public TPythia6, public AliRndm
        (Process_t process, Float_t energy, StrucFunc_t strucfunc);
     // treat protons as inside nuclei
     virtual void    SetNuclei(Int_t a1, Int_t a2);
+    // Print particle properties
+    virtual void PrintParticles();
+    virtual void ResetDecayTable();
+    virtual void SetDecayTable();
     // return instance of the singleton
     static  AliPythia* Instance();
 
@@ -27,6 +52,8 @@ class AliPythia : public TPythia6, public AliRndm
     Process_t     fProcess;           // Process type
     Float_t       fEcms;              // Centre of mass energy
     StrucFunc_t   fStrucFunc;         // Structure function
+    Int_t         fDefMDCY[501];      //  ! Default decay switches per particle
+    Int_t         fDefMDME[2000];     //  ! Default decay switches per mode
     static AliPythia*    fgAliPythia; // Pointer to single instance
  private: 
     AliPythia();