]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Load libJETAn also for AOD jet analysis
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Oct 2008 17:00:16 +0000 (17:00 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Oct 2008 17:00:16 +0000 (17:00 +0000)
PWG4/macros/AnalysisTrainCAF.C

index 5cfb1ad38d31d999b9afac34df8eb005c2ce27b7..3505bb9472d85a026dfe33b502c1934308007018 100644 (file)
@@ -1,5 +1,5 @@
 //______________________________________________________________________________
-void AnalysisTrainCAF(Int_t nEvents = 10000, Int_t nOffset = 0)
+void AnalysisTrainCAF(Int_t nEvents = 10000, Int_t nOffset = 10000)
 {
 // Example of running analysis train in CAF. To run in debug mode:
 //  - export ROOTSYS=debug  on your local client
@@ -11,7 +11,7 @@ void AnalysisTrainCAF(Int_t nEvents = 10000, Int_t nOffset = 0)
     Bool_t debug         = kTRUE;
     Bool_t useMC         = kTRUE;
     Bool_t readTR        = kFALSE;
-    Bool_t bPROOF         = kTRUE;
+    Bool_t bPROOF        = kTRUE;
 
 
     
@@ -129,7 +129,7 @@ void AnalysisTrainCAF(Int_t nEvents = 10000, Int_t nOffset = 0)
 
 
       // --- Enable the JETAN Package
-      if (iJETAN||iJETANMC) gSystem->Load("libJETAN");
+      if (iJETAN||iJETANMC||iJETANAOD) gSystem->Load("libJETAN");
       // --- Enable particle correlation analysis
       if (iPWG4UE||iPWG4SPECTRUM)gSystem->Load("libPWG4JetTasks");  
     }