Using the default ITS settings in the configuration files (Bjorn)
[u/mrichter/AliRoot.git] / macros / DrawPHOS.C
1 void DrawPHOS()
2 {
3    gMC->Gsatt("*", "seen", -1);
4    gMC->Gsatt("alic", "seen", 0);
5    gROOT->LoadMacro("ViewPHOS.C");
6    gInterpreter->ProcessLine("ViewPHOS()");
7    gMC->Gdopt("hide", "on");
8    gMC->Gdopt("shad", "on");
9    gMC->Gsatt("*", "fill", 7);
10    gMC->SetClipBox(".");
11    gMC->SetClipBox("*", 0, 500, -800, 800, -200, 200);
12    gMC->DefaultRange();
13    gMC->Gdraw("alic", 40, 30, 0, 13, 20, .035, .035);
14    gMC->Gdhead(1111, "Photon Detector");
15    gMC->Gdman(18, 4, "MAN");
16 }