]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/DrawTRD.C
Do not use Atan, removed from ROOT too
[u/mrichter/AliRoot.git] / TRD / DrawTRD.C
1 void DrawTRD()
2 {
3    gMC->Gsatt("*", "seen", -1);
4    gMC->Gsatt("alic", "seen", 0);
5    AliTRD *TRD = gAlice->GetModule("TRD");
6    if (TRD->Hole())
7      gROOT->Macro("ViewTRDhole.C");
8    else
9      gROOT->Macro("ViewTRDfull.C");
10    gMC->Gdopt("hide", "on");
11    gMC->Gdopt("shad", "on");
12    gMC->Gsatt("*", "fill", 7);
13    gMC->SetClipBox(".");
14    gMC->SetClipBox("*", 0, 2000, -2000, 2000, -2000, 2000);
15    gMC->DefaultRange();
16    gMC->Gdraw("alic", 40, 30, 0, 12, 9.4, .020, .020);
17    gMC->Gdhead(1111, "Transition Radiation Detector");
18    gMC->Gdman(18, 4, "MAN");
19 }