TENDER becomes Tender
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / ChargedHadrons / dNdPt / macros / AddTask_jacek_dNdPtTrackDumpTaskPbPb_TPCITS.C
index d5f8528..b606034 100644 (file)
@@ -2,7 +2,7 @@ void AddTask_jacek_dNdPtTrackDumpTaskPbPb_TPCITS()
 {
   gSystem->Load("libANALYSIS");
   gSystem->Load("libANALYSISalice");
-  gSystem->Load("libTENDER");
+  gSystem->Load("libTender");
   gSystem->Load("libCORRFW");
   gSystem->Load("libPWGUDbase");
   gSystem->Load("libTPCcalib");
@@ -61,8 +61,7 @@ void AddTask_jacek_dNdPtTrackDumpTaskPbPb_TPCITS()
   //Int_t cutMode = 156;
   //Int_t cutMode = 200;
 
-  //gROOT->LoadMacro("$ALICE_ROOT/PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/CreatedNdPtTrackCuts.C");
-  gROOT->LoadMacro("/hera/alice/jacek/analysis/dNdPtPbPb/macros/CreatedNdPtTrackCuts.C");
+  gROOT->LoadMacro("$ALICE_ROOT/PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/CreatedNdPtTrackCuts.C");
   AliESDtrackCuts* esdTrackCuts = CreatedNdPtTrackCuts(cutMode);
   if (!esdTrackCuts) {
     printf("ERROR: esdTrackCuts could not be created\n");
@@ -83,8 +82,9 @@ void AddTask_jacek_dNdPtTrackDumpTaskPbPb_TPCITS()
   //task->SetLowPtV0DownscaligF(1.e2);
   task->SetLowPtTrackDownscaligF(1.e7);
   task->SetLowPtV0DownscaligF(1.e4);
-  //task->SetProcessAll(kTRUE);
-  task->SetProcessAll(kFALSE);
+  task->SetProcessAll(kTRUE);
+  task->SetProcessCosmics(kTRUE);
+  //task->SetProcessAll(kFALSE);
 
   // trigger
   //task->SelectCollisionCandidates(AliVEvent::kMB); 
@@ -111,7 +111,17 @@ void AddTask_jacek_dNdPtTrackDumpTaskPbPb_TPCITS()
   AliAnalysisDataContainer *cinput = mgr->GetCommonInputContainer();
   mgr->ConnectInput(task, 0, cinput);
 
-  AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("TrigEvents", TList::Class(), AliAnalysisManager::kOutputContainer, "TrigEvents_Trees.root");
+  AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("filtered1", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
   mgr->ConnectOutput(task, 1, coutput1);
+  AliAnalysisDataContainer *coutput2 = mgr->CreateContainer("filtered2", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
+  mgr->ConnectOutput(task, 2, coutput2);
+  AliAnalysisDataContainer *coutput3 = mgr->CreateContainer("filtered3", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
+  mgr->ConnectOutput(task, 3, coutput3);
+  AliAnalysisDataContainer *coutput4 = mgr->CreateContainer("filtered4", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
+  mgr->ConnectOutput(task, 4, coutput4);
+  AliAnalysisDataContainer *coutput5 = mgr->CreateContainer("filtered5", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
+  mgr->ConnectOutput(task, 5, coutput5);
+  AliAnalysisDataContainer *coutput6 = mgr->CreateContainer("filtered6", TTree::Class(), AliAnalysisManager::kOutputContainer, "FilterEvents_Trees.root");
+  mgr->ConnectOutput(task, 6, coutput6);
 }