Mior fixes
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 May 2011 23:48:53 +0000 (23:48 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 May 2011 23:48:53 +0000 (23:48 +0000)
PWG2/FORWARD/analysis2/scripts/ExtractELoss.C

index 58bf09e..883646d 100644 (file)
@@ -38,7 +38,7 @@ ExtractELoss(const char* fname="forward_eloss.root",
     return;
   }
     
-  TList* forward = static_cast<TList*>(file->Get("Forward"));
+  TList* forward = static_cast<TList*>(file->Get("ForwardResults"));
   // static_cast<TList*>(file->Get("PWG2forwardDnDeta/Forward"));
   if (!forward) { 
     Error("ExtractELoss", "Couldn't get forward list from %s", fname);