]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/DrawFMD.C
Adding position dependendent Q normalization (Marian)
[u/mrichter/AliRoot.git] / FMD / DrawFMD.C
1 /** @file    DrawFMD.C
2     @author  Christian Holm Christensen <cholm@nbi.dk>
3     @date    Mon Mar 27 14:18:21 2006
4     @brief   Script to draw the FMD3 - obsolete
5 */
6 void DrawFMD()
7 {
8   // gSystem->Load("/usr/lib/libshift");
9   // gSystem->Load("/usr/lib/libgfortran");
10   gSystem->Load("libgeant321");
11   gMC = new TGeant3TGeo;
12    gMC->Gsatt("*", "seen", -1);
13    gMC->Gsatt("alic", "seen", 0);
14    gROOT->LoadMacro("FMD/ViewFMD.C");
15    gInterpreter->ProcessLine("ViewFMD()");
16    gROOT->LoadMacro("ITS/ViewITS.C");
17    gInterpreter->ProcessLine("ViewITS()");
18    gMC->Gdopt("hide", "on");
19    gMC->Gdopt("shad", "on");
20    gMC->Gsatt("*", "fill", 7);
21    gMC->SetClipBox(".");
22    gMC->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
23    gMC->DefaultRange();
24    gMC->Gdraw("alic", 40, 30, 0, 12, 12, .055, .055);
25    gMC->Gdhead(1111, "Forward Multiplicity Detector");
26    gMC->Gdman(16, 10, "MAN");
27    gPad->Modified();
28    gPad->cd();
29 }