Little change.
[u/mrichter/AliRoot.git] / HLT / exa / display.C
CommitLineData
086f41d8 1// $Id$
2
058d766f 3/**
4 Macro for displaying L3 cluster/track or raw data.
5 Uses the AliL3Display class.
6*/
7
8void display(int minslice,int maxslice,char *file="tracks.raw",char *path="./",char *gfile="$(LEVEL3)/GEO/alice.geom")
8b4288cf 9{
10 AliL3Logger l;
058d766f 11 //l.UnSet(AliL3Logger::kDebug);
12 //l.UnSet(AliL3Logger::kAll);
13 //l.Set(AliL3Logger::kInformational);
5df06ecf 14 //l.UseStdout();
058d766f 15 l.UseStream();
8b4288cf 16
058d766f 17 gStyle->SetOptStat(0);
5df06ecf 18 int slice[2] = {minslice,maxslice};
8b4288cf 19
058d766f 20 a = new AliL3Display(slice,gfile);
21 a->Setup(file,path);
5df06ecf 22 //a->Setup("/prog/alice/data/Rawdata/1_patch/pp/recon_6/tracks.raw","/prog/alice/data/Rawdata/1_patch/pp/recon_6/");
058d766f 23
4842e23d 24 a->DisplayAll();
25 //a->DisplayTracks();
8b4288cf 26 //a->DisplayClusters();
8b4288cf 27
058d766f 28 //a->DisplayClusterRow(1,151,file,"colz");
8b4288cf 29}
30
5df06ecf 31