dummy gain file
[u/mrichter/AliRoot.git] / EVE / macros / reve_quad_test.C
CommitLineData
5a5a1232 1// $Header$
2
3void reve_quad_test()
4{
becafd4b 5 TRandom r(0);
6
7 gStyle->SetPalette(1, 0);
8
9 Reve::QuadSet* q = new Reve::QuadSet("Pepe");
10 q->Reset(Reve::QuadSet::QT_AxisAligned, kFALSE, 32);
11 for (Int_t i=0; i<128; ++i) {
12 q->AddQuad(r.Uniform(-10, 10), r.Uniform(-10, 10), r.Uniform(-10, 10),
13 r.Uniform(-1, 1), r.Uniform(-1, 1));
14 q->QuadValue(r.Uniform(0, 130));
15 }
16 q->RefitPlex();
17
18 gReve->AddRenderElement(q);
19 gReve->Redraw3D();
5a5a1232 20}