Additiona TOF data members (S.Arcelli)
[u/mrichter/AliRoot.git] / FMD / DrawFMD.C
index 72744cc6d16a00cfd2ba80bff1e4dca1fa365b8e..09bc728364b32a9cbc06daee2ed8fc9f52a098c1 100644 (file)
@@ -1,16 +1,24 @@
 void DrawFMD()
 {
+  // gSystem->Load("/usr/lib/libshift");
+  // gSystem->Load("/usr/lib/libgfortran");
+  gSystem->Load("libgeant321");
+  gMC = new TGeant3TGeo;
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->LoadMacro("ViewFMD.C");
+   gROOT->LoadMacro("FMD/ViewFMD.C");
    gInterpreter->ProcessLine("ViewFMD()");
+   gROOT->LoadMacro("ITS/ViewITS.C");
+   gInterpreter->ProcessLine("ViewITS()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
    gMC->Gsatt("*", "fill", 7);
    gMC->SetClipBox(".");
    gMC->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
    gMC->DefaultRange();
-   gMC->Gdraw("alic", 40, 30, 0, 6, 9, .08, .08);
+   gMC->Gdraw("alic", 40, 30, 0, 12, 12, .055, .055);
    gMC->Gdhead(1111, "Forward Multiplicity Detector");
-   gMC->Gdman(13, 9, "MAN");
+   gMC->Gdman(16, 10, "MAN");
+   gPad->Modified();
+   gPad->cd();
 }