]>
Commit | Line | Data |
---|---|---|
4e47b882 | 1 | void DrawTPC() |
fe4da5cc | 2 | { |
3 | gMC->Gsatt("*", "seen", -1); | |
4 | gMC->Gsatt("alic", "seen", 0); | |
4e47b882 | 5 | gROOT->LoadMacro("ViewTPC.C"); |
6 | gInterpreter->ProcessLine("ViewTPC()"); | |
fe4da5cc | 7 | gMC->Gdopt("hide", "on"); |
8 | gMC->Gdopt("shad", "on"); | |
9 | gMC->Gsatt("*", "fill", 7); | |
10 | gMC->SetClipBox("."); | |
37831078 | 11 | gMC->SetClipBox("TPMW",-300,300,-300,300,254.,270.); |
12 | gMC->SetClipBox("TESR",-300,300,-300,300,254.,270.); | |
13 | gMC->SetClipBox("TSSW",-300,300,-300,300,283.,284.); | |
14 | gMC->SetClipBox("TSWC",-300,300,-300,300,283.,284.); | |
15 | ||
16 | gMC->SetClipBox("*", 0, 300, -300, 300, -290, 290); | |
fe4da5cc | 17 | gMC->DefaultRange(); |
18 | gMC->Gdraw("alic", 40, 30, 0, 12, 9.5, .025, .025); | |
19 | gMC->Gdhead(1111, "Time Projection Chamber"); | |
20 | gMC->Gdman(18, 4, "MAN"); | |
21 | } |