18 June 2001SCT/Pixel ROD Software Workshop1 SCTDAQ- a brief summary John Hill University of Cambridge.

Slides:



Advertisements
Similar presentations
24 September 2002Paul Dauncey1 Trigger issues for the CALICE beam test Paul Dauncey Imperial College London, UK.
Advertisements

June 19, 2002 A Software Skeleton for the Full Front-End Crate Test at BNL Goal: to provide a working data acquisition (DAQ) system for the coming full.
April 2006Jean-Sébastien GraulichSlide 1 DAQ Status o Goal for BTF o Status o First results o To be done.
MICE CM15 June 2006Jean-Sébastien GraulichSlide 1 DAQ for BTF o BTF Overview o Hardware Overview o DAQ Software Description o What’s next o Summary Jean-Sebastien.
Basic Input/Output Operations
1 August 2000ATLAS SCT and Pixel Off-Detector PDR 1 SCT ROD Crate DAQ Status and Schedule John Hill University of Cambridge.
Uli Schäfer 1 JEM1: Status and plans power Jet Sum R S T U VME CC RM ACE CAN Flash TTC JEM1.0 status JEM1.1 Plans.
Operating Systems.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
1 Chap 10 Malicious Software. 2 Viruses and ”Malicious Programs ” Computer “Viruses” and related programs have the ability to replicate themselves on.
Write today’s date and title in the front of your book. Underline it.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
5 March DCS Final Design Review: RPC detector The DCS system of the Atlas RPC detector V.Bocci, G.Chiodi, E. Petrolo, R.Vari, S.Veneziano INFN Roma.
06/15/2009CALICE TB review RPC DHCAL 1m 3 test software: daq, event building, event display, analysis and simulation Lei Xia.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Project Management November.
Designing a HEP Experiment Control System, Lessons to be Learned From 10 Years Evolution and Operation of the DELPHI Experiment. André Augustinus 8 February.
Vladimir Frolov for Torino group. Experimental activities: The system for testing the MRPC in the Torino INFN laboratory has been fully mounted and checked;
Imperial College Tracker Slow Control & Monitoring.
Peter W. PhillipsSCT/Pixel RODDAQ workshop, UCL, July 2002 SCT Needs for Full User Evaluation Peter W Phillips Rutherford Appleton Laboratory.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
14 Sep 2005DAQ - Paul Dauncey1 Tech Board: DAQ/Online Status Paul Dauncey Imperial College London.
Status of NA62 straw electronics and services Peter LICHARD, Johan Morant, Vito PALLADINO.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
1 4 July 2006 Alan Barr - SCT DAQ Experience and plans from running the (SCT) DAQ HEP Setting things up Calibration mode operations Physics mode operation.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Introduction Advantages/ disadvantages Code examples Speed Summary Running on the AOD Analysis Platforms 1/11/2007 Andrew Mehta.
Controls EN-ICE Finite States Machines An introduction Marco Boccioli FSM model(s) of detector control 26 th April 2011.
1 Control Software (CAT) Introduction USB Interface implementation Calorimeter Electronics Upgrade Meeting Frédéric Machefert Wednesday 5 th May, 2010.
Chapter 5 Information Systems in Business Software
13-Nov-15 (1) CSC Computer Organization Lecture 7: Input/Output Organization.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
Ideas about Tests and Sequencing C.N.P.Gee Rutherford Appleton Laboratory 3rd March 2001.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
6th Feb 2003SCT DAQ analysis development 1 SCT analysis framework Work by:Alan Barr, Matt Palmer, Dave Robinson Almost all slides originally produced by.
4 th Workshop on ALICE Installation and Commissioning January 16 th & 17 th, CERN Muon Tracking (MUON_TRK, MCH, MTRK) Conclusion of the first ALICE COSMIC.
News on GEM Readout with the SRS, DATE & AMORE
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
DAQ Status for cosmic-ray test in RAL Hideyuki Sakamoto MICE Phone meeting 12 th July 2007 Contents Status Setup for cosmic-ray test bench Schedule.
IPHC - DRS Gilles CLAUS 04/04/20061/20 EUDET JRA1 Meeting, April 2006 MAPS Test & DAQ Strasbourg OUTLINE Summary of MimoStar 2 Workshop CCMOS DAQ Status.
28 June 2004ATLAS Pixel/SCT TIM FDR/PRR1 TIM tests with ROD Crate John Hill.
Sensor testing and validation plans for Phase-1 and Ultimate IPHC_HFT 06/15/ LG1.
Peter W. PhillipsATLAS SCT Week, CERN, September/October 2002 Electrical Tests of SCT modules using RODs Peter W Phillips Rutherford Appleton Laboratory.
GLAST LAT Project CU Beam Test Workshop 3/20/2006 C. Sgro’, L. Baldini, J. Bregeon1 Glast LAT Calibration Unit Beam Test Status Report on Online Monitor.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
Chapter – 8 Software Tools.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
LHC CMS Detector Upgrade Project RCT/CTP7 Readout Isobel Ojalvo, U. Wisconsin Level-1 Trigger Meeting June 4, June 2015, Isobel Ojalvo Trigger Meeting:
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
Event Management. EMU Graham Heyes April Overview Background Requirements Solution Status.
1 4 July 2006 Alan Barr - SCT DAQ Experience and plans from running the (SCT) DAQ at SR1 HEP Cosmics setup Running modes Problems Future.
ATLAS SCT/Pixel Off Detector Workshop, UCL, 15 June ROD Test Stand Lukas Tomasek LBL
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
DHH Status Igor Konorov TUM, Physics Department, E18 PXD DAQ workshop Münzenberg –June 9-10, 2011.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
DHH at DESY Test Beam 2016 Igor Konorov TUM Physics Department E18 19-th DEPFET workshop May Kloster Seeon Overview: DHH system overview DHE/DHC.
Chapter Objectives In this chapter, you will learn:
DAQ for ATLAS SCT macro-assembly
Online Software Status
Programmable Logic Controllers (PLCs) An Overview.
Chap 10 Malicious Software.
Tracker Software Status
Chap 10 Malicious Software.
Introduction to BIOS Prof. Shamim Ahmad Hakim
Presentation transcript:

18 June 2001SCT/Pixel ROD Software Workshop1 SCTDAQ- a brief summary John Hill University of Cambridge

18 June 2001SCT/Pixel ROD Software Workshop2 Developed for readout of a “few” modules (up to ~20) in institute labs, PS irradiations, systemtest and (from 2000) Test Beam. Designed to be modular... –libraries for VME modules developed for general-purpose use –these libraries also independent of each other...and portable –code in ANSI-C (for libraries) and C++ (for ROOT macros) –ROOT for menus and histogram presentation is available on all likely platforms Main authors: Lars Eklund, Gareth Moorhead, Peter Phillips and John Hill

18 June 2001SCT/Pixel ROD Software Workshop3 Main features of a typical SCTDAQ configuration –Windows 95, 98 or NT –NI-VXI interface (though BIT3 in also in use) –Visual C++ (needed to compile the software) –VME Hardware readout modules (all 6U modules) CLOAC (UCL) - Master Clock and Control SLOG (RAL) - Slow Commands to ABCD chips MuSTARD - (RAL/Cambridge) - readout of data from ABCDs SCTLV (Prague) - Low Voltage power supply, and Hard Reset/SELECT signals to front ends. [ SCTHV (Krakow) - High Voltage power supply ] –for optical rather than electrical readout, a BiLED (Oxford) or OpTIF (Cambridge) VME module is required.

18 June 2001SCT/Pixel ROD Software Workshop4 One set of MuSTARD, SLOG, CLOAC modules can read out 6 double-sided SCT detector modules. However, the software is designed to accommodate multiple readout modules, so >6 detector modules can be handled. However, readout density is low (a VME crate would be filled if reading out 12 detector modules), so the hardware is strictly aimed at small-scale (<20 detector module) readouts. SCTDAQ was developed within this hardware framework - i.e. the software was neither designed for, nor has been tested in, large-scale systems.

18 June 2001SCT/Pixel ROD Software Workshop5 Example: CERN systemtest

18 June 2001SCT/Pixel ROD Software Workshop6 Basic SCTDAQ structure (1) ST - simple command line interface for testing and environments without root STLIB - ABCD chip handling functions - map detector modules to VME modules using information from configuration file - write results to ASCII N-tuple for “offline” analysis - high level operations (e.g. set up, generate and readout triggers) MuSTARD etc. - hardware libraries for VME modules These parts of SCTDAQ are fully portable

18 June 2001SCT/Pixel ROD Software Workshop7 Basic SCTDAQ structure (2) All libraries in previous diagram are in ANSI-C Though main platforms used are Windows 95 and NT, EP/LX (Real Time UNIX) on RAID processor has been used. Hardware libraries were also used in RD13 DAQ (DAQ -2??) in test beam work up to VME i/o in well-defined locations, and simple access only, so simple to move to alternative interface (as long as memory- mapped approach is used). Structure should allow insertion and replacement of new libraries in a clean way (e.g. already done with BiLED==> OpTIF). This should permit ROD and TIM software to be included.

18 June 2001SCT/Pixel ROD Software Workshop8 Basic SCTDAQ structure (3) Requires root environment

18 June 2001SCT/Pixel ROD Software Workshop9

18 June 2001SCT/Pixel ROD Software Workshop10 Basic SCTDAQ structure (4) ST.cpp - basic root user macro - loads stdll, optionally initialises the VME interface, defines menu buttons, and some of the code for the menu functions. STDLL - includes all of stlib and hardware libraries, PLUS C++ code for: majority of menu functions histogram definitions and filling “bursts” of triggers curve fitting some CLOAC functionality other “higher level” functions Organisation of code not ALWAYS 100% logical!

18 June 2001SCT/Pixel ROD Software Workshop11 A few words on root Can be used to provide a complete DAQ environment (e.g. in MINOS) Advantages of using root with SCTDAQ: –GUI framework (menus) and histogram presentation comes “for free” –Portable across platforms supported by root - i.e. Windows, Linux, Unix. User C++ code for SCTDAQ is not machine dependent –Users can add extra functionality relatively easily by writing their own macros (they don’t need to delve into the full mysteries of the system).

18 June 2001SCT/Pixel ROD Software Workshop12 Menus Large number of menu options! They have appeared in the light of experience with real modules Significant number of menu functions are designed for the handling of a few modules with idiosyncrasies. Also, SCTDAQ is aimed at characterising modules in a small lab. environment, not data acquisition, and hence does not have (for example) sophisticated error recovery. However: –the “TB extensions” (see a little later in the talk) provide a simple DAQ within the SCTDAQ framework, and were successfully used in the 2000 test beam

18 June 2001SCT/Pixel ROD Software Workshop13 Main Menu Startup Shutdown Restart CloacMenu Run Stop ChangeVariable ChangeTrigger ExecuteConfigs TriggerBurst TriggerBurst2 RawBurst DecodedBurst VTriggerBurst DecodedVBurst DumpVBurst DumpBurst SendIDBurst RepeatingBurst ABCD Tests SimpleScans KwikPlot ShowSCurves ShowCounters SysmapMenu ShowSysmap ShowModuleConfig ShowModuleTrims ShowModuleRC HardReset OPTO TX On OPTO TX Off OPTO TX Status HV RampUp HV RampDown HV Status LV On LV Off LV Status Recover Trips DCSQuery DCS->Log TestPrograms Status Documentation Exit

18 June 2001SCT/Pixel ROD Software Workshop14 Subsidiary Menus CloacMenu –interfaces directly to CLOAC functionality ChangeVariable –set chip parameters, delays on inputs and outputs, etc. ChangeTrigger –alter trigger details ABCD Tests –e.g. check the redundancy features, automatic TrimDAC trimming SimpleScans –simple 1D scans (e.g. threshold scan) TestPrograms –diagnostic programs for VME readout modules SysmapMenu –command line interface to sysmap menu

18 June 2001SCT/Pixel ROD Software Workshop15 Scan example - response curve

18 June 2001SCT/Pixel ROD Software Workshop16 Test Beam Extensions(1) Used in test beam from 2000 (replacing RD13 DAQ and RAID) Mainly work of Gareth Moorhead Contructed as an “add-on” to previously-described SCTDAQ, so relies on that to set up detector and standard VME modules: –Deal with extra hardware in test beam: Beam telescope (analogue readout, using DSP-based Siroccos (IRAMs)) CAEN V488 TDC (trigger timing relative to 40MHz clock) CAEN V262 I/O unit (software polling for beam triggers) –Structure similar to STDLL/STLIB - code built into TBDLL, which includes: C++ code for beam telescope, data monitoring, run handling, general bookkeeping TBLIB: C code specific to test beam (special hardware, event read out and writing) Libraries for test beam hardware STLIB and hardware libraries from SCTDAQ

18 June 2001SCT/Pixel ROD Software Workshop17 Test Beam Extensions(2) Invoked within root framework after standard SCTDAQ startup has been done (via ST.cpp) Macro TB.cpp loaded - this contains –TBStart - loads TBDLL, initialises the environment, creates the extra histograms required for test beam, and sets up the hardware appropriately for test beam –TBRun - starts a data-taking run –TBScan - starts a set of runs to scan a range of values for a specific variable - very useful for unattended running (or at least running with minimal intervention). Command line interface for TB commands. Since existing SCTDAQ menus are available, operation is consistent with lab use - no new way of working to learn, and all “tricks” to persuade detector modules to behave, are available automatically.

18 June 2001SCT/Pixel ROD Software Workshop18 Use with ROD/BOC/TIM? Reasonably clean mapping from existing to new hardware: –CLOAC+SLOG(+OpTIF) ==> TIM+Outgoing (control) connections from ROD/BOC –MuSTARD(+OpTIF) ==> Incoming (data) connections to ROD/BOC TIM functionality is a superset of CLOAC’s (to a good approximation) BOC functionality is a superset of OpTIF’s (...) SLOG functions (slow commands to front end ASICs): –in short term will be replaced by sending a bitstream via a ROD primitive –in longer term, we will probably have bitstreams predefined in the DSP and just issue the download instruction MuSTARD functions (reading data, optional decoding and histogramming): –already implemented or planned for ROD

18 June 2001SCT/Pixel ROD Software Workshop19 Use with ROD/BOC/TIM? Hence, for short term, seems a good solution for a ROD DAQ –exists and has been tested by many users –familiar interface for users –sections (e.g. chip-handling code, analysis macros), which are based on real experience with detector modules, would probably be reused anyway However, not a long term solution –not designed for 100’s of modules (reaching the practical limits in places already??) –intended for the characterisation and control of a handful of prototype detector modules, so lots of scans, module resets, trip recovery etc. in menus, but not much emphasis on long term monitoring of a large number of modules, nor of automated recovery of modules. (TB does attempt this, but not altogether successfully). –needs significant rewriting for a final system - best to start from scratch?

18 June 2001SCT/Pixel ROD Software Workshop20 Conclusions SCTDAQ seems a reasonable starting point for an interim ROD DAQ, but also needs the Test Stand software to control the ROD. There are clear areas where parts of SCTDAQ could be reused in the longer term: –chip-handling code –analysis macros Ability to add user scripts within root framework is attractive and something similar should be provided for the final design. One caveat - initial systemtest work will involve debugging of readout hardware, not dealing with real detector modules, and SCTDAQ is probably not suitable for this (use Test Stand software and ad-hoc programs).