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