Make drawing and viewving named macros
[u/mrichter/AliRoot.git] / STRUCT / DrawSHIL.C
index c36ee1a..607d56f 100644 (file)
@@ -1,8 +1,9 @@
-//void DrawSHIL()
+void DrawSHIL()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->Macro("ViewSHIL.C");
+   gROOT->LoadMacro("ViewSHIL.C");
+   gInterpreter->ProcessLine("ViewSHIL()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);