message: adding the change AliJDiHadronIaaTask.cxx
diff: @@ -101,10 +101,6 @@ void AliJDiHadronIaaTask::UserCreateOutputObjects()
  //=== Get AnalysisManager
  AliAnalysisManager *man = AliAnalysisManager::GetAnalysisManager();
  - if(!man->GetOutputEventHandler()) {
  - Fatal("UserCreateOutputObjects", "This task needs an AOD handler");
  - return;
  - }
  fFilterTask = (AliJCORRANTask*)(man->GetTask( fFilterTaskName ));
  @@ -113,7 +109,7 @@ void AliJDiHadronIaaTask::UserCreateOutputObjects()
  fOutput->cd();
  // Order should be kept for correct functionality
  - fIaaAnalysis->SetRunHeader(fFilterTask->GetJRunHeader());
  + fIaaAnalysis->SetRunHeader(fFilterTask->GetFilter()->GetAliJRunHeader()); // caution RunHeader must be taken from the filter since it is set in the task macro
  fIaaAnalysis->UserCreateOutputObjects();
  fIaaAnalysis->SetHeaderList(fFilterTask->GetFilter()->GetHeaderList());
  fIaaAnalysis->SetTrackList(fFilterTask->GetFilter()->GetTrackList());
  