Updating track cuts and removing functionality that is now in separate cosmics tasks
[u/mrichter/AliRoot.git] / PWG4 / macros / AddTaskPWG4HighPtQATPConly.C
index 75540c2..d334dfc 100644 (file)
@@ -73,7 +73,6 @@ AliPWG4HighPtQATPConly* AddTaskPWG4HighPtQATPConly(int cuts=1)//1: Standard Cuts
   AliPWG4HighPtQATPConly *taskPWG4QA = new AliPWG4HighPtQATPConly(Form("AliPWG4HighPtQATPConly%d",cuts));
   taskPWG4QA->SetCuts(trackCuts);
   taskPWG4QA->SetCutsITS(trackCutsITS);
-  taskPWG4QA->SetMaxCosmicAngle(1.);//0.008);
   taskPWG4QA->SetCutType(cuts);
  
   // E. Create ONLY the output containers for the data produced by the task.
@@ -88,14 +87,14 @@ AliPWG4HighPtQATPConly* AddTaskPWG4HighPtQATPConly(int cuts=1)//1: Standard Cuts
   AliAnalysisDataContainer *cout_hist0;
   AliAnalysisDataContainer *cout_hist1;
   AliAnalysisDataContainer *cout_hist2;
-  AliAnalysisDataContainer *cout_hist3;
+
   AliAnalysisDataContainer *cout_cuts0;
   AliAnalysisDataContainer *cout_cuts1;
 
   cout_hist0 = mgr->CreateContainer(Form("qa_histsCuts%d",cuts), TList::Class(), AliAnalysisManager::kOutputContainer,outputfile);
   cout_hist1 = mgr->CreateContainer(Form("qa_histsTPCCuts%d",cuts), TList::Class(), AliAnalysisManager::kOutputContainer,outputfile);
   cout_hist2 = mgr->CreateContainer(Form("qa_histsITSCuts%d",cuts), TList::Class(), AliAnalysisManager::kOutputContainer,outputfile);  
-  cout_hist3 = mgr->CreateContainer(Form("qa_histsCosmicsCuts%d",cuts), TList::Class(), AliAnalysisManager::kOutputContainer,outputfile);  
+
   cout_cuts0 = mgr->CreateContainer(Form("qa_trackCuts%d",cuts), AliESDtrackCuts::Class(), AliAnalysisManager::kParamContainer,outputfile);
   cout_cuts1 = mgr->CreateContainer(Form("qa_trackCutsITS%d",cuts), AliESDtrackCuts::Class(), AliAnalysisManager::kParamContainer,outputfile);
 
@@ -109,9 +108,8 @@ AliPWG4HighPtQATPConly* AddTaskPWG4HighPtQATPConly(int cuts=1)//1: Standard Cuts
   mgr->ConnectOutput(taskPWG4QA,0,cout_hist0);
   mgr->ConnectOutput(taskPWG4QA,1,cout_hist1);
   mgr->ConnectOutput(taskPWG4QA,2,cout_hist2);
-  mgr->ConnectOutput(taskPWG4QA,3,cout_hist3);
-  mgr->ConnectOutput(taskPWG4QA,4,cout_cuts0);
-  mgr->ConnectOutput(taskPWG4QA,5,cout_cuts1);
+  mgr->ConnectOutput(taskPWG4QA,3,cout_cuts0);
+  mgr->ConnectOutput(taskPWG4QA,4,cout_cuts1);
 
   // Return task pointer at the end
   return taskPWG4QA;