menu->AddButton("PMD shaded", ".x DrawPMD.C","Draw a shaded view of PMD");
menu->AddButton("RICH shaded", ".x DrawRICH.C","Draw a shaded view of RICH");
menu->AddButton("SHIL shaded", ".x DrawSHIL.C","Draw a shaded view of SHIL");
- menu->AddButton("START shaded", ".x DrawSTART.C","Draw a shaded view of START");
+ menu->AddButton("START shaded", ".x DrawSTART.C","Draw a shaded view of START");
menu->AddButton("TOF shaded", ".x DrawTOF.C","Draw a shaded view of TOF");
menu->AddButton("TRD shaded", ".x DrawTRD.C","Draw a shaded view of TRD");
menu->AddButton("ZDC shaded", ".x DrawZDC.C","Draw a shaded view of ZDC");
+ menu->AddButton("VZERO shaded", ".x DrawVZERO.C","Draw a shaded view of VZERO");
menu->Show();
}
menu->AddButton("TOF tree", "((TGeant3*)gMC)->Gdtree(\"FBAR\")","Shows the Geant tree for the TOF");
menu->AddButton("TRD tree", "((TGeant3*)gMC)->Gdtree(\"trd\")","Shows the Geant tree for the TRD");
menu->AddButton("ZDC tree", "((TGeant3*)gMC)->Gdtree(\"zdc\")","Shows the Geant tree for the ZDC");
+ menu->AddButton("V0R tree", "((TGeant3*)gMC)->Gdtree(\"V0RI\")","Shows the Geant tree for the V0R");
+ menu->AddButton("V0L tree", "((TGeant3*)gMC)->Gdtree(\"V0LE\")","Shows the Geant tree for the V0L");
menu->Show();
}
--- /dev/null
+void DrawVZERO()
+
+{
+ gMC->Gsatt("*", "seen", -1);
+ gMC->Gsatt("alic", "seen", 0);
+ gROOT->LoadMacro("ViewVZERO.C");
+ gInterpreter->ProcessLine("ViewVZERO()");
+ gMC->Gdopt("hide", "off");
+ gMC->Gdopt("shad", "off");
+ gMC->Gsatt("*", "fill", 7);
+ gMC->SetClipBox(".");
+ gMC->DefaultRange();
+
+// Vues de la partie gauche :
+
+// gMC->Gdraw("alic", 30, 0, 0, -25, 10, 0.2, 0.2);
+
+// Vues de la partie droite :
+
+// gMC->Gdraw("alic", 0, 0, 0, 10, 10, 0.2, 0.2);
+
+
+ gMC->Gdraw("alic", 90, 0, 0, 90, 9, 0.92, 0.2 );
+
+ gMC->Gdhead(1111, "VZERO Detector");
+
+
+}
--- /dev/null
+void ViewVZERO()
+{
+
+ gMC->Gsatt("V0RI","seen",0);
+
+ gMC->Gsatt("V0CA","seen",1);
+ gMC->Gsatt("V0IR","seen",1);
+ gMC->Gsatt("V0ER","seen",1);
+
+ gMC->Gsatt("V0R0","seen",0);
+ gMC->Gsatt("V0R1","seen",1);
+ gMC->Gsatt("V0R2","seen",1);
+ gMC->Gsatt("V0R3","seen",1);
+ gMC->Gsatt("V0R4","seen",1);
+ gMC->Gsatt("V0R5","seen",1);
+ gMC->Gsatt("V0R6","seen",1);
+
+}
+
+