]>
Commit | Line | Data |
---|---|---|
086f41d8 | 1 | // $Id$ |
2 | ||
058d766f | 3 | /** |
4 | Macro for displaying L3 cluster/track or raw data. | |
5 | Uses the AliL3Display class. | |
6 | */ | |
7 | ||
3e87ef69 | 8 | void display(Int_t minslice,Int_t maxslice,Char_t *file="tracks.raw",Char_t *path="./",Char_t *gfile="$(ALIGEOPATH)/alice.geom") |
8b4288cf | 9 | { |
3e87ef69 | 10 | gStyle->SetOptStat(0); |
11 | Int_t slice[2] = {minslice,maxslice}; | |
12 | ||
13 | AliL3Display *a = new AliL3Display(slice,gfile); | |
14 | //a->Setup(file,path); | |
15 | a->Setup(file,path,0,kTRUE); | |
16 | ||
17 | ||
18 | /* Choose one of the following */ | |
19 | a->DisplayAll(); | |
20 | //a->DisplayTracks(); | |
21 | //a->DisplayClusters(); | |
22 | ||
23 | //a->DisplayClusterRow(1,151,file,"colz"); | |
24 | } | |
8b4288cf | 25 | |
3e87ef69 | 26 | |
27 | void display_cl(Int_t ev=0,Char_t *path="./",Char_t *gfile="$(LEVEL3)/GEO/alice.geom") | |
28 | { | |
058d766f | 29 | gStyle->SetOptStat(0); |
3e87ef69 | 30 | Int_t slice[2] = {0,35}; |
8b4288cf | 31 | |
3e87ef69 | 32 | Char_t file[1024]; |
33 | sprintf(file,"%s/tracks_%d.raw",path,ev); | |
058d766f | 34 | |
3e87ef69 | 35 | a = new AliL3Display(slice,gfile); |
36 | //a->Setup(file,path); | |
37 | a->Setup(file,path,ev,kTRUE); | |
38 | ||
39 | ||
40 | /* Choose one of the following */ | |
4842e23d | 41 | a->DisplayAll(); |
42 | //a->DisplayTracks(); | |
8b4288cf | 43 | //a->DisplayClusters(); |
8b4288cf | 44 | |
058d766f | 45 | //a->DisplayClusterRow(1,151,file,"colz"); |
8b4288cf | 46 | } |