From a5886574d3816d314d194694181bb83460b13f1b Mon Sep 17 00:00:00 2001 From: jbarbosa Date: Tue, 13 Feb 2001 20:39:06 +0000 Subject: [PATCH] Changes to make it work with new IO. --- RICH/AliRICHDetect.cxx | 5 ++++- RICH/AliRICHPatRec.cxx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/RICH/AliRICHDetect.cxx b/RICH/AliRICHDetect.cxx index 5f5ae5b514f..dadbc1255fc 100644 --- a/RICH/AliRICHDetect.cxx +++ b/RICH/AliRICHDetect.cxx @@ -15,6 +15,9 @@ /* $Log$ + Revision 1.9 2001/01/22 21:39:11 jbarbosa + Several tune-ups + Revision 1.8 2000/11/15 15:52:53 jbarbosa Turned on spot algorithm. @@ -148,7 +151,7 @@ void AliRICHDetect::Detect() Int_t nhits = pHits->GetEntriesFast(); if (nhits == 0) continue; Int_t nent=(Int_t)gAlice->TreeD()->GetEntries(); - gAlice->TreeD()->GetEvent(nent-1); + gAlice->TreeD()->GetEvent(0); AliRICHHit *mHit = 0; AliRICHDigit *points = 0; //Int_t npoints=0; diff --git a/RICH/AliRICHPatRec.cxx b/RICH/AliRICHPatRec.cxx index 45c060057a9..8f844913b31 100644 --- a/RICH/AliRICHPatRec.cxx +++ b/RICH/AliRICHPatRec.cxx @@ -15,6 +15,9 @@ /* $Log$ + Revision 1.8 2000/11/01 15:37:18 jbarbosa + Updated to use its own rec. point object. + Revision 1.7 2000/10/03 21:44:09 morsch Use AliSegmentation and AliHit abstract base classes. @@ -116,7 +119,7 @@ void AliRICHPatRec::PatRec() segmentation=iChamber->GetSegmentationModel(); nent=(Int_t)gAlice->TreeD()->GetEntries(); - gAlice->TreeD()->GetEvent(nent-1); + gAlice->TreeD()->GetEvent(0); TClonesArray *pDigitss = pRICH->DigitsAddress(ich); ndigits[ich] = pDigitss->GetEntriesFast(); printf("Digits in chamber %d: %d\n",ich,ndigits[ich]); -- 2.31.1