-modifications by michael
authorjbook <jbook@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 May 2013 08:16:04 +0000 (08:16 +0000)
committerjbook <jbook@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 May 2013 08:16:04 +0000 (08:16 +0000)
PWGDQ/dielectron/macrosJPSI/AddTask_sweber_JPsi_pPb_TRDtrigger.C

index a8b688f..6b87dba 100644 (file)
@@ -26,11 +26,13 @@ AliAnalysisTask *AddTask_sweber_JPsi_pPb_TRDtrigger(){
 
   TString list=gSystem->Getenv("LIST");
   //create task and add it to the manager
-  AliAnalysisTaskMultiDielectronTRDtrigger *task=new AliAnalysisTaskMultiDielectronTRDtrigger("MultiDieDataTRDtrigger");
+  AliAnalysisTaskMultiDielectron *task=new AliAnalysisTaskMultiDielectron("MultiDieDataTRDtrigger");
   if (!hasMC ) task->UsePhysicsSelection();//taking out for testing
   task->SetTriggerMask(AliVEvent::kTRD); 
-  task->SetTRDtrigger(3);
-  
+  //task->SetTRDtrigger(3);
+  task->SetFiredTriggerName("CINT7WUHJT-B-NOPF-CENT",kTRUE);//take not kTRUE in order not to get both triggers, exclude (since not yet otherwise possible)
+  //
+  //not yet implemented to get a logical or of 2 different trigger classes, therefore exclude HJT, not exactly what I want...  
   //   if (list.Contains("LHC11d")) task->SetTriggerMask(AliVEvent::kEMCEJE+AliVEvent::kEMC7+AliVEvent::kEMCEGA);
   //if (list.Contains("LHC12h")) task->SetTRDtrigger(1+2);
   mgr->AddTask(task);