/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-#include <TROOT.h>
-class TObjArray;
+/* $Id$ */
+// Revision of includes 07/05/2004
+
+/// \ingroup rec
+/// \class AliMUONPixel
+/// \brief Pixel for MLEM method of cluster finding
+
+#include <TObject.h>
class AliMUONPixel : public TObject {
public:
- AliMUONPixel(){
- ;} // Default constructor
+ AliMUONPixel();
AliMUONPixel(Double_t xc, Double_t yc, Double_t wx, Double_t wy, Double_t charge); // constructor
virtual ~AliMUONPixel(); // Destructor
void SetSize(Int_t ixy, Double_t Size) { fSize[ixy] = Size; } // set size
void SetCoord(Int_t ixy, Double_t Coord) { fXY[ixy] = Coord; }
void Shift(Int_t ixy, Double_t shift) { fXY[ixy] += shift; }
- void Print(void) {printf("%9.4f %9.4f %9.4f %9.4f %9.4f \n", fXY[0], fXY[1], fSize[0], fSize[1], fCharge); }
+ void Print(const char* opt="") const;
// What is necessary for sorting TObjArray's
Bool_t IsSortable() const { return kTRUE; }
Int_t Compare(const TObject* pixel) const; // "Compare" function for sorting