{ bar = new TControlBar("vertical", "DGS coincidence analysis"); bar->AddButton("load GSUtil",".L GSUtil.cc++"); bar->AddButton("load test.root file","dload(\"test.root\")"); bar->AddButton("load ref.root file","dload(\"ref.root\")"); bar->AddButton("mkcanvas","mkcanvas()"); bar->AddButton("display anyehi", "d1(\"anyehi\")"); bar->AddButton("display hit pattern", "d1(\"hitpat\",0,600)"); bar->AddButton("display gehit pattern", "d1(\"hitpatGe\",0,600)"); bar->AddButton("display gate 1063", "gate(\"gg\",\"x\",1063,3,0.40)"); bar->AddButton("display gate 570", "gate(\"gg\",\"x\",570,3,0.30)"); bar->AddButton("display gate 1173", "gate(\"gg\",\"x\",1173,3,0.4)"); bar->AddButton("display gate 1333", "gate(\"gg\",\"x\",1333,3,0.4)"); bar->AddButton("display tp", "pjy(\"gg\",\"tp\",0,2000)"); bar->AddButton("ge movie mode 2", "md1(\"1-110\",\"ehi\",10,2200,2)"); bar->AddButton("ge movie mode 3", "md1(\"1-110\",\"ehi\",10,2200,3)"); bar->AddButton("bgo movie mode 2", "md1(\"1-110\",\"ebgo\",10,2200,2)"); bar->AddButton("bgo movie mode 3", "md1(\"1-110\",\"ebgo\",10,2200,3)"); bar->AddButton("sumehi", "d1(\"sumehi\",10,2200)"); bar->AddButton("tac", "d1(\"tac\")"); bar->AddButton("rate", "d1(\"rate\",0,600)"); bar->AddButton("ehical", "ehialign(\"DUMMY\",\"ehi.cal\",1.0, 1.0, 6, \"207Bi\",360)"); bar->AddButton("quit", ".q"); bar->Show(); }