90 likes | 201 Views
Status of BFEM Event Display N.Lumb and G. Spandre I.N.F.N.- Pisa. Improvements since the last meeting. Seems to be well received and widely used in the US, hence many changes driven by user requests. Redesigned canvas – added top views.
E N D
Status of BFEM Event Display N.Lumb and G. Spandre I.N.F.N.- Pisa 1 Italian software meeting, Pisa, 11-10-2001
Improvements since the last meeting Seems to be well received and widely used in the US, hence many changes driven by user requests. • Redesigned canvas – added top views. • Click and inspect capability for all objects on canvas. • Added tkr reconstruction. • Display only strips/logs perp. to canvas plane in 2-D views. • Display tkr layers – and show position of missing ladders. • Indicate position of SuperGlast absorber layers. • Colour-coded energy scale for CAL, ACD and XGT. • Implemented updated pedestals for CAL. • Handling of G4Sim files. • TOT plots in analysis histos. 2 Italian software meeting, Pisa, 11-10-2001
Event display drawing canvas 3 Italian software meeting, Pisa, 11-10-2001
Latest developments • Transition from interpreted to compiled code. • Complete re-think of program design. • Largely transparent to the user, except: • Faster • More robust (hopefully – still a few bugs!) • Easier for us to maintain. • Runs under Linux ONLY! 4 Italian software meeting, Pisa, 11-10-2001
main EDControl EDHistos EDGui DisplayCanvas EDAnalysis TkrDisplay CALDisplay ACDDisplay Program Structure 5 Italian software meeting, Pisa, 11-10-2001
main EDControl EDHistos EDGui DisplayCanvas EDAnalysis TkrDisplay CALDisplay ACDDisplay Event Display main classes Main: ROOT set-up, starts overall control and Cint session (TRint). EDControl: file management (TFile), event control, response to GUI commands, overall control of display (using TCanvas) and analysis. DisplayCanvas: gets one event from file and displays on the canvas. Controls display sub-classes (TkrDisplay, etc.) Intensive use of TShape and TNode. EDGui: Draws GUI using ROOT GUI classes (TFrame, TGButton, TGMenuBar, etc.) Responds to GUI events via ROOT ProcessMessage method. EDAnalysis: Analysis of raw data and display via EDHistos class. 6 Italian software meeting, Pisa, 11-10-2001
Graphical user interface TGMainFrame TGMenuBar TGGroupFrame TGTextEntry TGButton TGFileDialog 7 Italian software meeting, Pisa, 11-10-2001
TkrFrameNode AllHitsXNode AllHitsYNode TkrLayerNode TkrLayerNode sgLayerNode sgLayerNode TkrHitNode TkrHitNode TkrReconHitNode TkrReconHitNode Drawing node structure Set up nodes for detector outline once only Add raw and recon hit nodes event by event (delete old nodes!) Exploit TNode::SetVisibility() to hide nodes. 8 Italian software meeting, Pisa, 11-10-2001
Future plans • Re-design of GUI, e.g. simpler event selection using TGSlideBar. • Fix memory leak problems with more elegant node tree scheme. • Compare analysis part against RootAnalysis package. • Allow easy specification of cuts derived from analysis histos. • Implement CAL recon. • Port to Windows – create ROOT shared library? • Support of XML detector geometry files. • Import to SLAC repository under CMT. 9 Italian software meeting, Pisa, 11-10-2001