]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
c3d96f5a | 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 © ALICE HLT Group | |
108615fc | 16 | |
17 | #include <TObject.h> | |
c3d96f5a | 18 | class TGeometry; |
108615fc | 19 | class AliL3SpacePointData; |
20 | class AliL3TrackArray; | |
21 | ||
22 | class AliL3Display : public TObject { | |
23 | ||
108615fc | 24 | public: |
25 | AliL3Display(); | |
0a86fbb7 | 26 | AliL3Display(Int_t *slice, Char_t *gfile="$(ALIHLT_BASEDIR)/geo/alice.geom"); |
108615fc | 27 | virtual ~AliL3Display(); |
28 | ||
3e87ef69 | 29 | void Setup(Char_t *trackfile,Char_t *path,Int_t event=-1,Bool_t sp=kFALSE); |
4499ed26 | 30 | void DisplayTracks(Int_t min_hits=10,Bool_t x3don=kTRUE,Float_t thr=0.); |
eeddc64d | 31 | void DisplayAll(Int_t min_hits=10,Bool_t x3don=kTRUE); |
32 | void DisplayClusters(Bool_t x3don=kTRUE); | |
108615fc | 33 | |
a3039c91 | 34 | void DisplayClusterRow(Int_t slice,Int_t padrow,Char_t *digitsFile,Char_t *type="hist"); |
35 | void SetTracks(AliL3TrackArray *tracks) {fTracks=tracks;} | |
c3d96f5a | 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 | |
a3039c91 | 47 | |
b661165c | 48 | ClassDef(AliL3Display,1) //Display class |
108615fc | 49 | }; |
50 | ||
51 | #endif |