]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.h
- Added handling of tracks and file mask (used when merging different files).
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.h
index ef4dddd04ed4286b07c4ad384289c525e7f6bf22..40973438bb4dfeb59975ed76d5478c66295c5ede 100644 (file)
@@ -3,15 +3,20 @@
 /* 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
 
@@ -23,7 +28,7 @@ class AliMUONPixel : public TObject {
   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