Made display class work. Also added it to makefile.
[u/mrichter/AliRoot.git] / HLT / hough / AliL3HoughDisplay.h
CommitLineData
db739bef 1#ifndef ALIL3HoughDisplay
2#define ALIL3HoughDisplay
3
4#include "AliL3RootTypes.h"
5
6class TGeometry;
7class AliL3TrackArray;
b1886074 8class AliL3DigitRowData;
9class TPolyMarker3D;
1ed2ff53 10class AliL3Track;
db739bef 11
12class AliL3HoughDisplay {
13
14 private:
15
16 TGeometry *fGeom; //!
17 AliL3TrackArray *fTracks; //!
b1886074 18 AliL3DigitRowData *fDigitRowData; //!
19 UInt_t fNDigitRowData; //!
20 Int_t fShowSlice;
21 Int_t fPatch;
22
1ed2ff53 23 void GenerateHits(AliL3Track *track,Float_t *x,Float_t *y,Float_t *z,Int_t &n);
24
b1886074 25 TPolyMarker3D *LoadDigits();
26
db739bef 27 public:
28 AliL3HoughDisplay();
29 virtual ~AliL3HoughDisplay();
1ed2ff53 30
31 void Init(Char_t *trackfile);
b1886074 32 void DisplayEvent();
b1886074 33 void ShowData(AliL3DigitRowData *data,UInt_t size,Int_t slice,Int_t patch);
db739bef 34
35 ClassDef(AliL3HoughDisplay,1)
36};
37
b1886074 38inline 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
db739bef 47#endif