}
//____________________________________________________________________
-void
+Bool_t
AliForwardMCMultiplicityTask::InitializeSubs()
{
//
const TAxis* pe = 0;
const TAxis* pv = 0;
- if (!ReadCorrections(pe,pv,true)) return;
+ if (!ReadCorrections(pe,pv,true)) return false;
fHistos.Init(*pe);
fAODFMD.Init(*pe);
fEventPlaneFinder.Init(*pe);
this->Print();
+
+ return true;
}
//____________________________________________________________________
// Get the input data
AliESDEvent* esd = GetESDEvent();
AliMCEvent* mcEvent = MCEvent();
+ if (!esd || !mcEvent) return;
// Clear stuff
fHistos.Clear();