bug fix
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 14:14:03 +0000 (14:14 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 14:14:03 +0000 (14:14 +0000)
PWG2/FORWARD/analysis2/MakeELossFits.C

index 14e124a..3b0bbf5 100644 (file)
@@ -24,8 +24,8 @@ void MakeELossFits(const char* esddir,
   }
   
   // --- Our data chain ----------------------------------------------
-  gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/MakeESDChain.C");
-  TChain* chain = MakeESDChain(esddir, true);
+  gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/MakeChain.C");
+  TChain* chain = MakeChain("ESD",esddir, true);
   // If 0 or less events is select, choose all 
   if (nEvents <= 0) nEvents = chain->GetEntries();
   Info("MakeELossFits", "Will analyse %d events", nEvents);