X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=macros%2FDrawMAG.C;h=50301ce6fcc2121c7ec5b896a64a3c41d0568c99;hb=fa5e892a03ab500ff1caf5c5d4faef87d843310b;hp=3202e6045576e1295db69193a6c2b464de63b7d0;hpb=fe4da5cc22f890b04843f1aebec0f1bf4f9c3fc9;p=u%2Fmrichter%2FAliRoot.git diff --git a/macros/DrawMAG.C b/macros/DrawMAG.C index 3202e604557..50301ce6fcc 100644 --- a/macros/DrawMAG.C +++ b/macros/DrawMAG.C @@ -1,8 +1,9 @@ -//void DrawMAG() +void DrawMAG() { gMC->Gsatt("*", "seen", -1); gMC->Gsatt("alic", "seen", 0); - gROOT->Macro("ViewMAG.C"); + gROOT->LoadMacro("ViewMAG.C"); + gInterpreter->ProcessLine("ViewMAG()"); gMC->Gdopt("hide", "on"); gMC->Gdopt("shad", "on"); gMC->Gsatt("*", "fill", 7);