changed output dir name
authorssakai <Shingo.Sakai@lnf.infn.it>
Thu, 13 Nov 2014 13:21:55 +0000 (14:21 +0100)
committerssakai <Shingo.Sakai@lnf.infn.it>
Thu, 13 Nov 2014 13:22:38 +0000 (14:22 +0100)
PWGHF/hfe/macros/AddTaskHFEemcQA.C

index b751be6..b1f1193 100644 (file)
@@ -28,7 +28,14 @@ AliAnalysisTask *AddTaskHFEemcQA(Bool_t UseTender=kTRUE, Bool_t FillElecSparse=k
   hfecalqa->SetTenderSwitch(UseTender);
 
   TString containerName = mgr->GetCommonFileName();
-  containerName += ":PWGHF_hfeHFEemcQAINT8";
+  if(UseTender)
+     {
+      containerName += ":PWGHF_hfeHFEemcQAINT8_wTender";
+     }
+  else
+     {
+      containerName += ":PWGHF_hfeHFEemcQAINT8";
+     }
   AliAnalysisDataContainer *cinput  = mgr->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("HFEemcQAINT8", TList::Class(),AliAnalysisManager::kOutputContainer, containerName.Data());
   mgr->ConnectInput(hfecalqa, 0, cinput);
@@ -41,7 +48,14 @@ AliAnalysisTask *AddTaskHFEemcQA(Bool_t UseTender=kTRUE, Bool_t FillElecSparse=k
   hfecalqa7->SetTenderSwitch(UseTender);
 
   TString containerName7 = mgr->GetCommonFileName();
-  containerName7 += ":PWGHF_hfeHFEemcQAINT7";
+  if(UseTender)
+     {
+      containerName7 += ":PWGHF_hfeHFEemcQAINT7_wTender";
+     }
+  else
+     {
+      containerName7 += ":PWGHF_hfeHFEemcQAINT7";
+     }
   AliAnalysisDataContainer *cinput  = mgr->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("HFEemcQAINT7", TList::Class(),AliAnalysisManager::kOutputContainer, containerName7.Data());
   mgr->ConnectInput(hfecalqa7, 0, cinput);
@@ -55,7 +69,14 @@ AliAnalysisTask *AddTaskHFEemcQA(Bool_t UseTender=kTRUE, Bool_t FillElecSparse=k
   hfecalqaTrig0->SetTenderSwitch(UseTender);
 
   TString containerName1 = mgr->GetCommonFileName();
-  containerName1 += ":PWGHF_hfeHFEemcQATrigGA";
+  if(UseTender)
+     {
+      containerName1 += ":PWGHF_hfeHFEemcQATrigGA_wTender";
+     }
+  else
+     {
+      containerName1 += ":PWGHF_hfeHFEemcQATrigGA";
+     } 
   AliAnalysisDataContainer *cinput  = mgr->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("HFEemcQATrigGA", TList::Class(),AliAnalysisManager::kOutputContainer, containerName1.Data());
   mgr->ConnectInput(hfecalqaTrig0, 0, cinput);
@@ -70,7 +91,15 @@ AliAnalysisTask *AddTaskHFEemcQA(Bool_t UseTender=kTRUE, Bool_t FillElecSparse=k
   hfecalqaTrig1->SetTenderSwitch(UseTender);
 
   TString containerName2 = mgr->GetCommonFileName();
-  containerName2 += ":PWGHF_hfeHFEemcQATrigJE";
+  if(UseTender)
+     {
+      containerName2 += ":PWGHF_hfeHFEemcQATrigJE_wTender";
+     }
+  else
+     {
+      containerName2 += ":PWGHF_hfeHFEemcQATrigJE";
+     }
+
   AliAnalysisDataContainer *cinput  = mgr->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("HFEemcQATrigJE", TList::Class(),AliAnalysisManager::kOutputContainer, containerName2.Data());
   mgr->ConnectInput(hfecalqaTrig1, 0, cinput);