- call function for global task to set the beam type
authorkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Apr 2011 22:16:07 +0000 (22:16 +0000)
committerkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Apr 2011 22:16:07 +0000 (22:16 +0000)
HLT/QA/tasks/macros/compare-HLT-offline-local.C

index 3c7d9bc..3de98a4 100644 (file)
@@ -219,6 +219,7 @@ void compare_HLT_offline_local( TString file
   if(bGLOBAL){
     AliAnalysisTaskHLT *taskGLOBAL = new AliAnalysisTaskHLT("offhlt_comparison_GLOBAL");
     taskGLOBAL->SetUseHLTTriggerDecision(fUseHLTTrigger);
+    taskGLOBAL->SetBeamType(beamType);
     if(fUseHLTTrigger==kTRUE) printf("\n\nOnly HLT triggered events will be used to fill the distributions for task %s.\n\n", taskGLOBAL->GetName());
     //taskGLOBAL->SelectCollisionCandidates();
     mgr->AddTask(taskGLOBAL);