From 00907af44e6bc4a1745c7134028a00c90e5fe38a Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 16 Apr 2002 10:52:41 +0000 Subject: [PATCH] Wrong usage of exit() corrected (Sun) --- START/AliSTARTDigitizer.cxx | 7 ++++--- START/AliSTARTvertex.cxx | 15 +++++++++------ 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/START/AliSTARTDigitizer.cxx b/START/AliSTARTDigitizer.cxx index d9c4ca1893a..3ad3d451dd0 100644 --- a/START/AliSTARTDigitizer.cxx +++ b/START/AliSTARTDigitizer.cxx @@ -117,7 +117,8 @@ void AliSTARTDigitizer::Exec(Option_t* option) if (brHits) { START->SetHitsAddressBranch(brHits); }else{ - cerr<<"EXEC Branch START hit not found"<GetEntries(); if (ntracks<=0) return; @@ -180,8 +181,8 @@ void AliSTARTDigitizer::Exec(Option_t* option) // trick to find out output dir: TTree *outTree = fManager->GetTreeD(); if (!outTree) { - cerr<<"something wrong with output...."<GetDirectory()->cd(); diff --git a/START/AliSTARTvertex.cxx b/START/AliSTARTvertex.cxx index 26360c36e89..2f9a791a220 100644 --- a/START/AliSTARTvertex.cxx +++ b/START/AliSTARTvertex.cxx @@ -14,6 +14,9 @@ **************************************************************************/ /* $Log$ +Revision 1.7 2002/04/15 08:04:01 alla +Digits and reconstruction with TObject + Revision 1.6 2001/10/19 05:29:38 alla bug in meduim fixed @@ -86,8 +89,8 @@ void AliSTARTvertex::Reconstruct(Int_t evNumber=1) printf("%s\n",nameTD); if (!td) { - cerr<<"something wrong with output...."<Read(nameTD); digits->Read(nameTD); @@ -104,13 +107,13 @@ void AliSTARTvertex::Reconstruct(Int_t evNumber=1) } TTree *outTree = gAlice->TreeR(); if (!outTree) { - cerr<<"something wrong with output...."<TreeR(); if (!outTreeR) { - cerr<<"something wrong with output...."<