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