]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPoints.h
Mapping test macros (D. Guez, I. Hrivnacova)
[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 #include "AliPoints.h"
11
12 class TMatrix;
13 class TMarker3DBox;
14
15 class AliMUONDigit;
16 class AliMUONHit;
17
18 class AliMUONPoints : public AliPoints 
19 {
20 public:
21   AliMUONPoints();
22   AliMUONPoints(Int_t npoints);
23   virtual ~AliMUONPoints();
24
25   Int_t                 GetHitIndex() const {return fHitIndex;}
26   Int_t                 GetTrackIndex() const; // *MENU*
27   Int_t                 GetDigitIndex() const {return fDigitIndex;}
28   TMarker3DBox         *GetMarker(Int_t i) const {return fMarker[i];}
29   AliMUONHit           *GetHit() const;
30   AliMUONDigit         *GetDigit() const;
31   virtual void          InspectHit(); // *MENU*
32   virtual void          DumpHit() const; // *MENU*
33   virtual void          InspectDigit(); // *MENU*
34   virtual void          DumpDigit() const; // *MENU*
35   virtual void          SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
36   virtual void          SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
37   virtual void          SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
38   virtual void          Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
39   virtual void          SetMatrix(TMatrix *matrix) {fMatrix = matrix;}
40   
41 protected:
42   AliMUONPoints(const AliMUONPoints& points);  
43   AliMUONPoints& operator = (const AliMUONPoints& rhs);
44
45    Int_t            fHitIndex;         // Link to hit number 
46    Int_t            fTrackIndex;       // Link to track number 
47    Int_t            fDigitIndex;       // Link to digit 
48   TMarker3DBox     *fMarker[3];        // pointer to  associated 3D-marker
49   TMatrix          *fMatrix;           // test
50   
51   ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
52 };
53 #endif
54
55