.code() and not .codeSub() gives the process code (Sparsh Navin)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 08:38:40 +0000 (08:38 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Oct 2009 08:38:40 +0000 (08:38 +0000)
PYTHIA8/AliPythia8.cxx

index c66154c..7071693 100644 (file)
@@ -618,7 +618,7 @@ void AliPythia8::EventListing()
 Int_t AliPythia8::ProcessCode()
 {
     // Returns the subprocess code for the current event
-    return Pythia8()->info.codeSub();
+    return Pythia8()->info.code();
 }
 
 void AliPythia8::ConfigHeavyFlavor()