New MUON data container AliMUONData implementation
[u/mrichter/AliRoot.git] / MUON / AliMUONPoints.cxx
index 4352e73..0fab6b3 100644 (file)
@@ -81,7 +81,7 @@ AliMUONPoints::AliMUONPoints(Int_t npoints)
   fMatrix = 0;
 }
 
-AliMUONPoints::AliMUONPoints(const AliMUONPoints& points)
+AliMUONPoints::AliMUONPoints(const AliMUONPoints& points):AliPoints(points)
 {
 // Copy constructor
 }
@@ -236,7 +236,7 @@ AliMUONDigit *AliMUONPoints::GetDigit() const
   Int_t cathode=display->GetCathode();
    
   AliMUON *pMUON  = (AliMUON*)gAlice->GetModule("MUON");
-  TClonesArray *muonDigits  = pMUON->DigitsAddress(chamber-1);
+  TClonesArray *muonDigits  = pMUON->GetMUONData()->Digits(chamber-1,0);
   Int_t nent=(Int_t)gAlice->TreeD()->GetEntries();
   gAlice->TreeD()->GetEvent(nent-2+cathode-1);
   //gAlice->TreeD()->GetEvent(cathode);
@@ -246,7 +246,7 @@ AliMUONDigit *AliMUONPoints::GetDigit() const
 }
 //_____________________________________________________________________________
 
-AliMUONPoints& AliMUONPoints::operator= (const AliMUONPoints& rhs)
+AliMUONPoints& AliMUONPoints::operator= (const AliMUONPoints& /*rhs*/)
 {
     return *this;
 }