00001 {
00002
00003
00004
00005
00006 gROOT->Reset();
00007 gROOT->SetStyle("Default");
00008 TControlBar *bar = new TControlBar("vertical", "Control Panel");
00009 bar->AddButton("Load STAR libraries",".x Load.C", "Load the share libraries with STAR base classes defintions");
00010 bar->AddButton("Print view port size", ".x Get3DSize.C", "Print the total size of all 3D axice");
00011 bar->AddButton("Read StEvent",".x EventRead.C(1,\"gtrack.event.root\")","Read StEvent objects from root file");
00012 bar->AddButton("Make StEvent with tfs",".x bfc.C(1,\"gstar tfs\")","Make StEvent objects with tfs");
00013 bar->AddButton("Make StEvent with trs",".x bfc.C(1,\"gstar trs\")","Make StEvent objects with trs");
00014 bar->AddButton("Make StEvent with tss",".x bfc.C(1,\"gstar tss\")","Make StEvent objects with tss");
00015 bar->AddButton("Draw ALL TPC hits",".x DrawTpcHits.C","Draw the global tracks by its helix object");
00016 bar->AddButton("Draw tracks",".x DrawTrackTpcHits.C","Draw the global tracks by its helix object");
00017 bar->AddButton("Draw g2t_tpc_hits",".x HitsDraw.C","Read STAF tables from XDF file and draw \"g2t_tpc_hits\" hits");
00018 bar->AddButton("Add Axice","St_PolyLine3D::Axis();","Add 3D axice to the cuurent TPad view");
00019 bar->AddButton("Shape demo",".x shapes.C","Run the \"ROOT\" GEANT shape demo");
00020 bar->AddButton("Help on Demos",".x EventDemosHelp.C", "Click Here For Help on Running the Demos");
00021 bar->AddButton("browser", "{b = new TBrowser(\"HALL\");}", "Start the ROOT Browser");
00022 bar->Show();
00023 gROOT->LoadMacro("PadControlPanel.C");
00024 gROOT->SaveContext();
00025 }
00026