]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/macros/train/LHC2010-7TeV-phi/AddRsnAnalysis.C
Added the Print() method to the cut objects, which allows the AliRsnCutSet to print...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / macros / train / LHC2010-7TeV-phi / AddRsnAnalysis.C
index 61fd04e958771da823347fe19b018a096e172730..87531fd2b0a5d1f0a11c9fcc9d222655e8242e9a 100644 (file)
@@ -26,7 +26,7 @@ Bool_t AddRsnAnalysis
   task->SelectCollisionCandidates();
 
   // set cuts for events : primary vertex range and type
-  gROOT->LoadMacro(Form("%s/ConfigESDCutsTPC.C", path);
+  gROOT->LoadMacro(Form("%s/ConfigESDCutsTPC.C", path));
   AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 10.0, 0, kFALSE);
   cutVertex->SetCheckPileUp(kTRUE);
   task->GetEventCuts()->AddCut(cutVertex);
@@ -44,7 +44,7 @@ Bool_t AddRsnAnalysis
   {
     TObjString *ostr = (TObjString*)list->At(iConfig);
     cout << "***** Processing config macro '" << ostr->GetString().Data() << endl;
-    gROOT->ProcessLine(Form(".x %s/%s(\"%s\",\"%s\")", path, ostr->GetString().Data(), task->GetName(), options));
+    gROOT->ProcessLine(Form(".x %s/%s(\"%s\",\"%s\",\"%s\")", path, ostr->GetString().Data(), task->GetName(), options, path));
   }
 
   // connect input container according to source choice