]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONPoints.h
New class AliMUONTrackExtrap containing static method for tack extrapolation (Philipp...
[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 class TMarker3DBox;
15 #include <TMatrixFfwd.h>
16
17 class AliMUONDigit;
18 class AliMUONHit;
19 #include "AliPoints.h"
20
21 class AliMUONPoints : public AliPoints 
22 {
23 public:
24   AliMUONPoints();
25   AliMUONPoints(Int_t npoints);
26   virtual ~AliMUONPoints();
27                         
28                         /// Return hit index
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*
41                         /// Set hit index
42   virtual void          SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
43                         /// Set track index
44   virtual void          SetTrackIndex(Int_t trackindex) {fTrackIndex = trackindex;}
45                         /// Set digit index
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;}
49                         /// Set matrix
50   virtual void          SetMatrix(TMatrixF *matrix) {fMatrix = matrix;}
51   
52 protected:
53   AliMUONPoints(const AliMUONPoints& points);  
54   AliMUONPoints& operator = (const AliMUONPoints& rhs);
55
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
61    
62   ClassDef(AliMUONPoints,1) //Class to draw detector clusters (is PolyMarker3D) for MUON
63 };
64 #endif
65
66