]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/DrawPMD.C
New configuration for
[u/mrichter/AliRoot.git] / macros / DrawPMD.C
index 0faaa5269e363e3bae5cca98771ef5e0cdc549e8..b5cb295c87053d92078cffd319bbfc697a0138c6 100644 (file)
@@ -1,15 +1,16 @@
-//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);
    gMC->SetClipBox(".");
-   gMC->SetClipBox("*", 0, 3000, -3000, 3000, -6000, 6000);
+   //   gMC->SetClipBox("*", 0, 3000, -3000, 3000, -6000, 6000);
    gMC->DefaultRange();
-   gMC->Gdraw("alic", 40, 30, 0, 22, 15.5, .04, .04);
+   gMC->Gdraw("alic", 40, 30, 0, 0, 5, .025, .025);
    gMC->Gdhead(1111, "Photon Multiplicity Detector");
    gMC->Gdman(17, 5, "MAN");
 }