]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/DrawTRD.C
Only one declaration of iDict in MakeDigits()
[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->LoadMacro("ViewTRDhole.C");
8    gInterpreter->ProcessLine("ViewTRDhole()");
9    else
10      gROOT->LoadMacro("ViewTRDfull.C");
11    gInterpreter->ProcessLine("ViewTRDfull()");
12    gMC->Gdopt("hide", "on");
13    gMC->Gdopt("shad", "on");
14    gMC->Gsatt("*", "fill", 7);
15    gMC->SetClipBox(".");
16    gMC->SetClipBox("*", 0, 2000, -2000, 2000, -2000, 2000);
17    gMC->DefaultRange();
18    gMC->Gdraw("alic", 40, 30, 0, 12, 9.4, .020, .020);
19    gMC->Gdhead(1111, "Transition Radiation Detector");
20    gMC->Gdman(18, 4, "MAN");
21 }