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