]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor fix
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jun 2012 10:51:47 +0000 (10:51 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jun 2012 10:51:47 +0000 (10:51 +0000)
PWGLF/FORWARD/analysis2/AddTaskForwardFlow.C
PWGLF/FORWARD/analysis2/trains/MakeAODTrain.C

index d276798e65454f5f2166d1e58557930f0779bd69..46ef80ce1e3332899659d8170b01719907b685e0 100644 (file)
@@ -67,13 +67,12 @@ void AddTaskForwardFlow(TString  type          = "",
   mgr->AddTask(task); 
 
   // --- Check which harmonics to calculate --------------------------
-  Bool_t v1 = type.Contains("1");
   Bool_t v2 = type.Contains("2");
   Bool_t v3 = type.Contains("3");
   Bool_t v4 = type.Contains("4");
   Bool_t v5 = type.Contains("5");
   Bool_t v6 = type.Contains("6");
-  task->SetDoHarmonics(v1, v2, v3, v4, v5, v6);
+  task->SetDoHarmonics(v2, v3, v4, v5, v6);
 
   // --- Set non-default axis for vertices ---------------------------
   TAxis* a = 0;
index dd2d506a4a8366557c291a083f6e06f64ef549c1..535dea0f0ee914e5dd79d45eb438e6b65aef5fe8 100644 (file)
@@ -101,7 +101,7 @@ protected:
 
     // --- Add the task ----------------------------------------------
     gROOT->Macro(Form("AddTaskForwardMult.C(%d,%d,%d,%d,\"%s\")", 
-                     mc, fSys, fSNN, fField, fForwarConfig.Data()));
+                     mc, fSys, fSNN, fField, fForwardConfig.Data()));
     AddExtraFile(gSystem->Which(gROOT->GetMacroPath(), fForwardConfig));
 
     // --- Add the task ----------------------------------------------
@@ -205,8 +205,8 @@ protected:
     if (field) field->Save(o, str, fField);
     if (cent)  cent->Save(o, str, fUseCent);
     if (tep)   tep->Save(o, str, fUseTPCEventPlane);
-    if (fwdConfig) fwdConfig->Save(o. str, fForwardConfig);
-    if (cenConfig) cenConfig->Save(o. str, fCentralConfig);
+    if (fwdConfig) fwdConfig->Save(o, str, fForwardConfig);
+    if (cenConfig) cenConfig->Save(o, str, fCentralConfig);
     
   }
   //__________________________________________________________________