]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/DrawTPC.C
New Clusterization by IHEP (yuri)
[u/mrichter/AliRoot.git] / TPC / DrawTPC.C
index 798f8485ef37f1794f284ce7c4b7ffb0258f3f49..617389e6afc0386543775a705da0f8f4f50c9b95 100644 (file)
@@ -1,13 +1,19 @@
-//void DrawTPC()
+void DrawTPC()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewTPC.C");
+   gROOT->LoadMacro("ViewTPC.C");
+   gInterpreter->ProcessLine("ViewTPC()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
    gMC->SetClipBox(".");
-   gMC->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
+   gMC->SetClipBox("TPMW",-300,300,-300,300,254.,270.);
+   gMC->SetClipBox("TESR",-300,300,-300,300,254.,270.);
+   gMC->SetClipBox("TSSW",-300,300,-300,300,283.,284.);
+   gMC->SetClipBox("TSWC",-300,300,-300,300,283.,284.);  
+
+   gMC->SetClipBox("*", 0, 300, -300, 300, -290, 290);
    gMC->DefaultRange();
    gMC->Gdraw("alic", 40, 30, 0, 12, 9.5, .025, .025);
    gMC->Gdhead(1111, "Time Projection Chamber");