]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/DrawPIPE.C
Make drawing and viewving named macros
[u/mrichter/AliRoot.git] / macros / DrawPIPE.C
index 8e76c0795c2a1a987f145adf344d3c57556fbd7f..7a6caa0242e7b3c7a4e62c526a054e50bcc3140f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawPIPE()
+void DrawPIPE()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewPIPE.C");
+   gROOT->LoadMacro("ViewPIPE.C");
+   gInterpreter->ProcessLine("ViewPIPE()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);