]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/macros/AddTaskPWG4HighPtSpectra.C
Switch on/set trigger decision
[u/mrichter/AliRoot.git] / PWG4 / macros / AddTaskPWG4HighPtSpectra.C
index c1a2695916c4b9745749c3ca4a692aca9d96e910..f59823164d3716d31924787905d8b3f9d9b3e92c 100644 (file)
@@ -8,7 +8,7 @@ const Int_t    charge  = 1 ;
 
 AliPWG4HighPtSpectra* AddTaskPWG4HighPtSpectra()//<some_parameters>)
 {
-  // Creates a proton analysis task and adds it to the analysis manager.
+  // Creates a HighPtSpectra analysis task and adds it to the analysis manager.
   
   // A. Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
@@ -111,7 +111,8 @@ AliPWG4HighPtSpectra* AddTaskPWG4HighPtSpectra()//<some_parameters>)
   AliPWG4HighPtSpectra *taskPWG4HighPtSpectra = new AliPWG4HighPtSpectra("taskPWG4HighPtSpectra");
   taskPWG4HighPtSpectra->SetCuts(trackCuts);
   taskPWG4HighPtSpectra->SetCFManager(man); //here is set the CF manager
+  taskPWG4HighPtSpectra->SelectTrigger(AliAnalysisHelperJetTasks::kMB1); 
+
   // E. Create ONLY the output containers for the data produced by the task.
   // Get and connect other common input/output containers via the manager as below
   //==============================================================================