]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPoints.cxx
improving IO
[u/mrichter/AliRoot.git] / MUON / AliMUONPoints.cxx
index 0fab6b3af53d08c546d77c9bf9a2404c23f9c4c3..157bc3a3ebcc14b64898c4501e7e4b4f02eb2ab9 100644 (file)
@@ -236,9 +236,9 @@ AliMUONDigit *AliMUONPoints::GetDigit() const
   Int_t cathode=display->GetCathode();
    
   AliMUON *pMUON  = (AliMUON*)gAlice->GetModule("MUON");
-  TClonesArray *muonDigits  = pMUON->GetMUONData()->Digits(chamber-1,0);
+  TClonesArray *muonDigits  = pMUON->GetMUONData()->Digits(chamber-1);
   Int_t nent=(Int_t)gAlice->TreeD()->GetEntries();
-  gAlice->TreeD()->GetEvent(nent-2+cathode-1);
+  pMUON->GetMUONData()->GetCathode(nent-2+cathode-1);
   //gAlice->TreeD()->GetEvent(cathode);
   Int_t ndigits = muonDigits->GetEntriesFast();
   if (fDigitIndex < 0 || fDigitIndex >= ndigits) return 0;