Updates to make code compile again.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jan 2008 15:03:46 +0000 (15:03 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jan 2008 15:03:46 +0000 (15:03 +0000)
TDPMjet/AliGenDPMjet.cxx
TDPMjet/AliGenDPMjetEventHeader.h
TDPMjet/TDPMjet.cxx
TDPMjet/TDPMjet.h

index 9f6af3a..50596f2 100644 (file)
@@ -28,6 +28,7 @@
 #include <TParticleClassPDG.h>
 #include <TPDGCode.h>
 #include <TLorentzVector.h>
+#include <TClonesArray.h>
 #include "AliRunLoader.h"
 #include "AliGenDPMjet.h"
 #include "AliGenDPMjetEventHeader.h"
index 3af7400..89b0945 100644 (file)
@@ -19,15 +19,19 @@ class AliGenDPMjetEventHeader : public AliGenEventHeader, public AliCollisionGeo
 
   // Getters
   Float_t TotalEnergy()  {return fTotalEnergy;} 
-  Int_t   Trials() {return fTrials;}
-
+  Int_t   Trials()       {return fTrials;}
+  Int_t   ProcessType()  {return fProcessType;}
+  
+         
   // Setters
-  void SetTotalEnergy(Float_t energy)  {fTotalEnergy=energy;}
-  void SetTrials(Int_t trials) {fTrials = trials;}
+  void SetTotalEnergy(Float_t energy)  {fTotalEnergy = energy;}
+  void SetTrials(Int_t trials)         {fTrials      = trials;}
+  void SetProcessType(Int_t type)      {fProcessType = type;}
          
 protected:
   Float_t fTotalEnergy;              // Total energy of produced particles
   Int_t   fTrials;                   // Number of trials to fulfill trigger condition
+  Int_t   fProcessType;              // Process Type 
   
   ClassDef(AliGenDPMjetEventHeader,1) // Event header for dpmjet event
 };
index c456288..b8d0fa1 100644 (file)
@@ -39,8 +39,9 @@
 #include "TDPMjet.h"
 //*KEEP,DPMCOMMON.
 #include "DPMcommon.h"
-//*KEEP,TParticle,T=C++.
+//*KEEP,TParticle,T=C++
 #include "TParticle.h"
+#include "TClonesArray.h"
 //*KEND.
 
 //*KEEP,TROOT.
index f5f8f1d..867280e 100644 (file)
@@ -18,6 +18,7 @@
 #endif
 
 typedef enum {kDpmMb, kDpmMbNonDiffr, kDpmDiffr, kDpmSingleDiffr, kDpmDoubleDiffr} DpmProcess_t;
+class TClonesArray;
 
 
 class TDPMjet : public TGenerator {