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