]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/src/AliL3Display.h
9171cf859a4a3e3c29cc41b6d41b5660cbd2e60a
[u/mrichter/AliRoot.git] / HLT / src / AliL3Display.h
1 // @(#) $Id$
2
3 #ifndef ALIL3DISPLAY_H
4 #define ALIL3DISPLAY_H
5
6 /** \class AliL3Display
7 <pre>
8 //_____________________________________________________________
9 // AliL3Display
10 //
11 // Simple display class for the HLT tracks.
12 </pre>
13 */
14 // Author: Anders Vestbo <mailto:vestbo@fi.uib.no>
15 //*-- Copyright &copy ALICE HLT Group 
16
17 #include <TObject.h>
18 class TGeometry;
19 class AliL3SpacePointData;
20 class AliL3TrackArray;
21
22 class AliL3Display : public TObject {
23
24  public:
25   AliL3Display();
26   AliL3Display(Int_t *slice, Char_t *gfile="$(ALIHLT_BASEDIR)/geo/alice.geom");
27   virtual ~AliL3Display();
28
29   void Setup(Char_t *trackfile,Char_t *path,Int_t event=-1,Bool_t sp=kFALSE);
30   void DisplayTracks(Int_t min_hits=10,Bool_t x3don=kTRUE,Float_t thr=0.);
31   void DisplayAll(Int_t min_hits=10,Bool_t x3don=kTRUE);
32   void DisplayClusters(Bool_t x3don=kTRUE);
33
34   void DisplayClusterRow(Int_t slice,Int_t padrow,Char_t *digitsFile,Char_t *type="hist");
35   void SetTracks(AliL3TrackArray *tracks) {fTracks=tracks;}
36
37  private:
38   AliL3Display(const AliL3Display &/*d*/):TObject(){;}
39   AliL3Display& operator=(const AliL3Display &/*d*/){return *this;}
40
41   TGeometry *fGeom; //!
42   AliL3SpacePointData *fClusters[36][6]; //!
43   AliL3TrackArray *fTracks; //!
44   UInt_t fNcl[36][6]; //number of cluster
45   Int_t fMinSlice; //min slice
46   Int_t fMaxSlice; //max slice
47   
48   ClassDef(AliL3Display,1) //Display class
49 };
50
51 #endif