]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.h
New classes for shuttle (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.h
index 09def66b5d130872de9d28d7a9e9d50ef9109044..9ce458b891d781cf3631f91ddab59989402cfdb5 100644 (file)
@@ -6,6 +6,12 @@
 /* $Id$ */
 // Revision of includes 07/05/2004
 
+/// \ingroup rec
+/// \class AliMUONPixel
+/// \brief Pixel for MLEM method of cluster finding
+///
+/// \author Alexander Zinchenko, JINR Dubna
+
 #include <TObject.h>
 
 class AliMUONPixel : public TObject {
@@ -19,10 +25,12 @@ class AliMUONPixel : public TObject {
   Double_t Charge(void) const { return fCharge; } // pixel charge
   Double_t Size(Int_t ixy) const { return fSize[ixy]; } // pixel size
   Double_t Coord(Int_t ixy) const { return fXY[ixy]; } // pixel coordinate
+  Int_t Flag(void) const { return fFlag; } // pixel flag
   
   void SetCharge(Double_t Charge) { fCharge = Charge; } // set charge
   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 SetCoord(Int_t ixy, Double_t Coord) { fXY[ixy] = Coord; } // set coordinate
+  void SetFlag(Int_t flag) { fFlag = flag; } // set flag
   void Shift(Int_t ixy, Double_t shift) { fXY[ixy] += shift; }
   void Print(const char* opt="") const;
   // What is necessary for sorting TObjArray's
@@ -33,9 +41,10 @@ class AliMUONPixel : public TObject {
 
  private:
  
-  Double_t fCharge; // pixel charge
-  Double_t fSize[2]; // pixel size
-  Double_t fXY[2]; // pixel coordinates
+  Double_t fCharge; //!< pixel charge
+  Double_t fSize[2]; //!< pixel size
+  Double_t fXY[2]; //!< pixel coordinates
+  Int_t fFlag; //!< pixel flag
 
   // Functions