X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWG2%2FRESONANCES%2Fmacros%2Ftrain%2FLHC2010-7TeV-phi%2FAddRsnAnalysis.C;fp=PWG2%2FRESONANCES%2Fmacros%2Ftrain%2FLHC2010-7TeV-phi%2FAddRsnAnalysis.C;h=87531fd2b0a5d1f0a11c9fcc9d222655e8242e9a;hb=aa24e021c6af1106ed9778141a18275d9846d4dc;hp=61fd04e958771da823347fe19b018a096e172730;hpb=302c78d4fba7c6e25fc76865eaa5193baa8a2242;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWG2/RESONANCES/macros/train/LHC2010-7TeV-phi/AddRsnAnalysis.C b/PWG2/RESONANCES/macros/train/LHC2010-7TeV-phi/AddRsnAnalysis.C index 61fd04e9587..87531fd2b0a 100644 --- a/PWG2/RESONANCES/macros/train/LHC2010-7TeV-phi/AddRsnAnalysis.C +++ b/PWG2/RESONANCES/macros/train/LHC2010-7TeV-phi/AddRsnAnalysis.C @@ -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