new class for PbPb cut analysis
[u/mrichter/AliRoot.git] / TDPMjet / ConfigDPMjet.C
index a05c14f..3793887 100644 (file)
@@ -1,5 +1,6 @@
 #if !defined(__CINT__) || defined(__MAKECINT__)
 #include <Riostream.h>
+#include <TPDGCode.h>
 #include <TRandom.h>
 #include <TSystem.h>
 #include <TVirtualMC.h>
@@ -137,7 +138,7 @@ gSystem->Load("libTDPMjet.so");
        gener->SetPhi(180.);
        gener->SetTheta(5.);
        gener->SetOrigin(0,0,0);        //vertex position
-       gener->SetPart(13);             //GEANT particle type
+       gener->SetPart(kNeutron);
        gGener = gener;
       }
       break;
@@ -153,7 +154,7 @@ gSystem->Load("libTDPMjet.so");
        gener->SetOrigin(0,0,0);   
        //vertex position
        gener->SetSigma(0,0,0);         //Sigma in (X,Y,Z) (cm) on IP position
-       gener->SetPart(5);              //GEANT particle type
+       gener->SetPart(kMuonPlus);
        gGener = gener;
       }
       break;
@@ -168,7 +169,7 @@ gSystem->Load("libTDPMjet.so");
        gener->SetThetaRange(9,9);
        //vertex position
        gener->SetSigma(6,6,0);         //Sigma in (X,Y,Z) (cm) on IP position
-       gener->SetPart(5); 
+       gener->SetPart(kMuonPlus); 
        gener->SetRange(20, -100, 100, 20, -100, 100, 1, 500, 500);
        gGener = gener;
       }