The DELPHI Run Database Presenter

The DELPHI Run Database Presenter

DELPHI Collaboration DELPHI 94-2 DAS 146 January 1994 The DELPHI Run DataBase presenter R. Schulze2, B. Schulze1,2 ABSTRACT The DELPHI Run Database(DRDB) Presenter is a software tool to monitor the characteristics of the data taking contained in this database of the CERN DELPHI LEP experiment. The pertinent information residing on the DRDB data base is updated along with the experiment running. The Presenter enables the user to con- sult this information as a function of time, by means of simple listing, summaries or more elaborated histograms analysis. The DRDB Presenter is running under the VMS environment with an X based user interface developed using OSF/Motif, the interface builder VUIT and the CERN library HIGZ graphics tools. 1Universita di Roma II and INFN, Tor Vergata, I-00173 Rome, Italy 2 LAFEX/CBPF/CNPq, Rua Dr. Xavier Sigaud, 150, Urca, CEP 22290, Rio de Janeiro, Rj, Brazil 1 - Introduction In the data acquisition environment of an High Energy Physics detector it is very use- ful to give the user a natural access to the needed information, in particular when there is the stress of a potential problem. As other tools of the DELPHI experiment, the DRDB Pre- senter has been developed to provide the user with a friendly environment to follow the evolution of the data taking operation. The DRDB keeps track of runs recorded and of the status of process of the physics data.As such it is a bookkeeping data base containing information on the characteristics of the data taking such as run number, run start time, LEP fill number, magnet current, etc... The DRDB Presenter provides the user with the facilities to consult its content, make listings according to different formats, analysis through plots and statistics, make print-outs and refer to an on-line help. The implementation of this presenter is based on: a) already existing tools to manipulate the bookkeeping data base and the run time library of access routines, and b) new tools defined according to the user’s need. An X based interface was added integrating analysis plots & statistics, listing and an on-line help. With that interface one can navigate through the database and get a sensible follow up of the behavior of the data taking by tracing back and correlating problems. Section 2 presents on which basis the presenter was conceived, focusing on its pur- pose and its planning. Section 3 describes the software implementation after a brief descrip- tion of DELPHI On-line cluster, the structure of the User Interface, the languages, packages and tools used and how they were integrated. It also presents some examples of the current implementation. In section 4, we draw preliminary conclusion from the experience gained in running Version 1.0 in the experiment site. 2 Author 2 - Software conception 2.1 Software purpose The purpose of the DRDB Presenter is to provide a standard X11 framework to the former DRDB so that it could run at DELPHI on-line cluster and the display can be made on any remote X11 display connected through network, add new tools to it using graphics visualization, and provide the user with an easy-to-use package. 2.2 Design goals The DRDB Presenter was designed on a structured analysis basis to add new tools and also to incorporate the tools that already existed. The interface was planned on a “GUI” way (Graphical User Interface) characterized by: pull-down menus, multiple windows, icons, and mouse-driven commands, which implies thinking in an object-oriented approach. This software should be modular to allow easy portability. DRDB Plot details Display plots DRDB Plots Plots displayed Run,Fill,Date, details Detail of Generate option analysis analysis Statistics User’s Verify User’s Verify USER command command details Statistics Display displayed is valid of statistics USER command valid option Details of option Generate list listings Details Listings Listings option Display displayed listings List DRDB details DRDB Figure 2.1 An expansion of the DFD Author 3 3 - Software implementation 3.1 DELPHI On-line cluster The main on-line computer capacity is provided by a Local Area VAX Cluster run- ning VMS operating system. The principle component of the On-line cluster consists of two main frames VAX 6510 and VAX 8700 which are dedicated to handle the data flow from the central readout. By run By fill Plot / Listing Display By date X Protocol DecNet TCP/IP Plot / DRDB List Presenter DRDB file Write Data characteristics of the data physics CERN taking data LEP DELPHI Experiment Figure 3.1 DELPHI data flow for DRDB Presenter 3.2 Software Architecture For the implementation of the software, it was necessary to integrate different envi- ronments, following the short description below. For the user interface, it was decided to use OSF/Motif, generated with a Interface Builder, DEC-VUIT (Visual User Interface Tool). The main program which starts the appli- cation and runs as the Xclient is written in C. The routines to produce the plots display were 4 Author written in FORTRAN 77, using calls to the HIGZ/CERNLIB. All the other routines for checking, validation, etc were written in C. UIL Motif Toolkit XToolkit HIGZ XLibrary DRDB Toolkit Former DRDB VAX-VMS Requests/XEvents to /from XServer Display Figure 3.2 Hierarquical dependence of the DRDB Presenter In the present implementation, the interface is composed of two basics windows: one for the interface itself and another one for the plots. For the interface, it was created one main window using Motif widgets while for the plots, it was used the HIGZ default win- dow. The interface is an Xserver process running on the Xdisplay, talking to its correspond- ing Xclient process running on the cluster where the database resides. This client-server processing is already inherent to the usage of the Motif/X11 and the transport is either TCP/IP or DECnet. Callbacks Motif Interface Motif Motif Main Program (.UIL) string program (.C) struct System Calls Routines per RUN (.C) Routines per FILL (.C) DRDB List (DCL) DRDB Toolkit (.C) $DESCRIPTOR DRDB (.FOR) $DESCRIPTOR $DESCRIPTOR Routines make plot (.FOR) Figure 3.3 Diagram of routines Author 5 The basic integration of the different pieces and tools is based on the possibility to pass strings between these different parts. These strings can be seen as objects which con- tain basic pieces of information and which are either concatenated or split accordingly. To manipulate strings between C and FORTRAN and vice-versa, the $DESCRIPTOR (ref) structure is used, which is similar to an equivalent X structure which translates strings from the UIL to C. The basic fields in these structures are size, string and string type. They are needed since strings are seen differently by each language. While strings are used to inte- grate C and FORTRAN, they are also used to integrate the existing tools under DCL(VMS). For example, to implement the LIST module, command strings are issued with system calls, and the returned strings are send to a file, for print/list on the DRDB screen. 3.3 The structure of the User Interface Six basic modules are proposed: ■ DESCRIPTION: Display the description of the DRDB file. At the moment, it is implemented using the “label widget” from Motif which leads it to be static. ■ LIMITS: Selection of either run, fill intervals. Currently, only run limits is implemented. Fill limits and Date Limits are under implementation. ■ LIST: Lists the contents of the DRDB file. This module is being implemented as similar as possible to the one present in the former DRDB except that now the display is on an X11 window and the commands are available in a pull down menu. ■ ANALYSIS: Analysis of the run data either through “Plots” or “Statistics”. Pres- ently, only the module “Plots” is implemented. ■ PRINT: printout of the plots and of the listing. ■ HELP: Information on the DRDB Presenter such as how to use the presenter and how the presenter is organized. 3.4 Current implementation Presently, there is a version being tested at DELPHI with the appearance as shown by the next figures. 6 Author a d e c b Figure 3.4 User Interface Windows window a: Selection of limits to be used both by plot and by list modules; window b: Set first limit. In this example, it is showed the First Run window; window c: On-line help; window d: Plotting and/or listing; window e: An example of a plot. 3.4.1 Options available The following options are available for PLOTS: ■ a) DAS ■ Make plots for the DAS family according the interval given by the first & last run.The results are given per run or per fill, depending on the plot. For some plots average is also given. #TRIG/RUN Make plots with the number of triggers per run within the given interval; #TRIG/FILL Make plots with the number of triggers per fill within the given interval; Author 7 #TRIG/FILE Make plots with the number of triggers per file within the given interval. It also gives the average of the number of triggers per file; RUN DURATION Make plots for the duration of the run. The result is given in minutes. It also gives the average, in minutes, of the duration of the runs within the given interval; #FILES/RUN Make plots with the number of files per run. It also gives the average of the number of files per run; DAS Rate Make plots for the DAS Rate per fill. The result is given in Hz. It also gives the average, in Hz, of the DAS Rate within the given interval; RUN_LIVE Make plots for the Run_Live per run within a given interval; ■ b) LEP ■ Make plots for the LEP family according the interval given by the first & last run.The results are given per run or per fill, depending on the plot.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    13 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us