]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPoints.h
Using the recommended way of forward declarations for TVector and TMatrix (see v5...
[u/mrichter/AliRoot.git] / MUON / AliMUONPoints.h
1 #ifndef ALIMUONPOINTS_H
2 #define ALIMUONPOINTS_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8 // Revision of includes 07/05/2004
9 //
10 /// \ingroup base
11 /// \class AliMUONPoints
12 /// \brief Class to draw detector clusters (is PolyMarker3D)
13
14 #include "AliPoints.h"
15 #include <TMatrixFfwd.h>
16
17 class TMarker3DBox;
18
19 class AliMUONDigit;
20 class AliMUONHit;
21
22 class AliMUONPoints : public AliPoints 
23 {
24 public:
25   AliMUONPoints();
26   AliMUONPoints(Int_t npoints);
27   virtual ~AliMUONPoints();
28
29   Int_t                 GetHitIndex() const {return fHitIndex;}
30   Int_t                 GetTrackIndex() const; // *MENU*
31   Int_t                 GetDigitIndex() const {return fDigitIndex;}
32   TMarker3DBox         *GetMarker(Int_t i) const {return fMarker[i];}
33   AliMUONHit           *GetHit() const;
34   AliMUONDigit         *GetDigit() const;
35   virtual void          InspectHit(); // *MENU*
36   virtual void          DumpHit() const; // *MENU*
37   virtual void          InspectDigit(); // *MENU*
38   virtual void          DumpDigit() const; // *MENU*
39   virtual void          SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
40   virtual void          SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
41   virtual void          SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
42   virtual void          Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
43   virtual void          SetMatrix(TMatrixF *matrix) {fMatrix = matrix;}
44   
45 protected:
46   AliMUONPoints(const AliMUONPoints& points);  
47   AliMUONPoints& operator = (const AliMUONPoints& rhs);
48
49    Int_t            fHitIndex;         // Link to hit number 
50    Int_t            fTrackIndex;       // Link to track number 
51    Int_t            fDigitIndex;       // Link to digit 
52   TMarker3DBox     *fMarker[3];        // pointer to  associated 3D-marker
53   TMatrixF          *fMatrix;           // test
54   
55   ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
56 };
57 #endif
58
59