store ntuple in same file as histos (Renu)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 20 May 2012 22:40:04 +0000 (22:40 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 20 May 2012 22:40:04 +0000 (22:40 +0000)
PWGHF/vertexingHF/macros/AddTaskDplus.C

index 495a6b4..6256fc7 100644 (file)
@@ -100,7 +100,7 @@ AliAnalysisTaskSEDplus *AddTaskDplus(Int_t system=0/*0=pp,1=PbPb*/,
   if(storeNtuple){
     AliAnalysisDataContainer *coutputDplus2 = mgr->CreateContainer(ntuplename,TNtuple::Class(),
                                                                   AliAnalysisManager::kOutputContainer,
-                                                                  "InvMassDplus_nt1.root");
+                                                                  outputfile.Data());
     
     coutputDplus2->SetSpecialOutput();
   }