menu.txt file removed.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 1999 10:21:04 +0000 (10:21 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Jun 1999 10:21:04 +0000 (10:21 +0000)
html/menu.txt [deleted file]

diff --git a/html/menu.txt b/html/menu.txt
deleted file mode 100644 (file)
index fb8eccc..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-void menu(const char *config="Config.C")
-{
-   TControlBar *menu = new TControlBar("vertical","gAlice menu");
-   menu->AddButton("    Help to run gAlice    ","AliceHelp()", "Explains how to use gAlice menus");
-   menu->AddButton("Run",             "gAlice->Run()","Process an Alice event");
-   menu->AddButton("Run Lego",        "gAlice->RunLego()","Special run to generate the radl/absl lego plots");
-   menu->AddButton("Top view",        "DrawTopView()","Draw Top view (cut) of Alice");
-   menu->AddButton("Side view",       "DrawSideView()","Draw Side view (cut) of Alice");
-   menu->AddButton("Front view",      "DrawFrontView()","Draw Front view (cut) of Alice");
-   menu->AddButton("Menu Trees",      ".x DrawTrees.C","Menu to display the Alice Geant trees");
-   menu->AddButton("Menu Pictures",   ".x DrawPictures.C","Menu to display detectors in shaded mode");
-   menu->AddButton("Hide ON",         "SetHide(1)","Activate drawing option HIDE");
-   menu->AddButton("Hide OFF",        "SetHide(0)","DeActivate drawing option HIDE");
-   menu->AddButton("Shading ON",      "SetShade(1)","Activate drawing option SHAD");
-   menu->AddButton("Shading OFF",     "SetShade(0)","DeActivate drawing option SHAD");
-//   menu->AddButton("RayTracing ON",   "SetRayTracing(1)","Activate drawing option RAYT");
-//   menu->AddButton("RayTracing OFF",  "SetRayTracing(0)","DeActivate drawing option RAYT");
-   menu->AddButton("Box Clip ON",     "SetBoxClip(1)","Activate clipping box");
-   menu->AddButton("Box Clip OFF",    "SetBoxClip(0)","DeActivate clipping box");
-//   menu->AddButton("Parallel view",   "SetViewType(1)","Set Parallel view");
-//   menu->AddButton("Perspective view","SetViewType(0)","Set Perspective view");
-   gROOT->SaveContext();
-   gAlice->Init(config);
-   geant3->InitHIGZ();
-   menu->Show();
-}
-
-void AliceHelp()
-{
-   gSystem->Exec("nedit AliceHelp.C &");
-}
-
-void SetRange()
-{
-   THIGZ *higz = (THIGZ*)gROOT->GetListOfCanvases()->FindObject("higz");
-   if (higz) higz->Range(0,0,20,20);
-}
-
-void DrawTopView()
-{
-   printf("Generating TOP view of Alice. Be patient one minute!\n");
-   SetRange();
-   geant3->Gdrawc("ALIC",2,0,10,10,0.01,0.01);
-}
-
-void DrawSideView()
-{
-   printf("Generating SIDE view of Alice. Be patient one minute!\n");
-   SetRange();
-   geant3->Gdrawc("ALIC",1,0,10,10,0.01,0.01);
-}
-
-void DrawFrontView()
-{
-   printf("Generating FRONT view of Alice. Be patient one minute!\n");
-   SetRange();
-   geant3->Gdrawc("ALIC",3,0,10,10,0.01,0.01);
-}
-
-void SetHide(Int_t opt)
-{
-   if (opt) {
-      printf("Drawing option HIDE is ACTIVE!\n");
-      geant3->Gdopt("HIDE","ON");
-   } else {
-      printf("Drawing option HIDE is NOT ACTIVE!\n");
-      geant3->Gdopt("HIDE","OFF");
-   }
-}
-
-void SetShade(Int_t opt)
-{
-   if (opt) {
-      printf("Drawing option SHAD is ACTIVE!\n");
-      geant3->Gdopt("SHAD","ON");
-   } else {
-      printf("Drawing option SHAD is NOT ACTIVE!\n");
-      geant3->Gdopt("SHAD","OFF");
-   }
-}
-
-void SetRayTracing(Int_t opt)
-{
-   if (opt) {
-      printf("Drawing option RAYT is ACTIVE!\n");
-      geant3->Gdopt("RAYT","ON");
-   } else {
-      printf("Drawing option RAYT is NOT ACTIVE!\n");
-      geant3->Gdopt("RAYT","OFF");
-   }
-}
-
-void SetBoxClip(Int_t opt)
-{
-   if (opt) {
-      printf("Clipping BOX is ACTIVE!\n");
-      geant3->SetClipBox("*", 0, 1000, -1000, 1000, -1000, 1000);
-   } else {
-      printf("Clipping BOX is NOT ACTIVE!\n");
-      geant3->SetClipBox(".");
-   }
-}
-
-void SetViewType(Int_t opt)
-{
-   if (opt) {
-      printf("Setting PARALLEL view!\n");
-      geant3->Gdopt("PROJ","PARA");
-   } else {
-      printf("Setting PERSPECTIVE view!\n");
-      geant3->Gdopt("PROJ","PERS");
-   }
-}