if (brHits) {
START->SetHitsAddressBranch(brHits);
}else{
- cerr<<"EXEC Branch START hit not found"<<exit;
+ cerr<<"EXEC Branch START hit not found"<<endl;
+ exit(111);
}
Int_t ntracks = (Int_t) th->GetEntries();
if (ntracks<=0) return;
// trick to find out output dir:
TTree *outTree = fManager->GetTreeD();
if (!outTree) {
- cerr<<"something wrong with output...."<<exit;
- return;
+ cerr<<"something wrong with output...."<<endl;
+ exit(111);
}
TDirectory *wd = gDirectory;
outTree->GetDirectory()->cd();
**************************************************************************/
/*
$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
printf("%s\n",nameTD);
if (!td) {
- cerr<<"something wrong with output...."<<exit;
- return;
+ cerr<<"something wrong with output...."<<endl;
+ exit(111);
}
td->Read(nameTD);
digits->Read(nameTD);
}
TTree *outTree = gAlice->TreeR();
if (!outTree) {
- cerr<<"something wrong with output...."<<exit;
- return;
+ cerr<<"something wrong with output...."<<endl;
+ exit(111);
}
TTree *outTreeR = gAlice->TreeR();
if (!outTreeR) {
- cerr<<"something wrong with output...."<<exit;
- return;
+ cerr<<"something wrong with output...."<<endl;
+ exit(111);
}
sprintf(nameTR,"START_R_%d",evNumber);
printf("%s\n",nameTR);