HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 HOMER - HLT Online Monitoring.

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

Categories of I/O Devices
HLT Collaboration; High Level Trigger HLT PRR Computer Architecture Volker Lindenstruth Kirchhoff Institute for Physics Chair of Computer.
CS-334: Computer Architecture
HLT & Calibration.
Timm Morten Steinbeck, Computer Science/Computer Engineering Group Kirchhoff Institute f. Physics, Ruprecht-Karls-University Heidelberg A Framework for.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/20 New Experiences with the ALICE High Level Trigger Data Transport.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 A Control Software for the ALICE High Level Trigger Timm.
> IRTG – Heidelberg 2007 < Jochen Thäder – University of Heidelberg 1/18 ALICE HLT in the TPC Commissioning IRTG Seminar Heidelberg – January 2008 Jochen.
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg - DPG 2005 – HK New Test Results for the ALICE High Level Trigger.
The Publisher-Subscriber Interface Timm Morten Steinbeck, KIP, University Heidelberg Timm Morten Steinbeck Technical Computer Science Kirchhoff Institute.
Basic Input/Output Operations
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 Tag Database for HLT Micro-ESDs.
Matthias Richter, University of Bergen & Timm M. Steinbeck, University of Heidelberg 1 AliRoot - Pub/Sub Framework Analysis Component Interface.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port.
CHEP03 - UCSD - March 24th-28th 2003 T. M. Steinbeck, V. Lindenstruth, H. Tilsner, for the Alice Collaboration Timm Morten Steinbeck, Computer Science.
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 Timm M. Steinbeck HLT Data Transport Framework.
Timm Morten Steinbeck, Computer Science/Computer Engineering Group Kirchhoff Institute f. Physics, Ruprecht-Karls-University Heidelberg Alice High Level.
Jochen Thäder – Kirchhoff Institute of Physics - University of Heidelberg 1 HLT for TPC commissioning - Setup - - Status - - Experience -
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 HLT and the Alignment & Calibration DB.
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 1 UiB DR 2003 High Level API for the TPC-FEE control and configuration.
FreeRTOS.
- Software block schemes & diagrams - Communications protocols & data format - Conclusions EUSO-BALLOON DESIGN REVIEW, , CNES TOULOUSE F. S.
Windows audio architecture Win MM Application DirectSound Application SysAudio.SYS Kmixer.SYS WinMM.DLLDSound.DLL Device Drive Container USB Device Driver.
USB host for web camera connection
Networking Nasrullah. Input stream Most clients will use input streams that read data from the file system (FileInputStream), the network (getInputStream()/getInputStream()),
1.  Project Goals.  Project System Overview.  System Architecture.  Data Flow.  System Inputs.  System Outputs.  Rates.  Real Time Performance.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
NetSim ZigBee Simulation Code Walkthrough in 10 steps
Integration Broker PeopleTools Integration Broker Steps –Introduction & terminologies –Application Server PUB/SUB services (Application Server)
The High-Level Trigger of the ALICE Experiment Heinz Tilsner Kirchhoff-Institut für Physik Universität Heidelberg International Europhysics Conference.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
TCP Lecture 13 November 13, TCP Background Transmission Control Protocol (TCP) TCP provides much of the functionality that IP lacks: reliable service.
RCU Status 1.RCU design 2.RCU prototypes 3.RCU-SIU-RORC integration 4.RCU system for TPC test 2002 HiB, UiB, UiO.
Chapter 2 Applications and Layered Architectures Sockets.
The Socket Interface Chapter 21. Application Program Interface (API) Interface used between application programs and TCP/IP protocols Interface used between.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Bernardo Mota (CERN PH/ED) 17/05/04ALICE TPC Meeting Progress on the RCU Prototyping Bernardo Mota CERN PH/ED Overview Architecture Trigger and Clock Distribution.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Data Acquisition Backbone Core J. Adamczewski-Musch, N. Kurz, S. Linev GSI, Experiment Electronics, Data processing group.
CS 6401 Introduction to Computer Networks 09/21/2010 Outline - UNIX sockets - A simple client-server program - Project 1 - LAN bridges and learning.
File Systems cs550 Operating Systems David Monismith.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
IT3002 Computer Architecture
UNIX Sockets Outline UNIX sockets CS 640.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
LonWorks Introduction Hwayoung Chae.
Sockets A popular API for client-server interaction.
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.
KID - KLOE Integrated Dataflow
Controlling a large CPU farm using industrial tools
12.4 Memory Organization in Multiprocessor Systems
Computer System Overview
Overview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
Message Queuing Telemetry Transport (Internet of Things)
Chapter 13: I/O Systems.
Exceptions and networking
Thread per client and Java NIO
Presentation transcript:

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 HOMER - HLT Online Monitoring Environment including ROOT

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 2 Contents ● Overview ● Publisher/Subscriber Monitoring Components – Shared Memory – TCP ● Exchange Data Format ● ROOT Interface – TPC Readout – Structure Decoding ● Applications

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 3 HOMER Overview - Purpose ● Access to Publisher/Subscriber data stream – Examine data at any stage of P/S processing ● Debugging aid – Coupled w. proper publisher components – Can provide quick access to detector data into analysis process ● E.g. ROOT, but not limited to it – E.g. via ● HLT-RORC ● TRD DCS (work in progress) ● TPC RCU/DCS (work in progress)

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 4 HOMER Overview - Architecture ● System has two principal parts – Tap into Publisher/Subscriber data stream – ROOT „bucket“ to be filled with data P/S Bridge P/S Ana- lysis ROOT Analysis HLTNodeHLTNode AnalysisPCAnalysisPC HOMER TCP Reader P/S TCP Tap Data Decoder

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 5 Publisher/Subscriber Monitoring Components ● Two monitoring components ● Different access to provided data – System V shared memory – TCP ● Format of provided data is identical ● Both are standard P/S Data sink components – Attachable to any data source or any data processor – Access to data at any point of processing chain

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 6 Shared Memory Monitoring Component ● ShmDumpSubscriber ● Stores data into SysV shared memory buffer ● When ROOT (or other client) runs on same PC ● Simple flow-control via initial word in buffer – Initial word holds size of data in buffer – Zero means buffer empty – Non-zero means data is in buffer P/S Bridge P/S Ana- lysis HLT & Analysis Node Shm Dump Sub ROOT Analysis Shm Reader Data Decoder

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 7 TCP Monitoring Component ● TCPDumpSubscriber ● Accepts TCP connections on specified port ● Waits for event requests ● Sends next received event after request ● Connection kept open until closed by client – Or until protocol error ● Initial 32 bit word of received data holds size of remaining data P/S Bridge P/S Ana- lysis ROOT Analysis HLTNodeHLTNode AnalysisPCAnalysisPC TCP Reader TCP Dump Sub Data Decoder

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 8 Data Format ● Data starts w. descriptor structures – One meta-descriptor f. whole event ● Holds information about event, e.g. – Event ID – Number of data blocks/descriptors ● Offset element points to data-descriptors – One data-descriptor per data block in event ● Holds information about block, e.g. – Data type & origin – Size ● Offset element points to data block ● Descriptors are followed by actual event data blocks

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 9 Data Format - Shared Memory 32 bit Size Word Meta-Descriptor Data-Descriptor 0 Data-Descriptor 1 Data Block 0 Data Block 1 System V Shared Memory Offset

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 10 Data Format - TCP Meta-Descriptor Data-Descriptor 0 Data-Descriptor 1 Data Block 0 Data Block 1 Offset Data Block Received over TCP Size Word Received over TCP 32 bit Size Word

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 11 ROOT Interface ● Still work in progress – ROOT API not fully consolidated – But working already ● One version: – Macro for readout from TCPDumpSubscriber ● ReadTCPDumpSubscriberData.C – Class („macroable“ via.L) to decode data ● AliHLT_OMShmDecoder.(h|cpp) – root>.L AliHLT_OMShmDecoder.cpp ● Other possibility: – Integrate ~15 line TCP readout code into ROOT macro – Explicitly parse input data (~10-20 lines)

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 12 Read TCP Data Macro ● Simple ROOT Macro (ReadTCPDumpSubscriber.C) – Loadable via.L – Executable via.x ● Requires hostname and port for TCPDumpSubscriber ● Returns pointer to data and data size – Memory is allocated inside, has to be freed by delete [] ● Handles protocol w. TCPDumpSubscriber

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 13 Data Decoder ● Initialized w. pointer to data and data size ● Allows to query event ID ● Allows to query number of data blocks ● For each data block allows to query – Pointer to data – Size of data – Type of data

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 14 Applications – TRD-DCS Readout Work in progress ● TRD Readout – TRAPPublisher component on DCS board – Readout of TRAP chips – TCPDumpSubscriber – ROOT

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 15 Applications – TRD-DCS Readout Readout Board TRAP1 TRAP16... Readout Board TRAP1 TRAP DCS Board SCSN Interface TRAP Publisher TCPDump Subscriber ROOT Analysis AnalysisPCAnalysisPC TCP Reader Data Decoder Data Flow

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 16 Applications Work in progress ● TPC Readout – RCUPublisher component on DCS board – Readout of Altros via RCU – TCPDumpSubscriber – ROOT

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 17 Applications Working ● PCI Readout card – HLT-RORC Readout – ACEX Readout for TRD test setup ● Attached either – TCPDumpSubscriber – ShmDumpSubscriber ● Into ROOT – On same machine (Shm) – On different machine connected via network (TCP) ● Used for TPC ClusterFinder Event Display

HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 18 Conclusion ● HLT Online Monitoring is progressing ● Already usable ● Several scenarios imaginable & already envisioned ● Should prove to be a powerful tool for debugging of analysis components, processing chains, and detectors