1ff8be09f3149664d9a911346f01225fe85dd863
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughDisplay.h
1 #ifndef ALIL3HoughDisplay
2 #define ALIL3HoughDisplay
3
4 #include "AliL3RootTypes.h"
5
6 class TGeometry;
7 class AliL3TrackArray;
8 class AliL3DigitRowData;
9 class TPolyMarker3D;
10 class AliL3HoughTrack;
11
12 class AliL3HoughDisplay {
13
14  private:
15   
16   TGeometry *fGeom; //!
17   AliL3TrackArray *fTracks; //!
18   AliL3DigitRowData *fDigitRowData;  //!
19   UInt_t fNDigitRowData; //!
20   Int_t fShowSlice; 
21   Int_t fPatch;
22   
23   void GenerateHits(AliL3HoughTrack *track,Float_t *x,Float_t *y,Float_t *z,Int_t &n);
24   void Init();
25   TPolyMarker3D *LoadDigits();
26
27  public:
28   AliL3HoughDisplay();
29   virtual ~AliL3HoughDisplay();
30
31   void DisplayEvent();
32   void SetTracks(AliL3TrackArray *tracks) {fTracks = tracks;}
33   void ShowData(AliL3DigitRowData *data,UInt_t size,Int_t slice,Int_t patch);
34
35   ClassDef(AliL3HoughDisplay,1) 
36 };
37
38 inline void AliL3HoughDisplay::ShowData(AliL3DigitRowData *data,UInt_t size,Int_t slice,Int_t patch)
39 {
40   fShowSlice = slice;
41   fPatch = patch;
42   fDigitRowData = data;
43   fNDigitRowData = size;
44 }
45
46
47 #endif