* provided "as is" without express or implied warranty. *
**************************************************************************/
+/* $Id$ */
+
#include <TChain.h>
#include <TFile.h>
#include <TParticle.h>
{
// Load ESD event
AliESDEvent* esd = dynamic_cast<AliESDEvent*>(InputEvent());
+ if (!esd) {
+ AliError("Cannot get input event");
+ return;
+ }
// Load MC event
AliMCEventHandler *mcH = 0;