]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPoints.h
ReadRaw(): TGraphs are created once per event (B.Polichtchouk)
[u/mrichter/AliRoot.git] / MUON / AliMUONPoints.h
index 3628a920a8b652bddedd14acd935b3665dad8b7a..5d022d2dbc938a7886703fcf3776d5376b3ab37c 100644 (file)
 /// \class AliMUONPoints
 /// \brief Class to draw detector clusters (is PolyMarker3D)
 
-#include "AliPoints.h"
-
-class TMatrix;
 class TMarker3DBox;
+#include <TMatrixFfwd.h>
 
 class AliMUONDigit;
 class AliMUONHit;
+#include "AliPoints.h"
 
 class AliMUONPoints : public AliPoints 
 {
@@ -25,10 +24,13 @@ public:
   AliMUONPoints();
   AliMUONPoints(Int_t npoints);
   virtual ~AliMUONPoints();
-
+                        
+                       /// Return hit index
   Int_t                 GetHitIndex() const {return fHitIndex;}
   Int_t                 GetTrackIndex() const; // *MENU*
+                       /// Return digit index
   Int_t                 GetDigitIndex() const {return fDigitIndex;}
+                       /// Return associated 3D-marker
   TMarker3DBox         *GetMarker(Int_t i) const {return fMarker[i];}
   AliMUONHit           *GetHit() const;
   AliMUONDigit         *GetDigit() const;
@@ -36,22 +38,27 @@ public:
   virtual void          DumpHit() const; // *MENU*
   virtual void          InspectDigit(); // *MENU*
   virtual void          DumpDigit() const; // *MENU*
+                        /// Set hit index
   virtual void          SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
+                        /// Set track index
   virtual void          SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
+                        /// Set digit index
   virtual void          SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
+                        /// Set associated 3D-marker
   virtual void          Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
-  virtual void          SetMatrix(TMatrix *matrix) {fMatrix = matrix;}
+                        /// Set matrix
+  virtual void          SetMatrix(TMatrixF *matrix) {fMatrix = matrix;}
   
 protected:
   AliMUONPoints(const AliMUONPoints& points);  
   AliMUONPoints& operator = (const AliMUONPoints& rhs);
 
-   Int_t            fHitIndex;         // Link to hit number 
-   Int_t            fTrackIndex;       // Link to track number 
-   Int_t            fDigitIndex;       // Link to digit 
-  TMarker3DBox     *fMarker[3];        // pointer to  associated 3D-marker
-  TMatrix          *fMatrix;           // test
-  
+   Int_t            fHitIndex;         ///< Link to hit number 
+   Int_t            fTrackIndex;       ///< Link to track number 
+   Int_t            fDigitIndex;       ///< Link to digit 
+   TMarker3DBox    *fMarker[3];        ///< pointer to  associated 3D-marker
+   TMatrixF        *fMatrix;           ///< test
+   
   ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
 };
 #endif