-//______________________________________________________________________________
-void AliMUONPolygon::Copy(TObject& obj) const
-{
- /// Copy this to obj
-
- AliMUONPolygon& rhs = static_cast<AliMUONPolygon&>(obj);
-
- Double_t* x = new Double_t[fN];
- Double_t* y = new Double_t[fN];
-
- for ( Int_t i = 0; i < fN; ++i )
- {
- x[i] = fX[i];
- y[i] = fY[i];
- }
-
- delete rhs.fX;
- delete rhs.fY;
-
- rhs.fX = x;
- rhs.fY = y;
- rhs.fN = fN;
-}
-