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