Update in AddTask macro (Nirbhay Kumar Behera <nirbhay.kumar.behera@cern.ch>)
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Dec 2012 09:02:46 +0000 (09:02 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Dec 2012 09:02:46 +0000 (09:02 +0000)
PWGCF/EBYE/macros/AddAliHigherMomentsToyModelTask.C

index 9ff375b..12015e4 100644 (file)
@@ -27,11 +27,14 @@ AliAnalysisTask* AddAliHigherMomentsToyModelTask(Double_t vx,
                                                 Double_t nsigma,
                                                 Int_t AODfilterBit = 128,
                                                 Bool_t usepid,
-                                                TString  analysis) {
+                                                TString  analysis,
+                                                const char* taskss) {
   
   
   TString taskname = "HMMCQA";
-  TString taskname1 = "HMToyModel";
+  taskname.Append(taskss);
+  TString taskname1 = "HMTM";
+  taskname1.Append(taskss);
   
   AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
   if (!mgr) {