From f2b386d510c40ba5fa0c5347c44c87329fc8fc6a Mon Sep 17 00:00:00 2001 From: marian Date: Mon, 28 Jan 2008 18:59:06 +0000 Subject: [PATCH] Adding protection for the presence of the information (Marian) --- TPC/AliTPCclustererMI.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TPC/AliTPCclustererMI.cxx b/TPC/AliTPCclustererMI.cxx index 049ef19c400..49768403bb3 100644 --- a/TPC/AliTPCclustererMI.cxx +++ b/TPC/AliTPCclustererMI.cxx @@ -910,7 +910,9 @@ void AliTPCclustererMI::Digits2Clusters(AliRawReader* rawReader) delete [] allSigBins; delete [] allNSigBins; - Info("Digits2Clusters", "File %s Event\t%d\tNumber of found clusters : %d\n", fOutput->GetName(),*(rawReader->GetEventId()), nclusters); + if (rawReader->GetEventId() && fOutput ){ + Info("Digits2Clusters", "File %s Event\t%d\tNumber of found clusters : %d\n", fOutput->GetName(),*(rawReader->GetEventId()), nclusters); + } } -- 2.43.0