]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changes to make it work with new IO.
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 20:39:06 +0000 (20:39 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 20:39:06 +0000 (20:39 +0000)
RICH/AliRICHDetect.cxx
RICH/AliRICHPatRec.cxx

index 5f5ae5b514fdea002dc7fbf8b4d7ddaa3a2f10d0..dadbc1255fc9703a501ba6bf5cb09942c7062584 100644 (file)
@@ -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;
index 45c060057a9d5b5db4695bd4aaf706ed60a65c81..8f844913b3197329fe21b4bd283248b5ad1b25e9 100644 (file)
@@ -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]);