Updated FMD visualization (C.Holm)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2004 10:20:02 +0000 (10:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2004 10:20:02 +0000 (10:20 +0000)
macros/DrawFMD.C
macros/ViewFMD.C

index 72744cc..49808a7 100644 (file)
@@ -2,7 +2,7 @@ void DrawFMD()
 {
    gMC->Gsatt("*", "seen", -1);
    gMC->Gsatt("alic", "seen", 0);
-   gROOT->LoadMacro("ViewFMD.C");
+   gROOT->LoadMacro("FMD/ViewFMD.C");
    gInterpreter->ProcessLine("ViewFMD()");
    gMC->Gdopt("hide", "on");
    gMC->Gdopt("shad", "on");
@@ -10,7 +10,9 @@ void DrawFMD()
    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();
 }
index 306545c..a38b32e 100644 (file)
@@ -1,7 +1,18 @@
 void ViewFMD()
 {
-   gMC->Gsatt("FMD0","seen",1);
-   gMC->Gsatt("FMD1","seen",1);
-   gMC->Gsatt("FMD2","seen",1);
-   gMC->Gsatt("FMD3","seen",1);
+   gMC->Gsatt("FMD1","seen",0);
+   gMC->Gsatt("FMD2","seen",0);
+   gMC->Gsatt("FMD3","seen",0);
+   gMC->Gsatt("FRGI","seen",0);
+   gMC->Gsatt("FRGO","seen",0);
+   gMC->Gsatt("FVFI","seen",0);
+   gMC->Gsatt("FVFO","seen",0);
+   gMC->Gsatt("FVBI","seen",0);
+   gMC->Gsatt("FVBO","seen",0);
+   gMC->Gsatt("FACI","seen",1);
+   gMC->Gsatt("FACO","seen",1);
+   gMC->Gsatt("FPTI","seen",1);
+   gMC->Gsatt("FPTO","seen",1);
+   gMC->Gsatt("FPBI","seen",1);
+   gMC->Gsatt("FPBO","seen",1);
 }