]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/DrawTPC.C
Coding conventions
[u/mrichter/AliRoot.git] / macros / DrawTPC.C
index 798f8485ef37f1794f284ce7c4b7ffb0258f3f49..257faac4e19e424b2efcc71429eebf244f66b707 100644 (file)
@@ -1,8 +1,9 @@
-//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);