1 / 12

L1CAL Online Software

L1CAL Online Software. Philippe Laurens 31-May-2005. Run IIb L1 Calorimeter Trigger Control Path. …. …. L1Cal Expert Programs. ADF Crate #1 of 4 VME-6U. ADF Crate #4 of 4 VME-6U. V.I. Slave. ADF #20. ADF #20. V.I. Slave. ADF #1. ADF #20. …. L1Cal TCC. L1Cal Comm.

dnegron
Download Presentation

L1CAL Online Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. L1CAL Online Software Philippe Laurens 31-May-2005

  2. Run IIb L1 Calorimeter Trigger Control Path … … L1Cal Expert Programs ADF Crate #1 of 4 VME-6U ADF Crate #4 of 4 VME-6U V.I. Slave ADF #20 ADF #20 V.I. Slave ADF #1 ADF #20 … L1Cal TCC L1Cal Comm. Crate VME-9U Bit3 VME/SCL (to TAB) Bit3 V.I. Master (to ADF) SCL Distributor(to ADF) V.I. Master (to VRB) TFW SCL L3 Ethernet COOR … … L1Cal Readout Crate VME-9U TAB #1 TAB #8 GAB V.I. Slave VRB VRB VRBC SBC TAB/GAB Crate Custom-9U Monitoring Clients L2 Optical Fiber Splitters to L2Cal Crate P. Laurens Rev: 31-May-05 (ALS, PAL)

  3. L1CAL TCC Control Software L1CAL Comm. Crate Bit3 Expert (e.g. at MSU) L1Cal TCC Remote Console (Copy of Screen Output) L1Cal IIb Graphical User Interface L1Cal IIb Graphical User Interface (Python) L1Cal IIb Trigger Control Program (C++) L1Cal_IIb_Gui L1Cal_IIb_Gui L1Cal_IIb_Tcc XML over ITC XML over ITC ASCII over ITC Host Computers COOR Monitoring Applications Binary or XML over ITC ASCII commands over ITC 31-May-05

  4. L1Cal IIb Control Software • Split • Control Code vs. GUI • Operating System Independent • Windows -> Linux • Python (GUI) & C++ (Control) • Use D0 products ITC and Thread_Util also ACE (under ITC) and Xerces (for XML)

  5. L1Cal IIb Control Software • L1Cal_IIb_TCC Control Program • Use C++ for robustness and execution speed • Control and monitor both ADF and TAB/GAB • Only software actually performing VME IOs • Interface presenting one L1CAL system to COOR • Serve L1CAL Monitoring Info to Host Monit Clients • Leveraged current L1FW+L1CAL TCC code • Allow local command files (python scripts from GUI) • Keeps a Logfile of all actions

  6. L1Cal IIb Control Software • L1Cal_IIb_Gui • New for run IIb • Use Python with Tkinter • Zero, One, or more GUI connected at a given time • Not in the path of data taking, COOR control, etc • Not in the path of monitoring operation • Run GUI on L1Cal TCC and/or remote computer • GUI plus extensions with external python command files (arbitrary complex, e.g. ADF-2 production test)

  7. L1Cal IIb Control Software • Extensions with Python Command Files • Call functions to perform any action the GUI supports: R/W, Config FPGA, program DAC,... • Receive reply from Control Program (e.g. value read) • Recursive call to lower level command files while passing parameters (e.g. card address) • MSU Test Stand: Control Waveform Generator and Multiplexer • Allow interactive user input (e.g. enter card S/N) • Write test logfiles, or any other files e.g. plot files • Execute OS commands, e.g. view plots

  8. Control of TAB/GAB Hardware/Software For Commissioning/Tests • Current and future Nevis Test programs can be used for tests or diagnostics (only) For Physics Running • Call the same C code used by Test programs to configure, initialize, program the TAB/GAB under COOR control • Work under way…

  9. Interface to COOR • Need to define the syntax to program run dependent resources (references, parameters, thresholds, etc) • Most/All such resources are in TAB/GAB • Philippe can work with Mike (or?) to produce a document defining the outside view of the system to COOR/Scott

  10. Interface to COOR • Ref. current L1Cal System: http://www.pa.msu.edu/hep/d0/ftp/tcc/coor/coor_to_tcc_l1ct_message_syntax.txt • E.g. How COOR sets a reference set “L1CT_Ref_Set EM_Et_Ref_Set 0 TT_Eta(-20:20) TT_Phi(1:32) Value 10.0”

  11. Monitoring • Trigger Towers (ADF-2) • Output to TAB • L1Cal objects (TAB/GAB) • What is useful, desirable, doable? • Base idea: read event data every ~5 s • Oversampled data (ADF-2) • ADF-2 raw oversampled data For special studies and calibration/verification

  12. Appendix: Example L1Cal GUI dialogs

More Related