DB-based DAQ monitoring and Physics analysis tools Emiliano Barbuto European Emulsion Group (LNGS May 2003)

Slides:



Advertisements
Similar presentations
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Advertisements

Business Development Suit Presented by Thomas Mathews.
Objectives Overview Define an operating system
Operating-System Structures
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Browsers and Servers CGI Processing Model ( Common Gateway Interface ) © Norman White, 2013.
Application architectures
Program Flow Charting How to tackle the beginning stage a program design.
Location in CSD of electronic detector reconstructed events Scanning results from LNGS scanning lab N. D’Ambrosio, N. Di Marco, L.S. Esposito, P. Monacelli.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Interpret Application Specifications
Chapter 3 Software Two major types of software
Database Management Systems (DBMS)
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Computer Software.
Application architectures
BY: SACHIN SHRIVASTAVA Operating System By : Sachin Shrivastava 1.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Linux Operations and Administration
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Chapter 11 Databases.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Tool name : Firebug A URL for more information about the tool, or where to buy or download it : Firebug is.
Creating Data Marts from COBOL Files (ISAM to RDBMS)
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
MAHI Research Database Data Validation System Software Prototype Demonstration September 18, 2001
Converting COBOL Data to SQL Data: GDT-ETL Part 1.
Explain the purpose of an operating system
Components of Database Management System
M1G Introduction to Database Development 6. Building Applications.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
© 2007 by Prentice Hall 1 Introduction to databases.
European Scanning System R&D Bari, Bologna, Bern, Lyon, Napoli, Roma, Salerno Tuning of 10 cm 2 /hour on the OPERA emulsions But not refreshed and 32 micron.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Team Members Team Members Tim Geiger Joe Hunsaker Kevin Kocher David May Advisor Dr. Juliet Hurtig November 8, 2001.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
The european ITM Task Force data structure F. Imbeaux.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Unit 17: SDLC. Systems Development Life Cycle Five Major Phases Plus Documentation throughout Plus Evaluation…
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
SySal Analysis tools: Status and outlook Cristiano Bozza Salerno Emulsion Group Bern, March 2004.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
Valeri Tioukov GS May ROOT-based framework for the reconstruction of emulsions data Set of tools for storage, interactive reconstruction and analysis.
Chapter – 8 Software Tools.
Simulation Production System Science Advisory Committee Meeting UW-Madison March 1 st -2 nd 2007 Juan Carlos Díaz Vélez.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
The Database Project a starting work by Arnauld Albert, Cristiano Bozza.
Application architectures Advisor : Dr. Moneer Al_Mekhlafi By : Ahmed AbdAllah Al_Homaidi.
HTML Hyper Text Markup Language. Agenda Basics Tools Important tags Tables & databases Forms Publishing at Stern.
XP Creating Web Pages with Microsoft Office
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Architecture Review 10/11/2004
Graphical Data Engineering
Simulation Production System
Chapter 2: System Structures
Microsoft Office Illustrated
MANAGING DATA RESOURCES
Oracle Architecture Overview
X Windows.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Presentation transcript:

DB-based DAQ monitoring and Physics analysis tools Emiliano Barbuto European Emulsion Group (LNGS May 2003)

The Scanning Cluster Mic PC #1 Mic PC #2 Mic PC #3 Batch Manager File Server Web Interface Local DB (ORACLE) Building blocks Worldwide access through standard ways (HTML, ODBC) Scanning cluster operators only

Batch Manager What is the BM and what is it for? BM is a service application (“daemon” in UNIX language) At startup the BM explores the scanning cluster configuration using Local DB info: centralized cluster administration through DB. Scanning tasks are grouped in batches and sent to the BM; BM registers batch progress into the DB in order to recover procedures in case of HW failure. All operations are logged: easy to discover malfunction cases.

Batch Manager The flow diagram that schematically illustrates the Vertex location procedure in the ECC brick, as presented in the proposal. Extra-DAQ tasks for the BM: data acquisition monitoring; systematic errors correction; fragment linking; next sheet predictions; vertex confirmation (through simple volume tracks reconstruction); All this operations will be logged in the DB: every correction and operations performed on scanning files (both automatic and custom) will be recorded The BM is also supposed to perform other important tasks, related to the vertex location procedure (red box in the diagram);

DAQ Monitoring DAQ Monitoring can be performed in two different ways: web interface (application running on the web server interacting with remote users); usual desktop application (applications running locally on the machine); Web Interface Local DB (ORACLE) Web interface for DAQ monitoring running under KDE (Netscape browser), it also accesses both files and DB Desktop application: access both files and DB

Track Post-Processing Easy Link (relying on track linking library) : microtrack linking through the base Easy Correct (relying on track correction library): field to field shifts and conversion factor correction. These post-processing applications (not libraries!) will be integrated into the BM. Parameters and configurations will be stored in the DB, so they are forever documented. Coherent Shifts Field 1Field 2 Tk 1 Tk 1’ Tk 2’Tk 2 Shift

Batch Manager tasks All tasks present some standard features, concerning the following items: I/O operations (scanning files & DB); Parameter settings for data processing algorithms come from the DB; separation between algorithms and I/O operations + user interface (software structure). This structure allows to easily integrate them into the BM We will see just an example in detail: the sheet alignment and vertex detection (confirmation) task. Batch Manager File Server Local DB (ORACLE)

Sheet Alignment & Vertex Detection Running in Chorus/Opera setup Total Scan Reconstruction Alpha Omega Reconstruction Optimized for Opera setup

Sheet Alignment & Vertex Detection Alpha Omega Reconstruction Library A  Reconstruction steps: 1.an affine transformation, sheet focusing and correction of slope systematic errors, for each pair of sheets; 2.then volume-tracks reconstruction is performed using a tracking-like algorithm that relies on base-tracks (optional); 3.low momentum tracks reconstruction using the risk-factor/background density algorithm (optional – step 2 necessary); 4.vertex and decays detection (optional – step 2 necessary). It performs all steps typical of a volume scanning, from rough sheet alignment (alpha) up to vertex and decay detection (omega)

I/O Alpha Omega Reconstruction Program Results of scanning procedure on several emulsion sheets: microtracks/linked base tracks. Tracks linked throughout the emulsion sheets volume with topological information “tlg” files (conventional output files of the scanning system); Root files (“tlg” files converted into root format); Oracle DB (scanning sheet selected from DB by means of sql instructions); tsr files (conventional output files of the reconstruction already used in Chorus); Oracle DB (reconstruction inserted into DB by means of sql instructions); Root files (converted from Oracle DB);

Storage in DB of algorithm parameters could represent a problem because algorithms may be discarded or modified during the experiment analysis  changing DB schema!!! Indeed, this won’t be a problem if our solution for parameter storage in the DB is a versatile one. Parameters Setting Parameters of the reconstruction Several track linking parameters allow to tune the alignment procedure. It is possible to tune also parameters of vertex and decay detection (E. Barbuto – Strasbourg).

Parameters Setting Parameters Input/Output: XML format XML files are similar to html files and can be accessed by a simple browser (remote access is also possible); They are ASCII files and can be modified using every text editor a simple XML string can be dumped into the DB collecting all the parameters into a single field rather than a record (several fields). A xml parameter file as it appears in MSIE browser. Changing algorithm, deleting or adding parameters is not a problem because DB tables and fields will not be modified. We plan to store the algorithm id (or the module itself) in the DB along with its settings. Using XML, the application intrinsically knows how to handle its settings.

Software Structure How this software is structured. Library Appl#1 Appl#2 Appl#3... All algorithms are coded in the library. It runs under several OS: Windows/Linux/FreeBSD (talk by CB). They care about input/output operations, user interfacing and parameters setting. They can run with the usual windows aspect or under command lines (under Win/Linux/ FreeBSD, depending on the Application)

An Example Features of the Sheet Alignment & Vertex Detection: Vertices/Tracks/Segments Display Sheet per Sheet analysis manager

Debug and Test Additional features of the application: data generation. The volume generation library allows to generate tracks and segments across a scanning volume. segments can be smeared according to usual measurements accuracy; multiple scattering and energy loss are taken into account; segments can be “moved” and “modified” according to typical affine transformation, sheet focusing and systematic errors computed during emulsion data processing. The last feature turned out to be important to debug and test reconstruction ability Computing library is a independent module  Easy to include in custom programs (e.g. efficiency studies with “official” MC-generated data). Every data format can be used.

Conclusions and Perspectives 1.BM and Database features have been defined according to the various steps, trying to be as flexible as possible. 2.This will be important for the goal of next test beams: vertex location. 3.We started to include I/O for Database in all our applications. 4.Our policy is to separate as much as possible I/O operations, user interface and parameter setting from algorithm itself in order to write “computation code” that is OS-independent.