Macro for merging (AliMergeSteer.C) together with an example how to use it (TestMergeC.C)
[u/mrichter/AliRoot.git] / macros / ecut.C
CommitLineData
0198c392 1void ecut() {
fe4da5cc 2
3//Begin_Html
4/*
1439f98e 5<img src="picts/ecut.gif">
fe4da5cc 6*/
7//End_Html
8 AliDisplay *edisplay;
9 TSlider *etacut = edisplay->EtaSlider();
10 for (Int_t i=0;i<50;i++) {
11 Float_t ymin = 0.02*Float_t(i);
12 Float_t ymax = ymin +0.02;
13 etacut->SetRange(ymin,ymax);
14 //etacut->SetMinimum(ymin);
15 //etacut->SetMaximum(ymax);
16 edisplay->Draw();
17 Canvas->Update();
18 }
19}