]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/DrawTPC.C
caching of the correction coeficients from the graph
[u/mrichter/AliRoot.git] / TPC / DrawTPC.C
1 void DrawTPC()
2 {
3    gMC->Gsatt("*", "seen", -1);
4    gMC->Gsatt("alic", "seen", 0);
5    gROOT->LoadMacro("ViewTPC.C");
6    gInterpreter->ProcessLine("ViewTPC()");
7    gMC->Gdopt("hide", "on");
8    gMC->Gdopt("shad", "on");
9    gMC->Gsatt("*", "fill", 7);
10    gMC->SetClipBox(".");
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);
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 }