New TRD files from C.Blume.
[u/mrichter/AliRoot.git] / TRD / DrawTRD.C
CommitLineData
fe4da5cc 1//void DrawTRD()
2{
d3f347ff 3 geant3->Gsatt("*", "seen", -1);
4 geant3->Gsatt("alic", "seen", 0);
5 AliTRD *TRD = gAlice->GetDetector("TRD");
6 if (TRD->IsVersion() == 0)
7 gROOT->Macro("ViewTRD0.C");
8 else if (TRD->IsVersion() == 1)
9 gROOT->Macro("ViewTRD1.C");
10 else if (TRD->IsVersion() == 2)
11 gROOT->Macro("ViewTRD2.C");
12 geant3->Gdopt("hide", "on");
13 geant3->Gdopt("shad", "on");
14 geant3->Gsatt("*", "fill", 7);
15 geant3->SetClipBox(".");
16 geant3->SetClipBox("*", 0, 2000, -2000, 2000, -2000, 2000);
17 geant3->DefaultRange();
18 geant3->Gdraw("alic", 40, 30, 0, 12, 9.4, .020, .020);
19 geant3->Gdhead(1111, "Transition Radiation Detector");
20 geant3->Gdman(18, 4, "MAN");
fe4da5cc 21}