* provided "as is" without express or implied warranty. *
**************************************************************************/
+/* $Id$ */
+
#include "AliMUONPixel.h"
ClassImp(AliMUONPixel) // Class implementation in ROOT context
+//_____________________________________________________________________________
+AliMUONPixel::AliMUONPixel()
+ : TObject()
+{
+// Default constructor
+}
+
//_____________________________________________________________________________
AliMUONPixel::AliMUONPixel(Double_t xc, Double_t yc, Double_t wx, Double_t wy, Double_t charge)
+ : TObject()
{
// Constructor
fXY[0] = xc; fXY[1] = yc; fSize[0] = wx; fSize[1] = wy; fCharge = charge;
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);
+}