1 #ifndef ALIMUONPOINTS_H
2 #define ALIMUONPOINTS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // Revision of includes 07/05/2004
11 /// \class AliMUONPoints
12 /// \brief Class to draw detector clusters (is PolyMarker3D)
15 #include <TMatrixFfwd.h>
19 #include "AliPoints.h"
21 class AliMUONPoints : public AliPoints
25 AliMUONPoints(Int_t npoints);
26 virtual ~AliMUONPoints();
29 Int_t GetHitIndex() const {return fHitIndex;}
30 Int_t GetTrackIndex() const; // *MENU*
31 /// Return digit index
32 Int_t GetDigitIndex() const {return fDigitIndex;}
33 /// Return associated 3D-marker
34 TMarker3DBox *GetMarker(Int_t i) const {return fMarker[i];}
35 AliMUONHit *GetHit() const;
36 AliMUONDigit *GetDigit() const;
37 virtual void InspectHit(); // *MENU*
38 virtual void DumpHit() const; // *MENU*
39 virtual void InspectDigit(); // *MENU*
40 virtual void DumpDigit() const; // *MENU*
42 virtual void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
44 virtual void SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
46 virtual void SetDigitIndex(Int_t digitindex) {fDigitIndex = digitindex;}
47 /// Set associated 3D-marker
48 virtual void Set3DMarker(Int_t i,TMarker3DBox *marker) {fMarker[i] = marker;}
50 virtual void SetMatrix(TMatrixF *matrix) {fMatrix = matrix;}
53 AliMUONPoints(const AliMUONPoints& points);
54 AliMUONPoints& operator = (const AliMUONPoints& rhs);
56 Int_t fHitIndex; ///< Link to hit number
57 Int_t fTrackIndex; ///< Link to track number
58 Int_t fDigitIndex; ///< Link to digit
59 TMarker3DBox *fMarker[3]; ///< pointer to associated 3D-marker
60 TMatrixF *fMatrix; ///< test
62 ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON