]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Use access functions for hit data members.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Oct 2000 09:39:20 +0000 (09:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Oct 2000 09:39:20 +0000 (09:39 +0000)
MUON/MUONtestrawclust.C

index 9ebd6e6310d7fbe764924494636c6464b0d0e402..a0363192ff134646f9b5f902a5bc3f61e7b6790a 100644 (file)
@@ -97,8 +97,8 @@ void MUONtestrawclust (Int_t evNumber1=0,Int_t evNumber2=0, Int_t ich1=0, Int_t
                           mHit=(AliMUONHit*)MUON->NextHit()) 
                       {
                           Int_t   nch   = mHit->fChamber;  // chamber number
-                          Float_t x     = mHit->fX;        // x-pos of hit
-                          Float_t y     = mHit->fY;        // y-pos
+                          Float_t x     = mHit->X();        // x-pos of hit
+                          Float_t y     = mHit->Y();        // y-pos
                           if (nch==(ich+1)){
                               hresx->Fill(xrec-x,float(1));
                               hresy->Fill(yrec-y,float(1));