]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.h
reverting...
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.h
index 40973438bb4dfeb59975ed76d5478c66295c5ede..e1278d18f6dc0ad1e549b6b7a1b8c60ce1295318 100644 (file)
@@ -9,6 +9,8 @@
 /// \ingroup rec
 /// \class AliMUONPixel
 /// \brief Pixel for MLEM method of cluster finding
+///
+//  Author Alexander Zinchenko, JINR Dubna
 
 #include <TObject.h>
 
@@ -20,16 +22,18 @@ class AliMUONPixel : public TObject {
   AliMUONPixel(Double_t xc, Double_t yc, Double_t wx, Double_t wy, Double_t charge); // constructor
   virtual ~AliMUONPixel(); // Destructor
 
-  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
+  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 Shift(Int_t ixy, Double_t shift) { fXY[ixy] += shift; }
+  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; } ///< set coordinate
+  void SetFlag(Int_t flag) { fFlag = flag; } ///< set flag
+  void Shift(Int_t ixy, Double_t shift) { fXY[ixy] += shift; } ///< \todo add comment
   void Print(const char* opt="") const;
-  // What is necessary for sorting TObjArray's
+  /// What is necessary for sorting TObjArray's
   Bool_t IsSortable() const { return kTRUE; }
   Int_t Compare(const TObject* pixel) const; // "Compare" function for sorting
 
@@ -37,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