]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Use of AliHit.
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 13:20:11 +0000 (13:20 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 13:20:11 +0000 (13:20 +0000)
RICH/RICHpadtestC.C

index 1c90806bfd58d440de0d07c54291f23d34ae2eaa..fb884d9e59629aaba73532045c5342fdb9bd5dba 100644 (file)
@@ -142,10 +142,10 @@ void RICHpadtestC (Int_t evNumber1=0,Int_t evNumber2=0)
           for (Int_t hit=0;hit<nhits;hit++) {
               mHit = (AliRICHHit*) Hits->UncheckedAt(hit);
               Int_t nch  = mHit->fChamber;              // chamber number
-              Float_t x  = mHit->fX;                    // x-pos of hit
-              Float_t y  = mHit->fZ;                    // y-pos
-             Float_t z  = mHit->fY;
-             Int_t index = mHit->fTrack;
+              Float_t x  = mHit->X();                    // x-pos of hit
+              Float_t y  = mHit->Z();                    // y-pos
+             Float_t z  = mHit->Y();
+             Int_t index = mHit->Track();
              Int_t particle = mHit->fParticle;    
              Float_t R;