message: Fixing AddTask exit (MC analysis)
diff: -AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  +
  +AliAnalysisTask* AddTask_hdegenhardt_eeCorMC(
  char *name = "Output"
  ,char *period = "17"
  ,Bool_t recabPID = kTRUE
  @@ -136,7 +137,7 @@ AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  TGrid::Connect("alien://");
  gSystem->Exec(Form("alien_cp %s .",rootFile));
  f = TFile::Open(Form("calMCmaps1%c.root",period[1]));
  - if (!f) return kFALSE;
  + if (!f) return NULL;
  }
  TH2F *TPCm; f->GetObject("TPCm",TPCm);
  TH2F *TPCw; f->GetObject("TPCw",TPCw);
  @@ -187,7 +188,7 @@ AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  TGrid::Connect("alien://");
  gSystem->Exec(Form("alien_cp %s .",rootFile2));
  f2 = TFile::Open(Form("smrMaps%s.root",smrMapsFrom));
  - if (!f2) return kFALSE;
  + if (!f2) return NULL;
  }
  TH2F *smrPt; f2->GetObject("pt",smrPt);
  TH2F *smrEta; f2->GetObject("eta",smrEta);
  @@ -219,7 +220,7 @@ AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  TGrid::Connect("alien://");
  gSystem->Exec(Form("alien_cp %s .",rootFile3));
  f3 = TFile::Open(Form("smrDCA%s.root",smrDCAMapsFrom));
  - if (!f3) return kFALSE;
  + if (!f3) return NULL;
  }
  TH2F *smrDCApt0; f3->GetObject("smrDCApt0",smrDCApt0);
  TH2F *smrDCApt1; f3->GetObject("smrDCApt1",smrDCApt1);
  @@ -235,7 +236,7 @@ AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  TGrid::Connect("alien://");
  gSystem->Exec(Form("alien_cp %s .",rootFile4));
  f4 = TFile::Open(Form("smrDCApar%s.root",smrDCAMapsFrom));
  - if (!f4) return kFALSE;
  + if (!f4) return NULL;
  }
  TH1D *smrDCAcen; f4->GetObject("pCen",smrDCAcen);
  TH1D *smrDCAsig; f4->GetObject("pRes",smrDCAsig);
  @@ -255,7 +256,7 @@ AliAnalysisTask AddTask_hdegenhardt_eeCorMC(
  mgr->ConnectInput(tasklmee,0,mgr->GetCommonInputContainer());
  mgr->ConnectOutput(tasklmee,1,mgr->CreateContainer(Form("%s",ConfigNames[config]), TList::Class(), AliAnalysisManager::kOutputContainer, outName.Data()));
  - //return tasklmee;
  + return tasklmee;
  }
  }
  