]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.cxx
New TGeo features allow us to avoid the use of MANY.
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.cxx
index 79bd6b40a3932d4ce09bc19ef7335fc205a60ffd..7a4a4a5d1bfc2cadfee6334257f73a071f1951d8 100644 (file)
@@ -50,3 +50,10 @@ Int_t AliMUONPixel::Compare(const TObject* pixel) const
   else if (fCharge == ((AliMUONPixel*)pixel)->Charge()) return( 0);
   else return(+1);
 }
+
+//__________________________________________________________________________
+void AliMUONPixel::Print(const char* /*opt*/) const
+{
+  // "Compare" function to sort with decreasing pixel charge
+  printf("%9.4f %9.4f %9.4f %9.4f %9.4f \n", fXY[0], fXY[1], fSize[0], fSize[1], fCharge);
+}