]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.h
Formatting changes.
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.h
index 40973438bb4dfeb59975ed76d5478c66295c5ede..9ce458b891d781cf3631f91ddab59989402cfdb5 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>
 
@@ -23,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
@@ -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