]>
Commit | Line | Data |
---|---|---|
c2fc1258 | 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 | */ | |
4e47b882 | 6 | void DrawFMD() |
fe4da5cc | 7 | { |
f4ee3d57 | 8 | // gSystem->Load("/usr/lib/libshift"); |
9 | // gSystem->Load("/usr/lib/libgfortran"); | |
baa92757 | 10 | gSystem->Load("libgeant321"); |
11 | gMC = new TGeant3TGeo; | |
fe4da5cc | 12 | gMC->Gsatt("*", "seen", -1); |
13 | gMC->Gsatt("alic", "seen", 0); | |
4347b38f | 14 | gROOT->LoadMacro("FMD/ViewFMD.C"); |
4e47b882 | 15 | gInterpreter->ProcessLine("ViewFMD()"); |
baa92757 | 16 | gROOT->LoadMacro("ITS/ViewITS.C"); |
17 | gInterpreter->ProcessLine("ViewITS()"); | |
fe4da5cc | 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(); | |
4347b38f | 24 | gMC->Gdraw("alic", 40, 30, 0, 12, 12, .055, .055); |
fe4da5cc | 25 | gMC->Gdhead(1111, "Forward Multiplicity Detector"); |
4347b38f | 26 | gMC->Gdman(16, 10, "MAN"); |
27 | gPad->Modified(); | |
28 | gPad->cd(); | |
fe4da5cc | 29 | } |