Fix crash when running the muon QA tasks due to problem in getting the default parame...
[u/mrichter/AliRoot.git] / PWGPP / macros / AddTaskMTRchamberEfficiency.C
index 7fe38ed..57911ff 100644 (file)
@@ -47,6 +47,7 @@ AliAnalysisTaskTrigChEff* AddTaskMTRchamberEfficiency(Bool_t useGhosts = kFALSE,
     taskTrigChEff->SetTrigClassPatterns(trigClassPatterns);
   }
   taskTrigChEff->GetMuonEventCuts()->SetFilterMask(AliMuonEventCuts::kSelectedTrig);
+  taskTrigChEff->GetMuonTrackCuts()->SetAllowDefaultParams();
   mgr->AddTask(taskTrigChEff);
 
   // Create container