update dptdpt (Prabhat Pujahari)
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Nov 2013 14:51:01 +0000 (14:51 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Nov 2013 14:51:01 +0000 (14:51 +0000)
PWGCF/Correlations/macros/dptdptcorrelations/AddTaskDptDptCorr_dca1.C
PWGCF/Correlations/macros/dptdptcorrelations/AddTaskDptWeight_dca1.C

index cb4436c..fb1292e 100644 (file)
@@ -24,9 +24,7 @@ AliAnalysisTaskDptDptCorrelations *AddTaskDptDptCorr_dca1
  double dcaXYMin               = -2.4,
  double dcaXYMax               =  2.4,
  int nCentrality               =  4,
- char *inputHistogramFileName  = "alien:///alice/cern.ch/user/p/prabhat/CalibFiles/PbPbCalib_dca1.root",
- char *OutputFileName          = "AnaDptphase2dca_2"
- )
+ char *inputHistogramFileName  = "alien:///alice/cern.ch/user/p/prabhat/CalibFiles/PbPbCalib_dca1.root")
   
 {
   // Set Default Configuration of this analysis
@@ -326,7 +324,7 @@ AliAnalysisTaskDptDptCorrelations *AddTaskDptDptCorr_dca1
       taskOutputContainer = analysisManager->CreateContainer(listName, 
                                                              TList::Class(),    
                                                              AliAnalysisManager::kOutputContainer, 
-                                                             Form("%s.root:Histos", OutputFileName));
+                                                             Form("%s:Histos2", AliAnalysisManager::GetCommonFileName()));
       //cout << "Add task to analysis manager and connect it to input and output containers" << endl;
       analysisManager->AddTask(task);
       analysisManager->ConnectInput( task,  0, analysisManager->GetCommonInputContainer());
index ea3ba56..f102cf9 100644 (file)
@@ -23,8 +23,8 @@ AliAnalysisTaskDptDptCorrelations *AddTaskDptWeight_dca1(int    system
                                                         double dcaZMax                =  2.0,
                                                         double dcaXYMin               = -2.4,
                                                         double dcaXYMax               =  2.4,
-                                                        int nCentrality               =  4,
-                                                        char *OutputFileName          = "AnadptWeightdca_2")
+                                                        int nCentrality               =  4)
+                                                        
 
 {
   // Set Default Configuration of this analysis
@@ -291,7 +291,7 @@ AliAnalysisTaskDptDptCorrelations *AddTaskDptWeight_dca1(int    system
       taskOutputContainer = analysisManager->CreateContainer(listName, 
                                                              TList::Class(),    
                                                              AliAnalysisManager::kOutputContainer, 
-                                                             Form("%s.root:Histos", OutputFileName));
+                                                             Form("%s:Histos1", AliAnalysisManager::GetCommonFileName()));
       cout << "Add task to analysis manager and connect it to input and output containers" << endl;
       analysisManager->AddTask(task);
       analysisManager->ConnectInput( task,  0, analysisManager->GetCommonInputContainer());