ACCESS FROM C++ CODE TO DATA FROM VALIDATION DB Dmitri Konstantinov, CERN.

Slides:



Advertisements
Similar presentations
SSA Query Interface M. Dolensky, ESO Data Access Layer Working Group Interoperability Workshop, Pune, India 27-Sep-2004.
Advertisements

Searching Options and Result Sets Sara Randall Endeavor Information Systems October 30, 2003.
HL7 V2 Conformance Testing Robert Snelick NIST January 20 th, 2004
UKOLN is supported by: Put functionality Augmenting interoperability across scholarly repositories 20/21 April 2006 Rachel Heery, UKOLN, University of.
ECHO Browse Reclassification Document ID: ECHO_Ops_Con_023 Version: 2.
1 OGC Web Services Kai Lin San Diego Supercomputer Center
Streaming NetCDF John Caron July What does NetCDF do for you? Data Storage: machine-, OS-, compiler-independent Standard API (Application Programming.
California Digital Library Applications in the Real World: The Counting California Experience with the DDI Patricia Cruse Ilona Einowski Juri Stratford.
Oxford Jan 2005 RAL Computing 1 RAL Computing Implementing the computing model: SAM and the Grid Nick West.
Federated Searching: The ABC’s of HSE, XML, & Z39.50 Harry Samuels Product Manager Linking & Searching August 27, 2004.
Computer Science 210 Computer Organization Modular Decomposition Making a Library Separate Compilation.
New logging and notification system for the Offline DropBox Martynas Mitrulevičius Thursday, 26 April 2012 AlCaDB/PdmV meeting Vilnius University, Lithuania.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
The ATLAS Production System. The Architecture ATLAS Production Database Eowyn Lexor Lexor-CondorG Oracle SQL queries Dulcinea NorduGrid Panda OSGLCG The.
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Aurélien Stébé Homogeneous Access to Tabular Data Beijing, China - May.
Configuration Management and Server Administration Mohan Bang Endeca Server.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
Functions of a Database Management System
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
Simulations Progress at Regina ➔ Event generation with genr8 – output in ascii format ➔ Conversion to either HDFast input (stdhep) or HDGeant input (hddm)
PR Phase II SCR 727 SCR 740 Web Services Jackie Ashbaugh Commercial Operations Data Integrity & Administration August 18, 2006.
DateADASS How to Navigate VO Datasets Using VO Protocols Ray Plante (NCSA/UIUC), Thomas McGlynn and Eric Winter NASA/GSFC T HE US N ATIONAL V IRTUAL.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Needs for Accessing Database To make your web site more dynamic and maintainable, you can display information on your web pages that are retrieved from.
VAMDC tutorial for prospective data-providers Guy Rixon meeting, IPR, November 2013.
Marianne BargiottiBK Workshop – CERN - 6/12/ Bookkeeping Meta Data catalogue: present status Marianne Bargiotti CERN.
Nadia LAJILI User Interface User Interface 4 Février 2002.
Sharing Value Sets (SVS Profile) Ana Estelrich GIP-DMP.
Database, SQL, and ADO.NET- Part 1 Session 11 Mata kuliah: M0874 – Programming II Tahun: 2010.
Bookkeeping Tutorial. Bookkeeping & Monitoring Tutorial2 Bookkeeping content  Contains records of all “jobs” and all “files” that are created by production.
Integrated Grid workflow for mesoscale weather modeling and visualization Zhizhin, M., A. Polyakov, D. Medvedev, A. Poyda, S. Berezin Space Research Institute.
NoodleBib Basics Open, Login, Create and Print Lists.
By: Pramod Jagtap Aniket Bochare. Agenda Introduction to dataset Web service description Service architecture Project plan Intended clients.
The european ITM Task Force data structure F. Imbeaux.
1 DAPPER: An OPENDAP Server for In-Situ Data Joe Sirott Donald W. Denbo, Willa H Zhu University of Washington PMEL/NOAA.
Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) Phil Barker, March © Heriot-Watt University. You may reproduce all or any part.
Open Archive Initiative – Protocol for metadata Harvesting (OAI-PMH) Surinder Kumar Technical Director NIC, New Delhi
The CERA2 Data Base Data input – Data output Hans Luthardt Model & Data/MPI-M, Hamburg Services and Facilities of DKRZ and Model & Data Hamburg,
May 2003National Coastal Data Development Center Brief Introduction Two components Data Exchange Infrastructure (DEI) Spatial Data Model (SDM) Together,
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
Connect. Communicate. Collaborate PerfsonarUI plug-in tutorial Nina Jeliazkova ISTF, Bulgaria.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
AxKit A member of the Apache XML project Ryan Maslyn Kyle Bechtel.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
Lattice QCD Data Grid Middleware: Meta Data Catalog (MDC) -- CCS ( tsukuba) proposal -- M. Sato, for ILDG Middleware WG ILDG Workshop, May 2004.
Bookkeeping Tutorial. 2 Bookkeeping content  Contains records of all “jobs” and all “files” that are produced by production jobs  Job:  In fact technically.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
Aleph Restful APIs Ori Miller June 2012.
CSC 2720 Building Web Applications Basic Frameworks for Building Dynamic Web Sites / Web Applications.
Eurostat November 2015 Eurostat Unit B3 – IT and standards for data and metadata exchange SDMX IT Tools SDMX Converter Jean-Francois LEBLANC Christian.
Andrea Valassi (CERN IT-DB)CHEP 2004 Poster Session (Thursday, 30 September 2004) 1 HARP DATA AND SOFTWARE MIGRATION FROM TO ORACLE Authors: A.Valassi,
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Future Communications from Affiliate Manager to Affiliate presented by Carsten Cumbrowski at eComXpo October 24-26, 2006.
1 CAA 2009 Cross Cal 9, Jesus College, Cambridge, UK, March 2009 Caveats, Versions, Quality and Documentation Specification Chris Perry.
Module 6 ********* Data Loading Workforce Information Database Training Last update November 2006.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
Metadata V1 By Dick M.A. Schaap – technical coordinator Oostende, June 08.
Pyragen A PYTHON WRAPPER GENERATOR TO APPLICATION CORE LIBRARIES Fernando PEREIRA, Christian THEIS - HSE/RP EDMS tech note:
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Managing Copyrights in Invenio
Configuration Database
SQL Standard Query Language Good for manipulating a Database
Chapter 10 ADO.
Status and plans for bookkeeping system and production tools
Consuming Web Services with 2E Generated Objects
OPeNDAP/Hyrax Interfaces
Eurostat Unit B3 – IT and standards for data and metadata exchange
DIBBs Brown Dog BDFiddle
Intro to Web Services Consuming the Web.
Presentation transcript:

ACCESS FROM C++ CODE TO DATA FROM VALIDATION DB Dmitri Konstantinov, CERN

Motivation To ensure that we all use very same experimental data in Geant4/V tests, that we know origin of the data. How: To have direct access to experimental data(histograms) from Geant4/V C++/ROOT tests. (optional) python access to the DB

ACCESS TO DATA/HISTOS This can be done by several ways: 1) Direct access to DB using C/C++ API 2) Access to data base content(event) via http protocol using XML/JSON/etc format provided by DB WEB interface. db.fnal.gov/?datasetid=545&format=xml - request will generate output in specified format Access from C++ code using libCurl + tinyXML(for XML).

Direct access to DB using C API (Done) We use libpq library from postrgresql Using one query we access METATABLE and RESULTS tables and fill C++ class containing the following info: class Record { vector m_val; vector m_bin_min; vector m_bin_max; vector m_err_stat_plus; vector m_err_stat_minus; vector m_err_sys_plus; vector m_err_sys_minus; int m_npoints; vector m_nbins; } There is a method returning ROOT TGraphAsymmError filled with DB histogram content.

Access to XML/JSON via http protocol Access data in XML format provided by Web interface (this we already discussed as preferable way to access the DB) Using libCurl and Tiny XML libraries fill the very same c++ class with histo data Questions: By what means do we retrieve record from the DB? I use “ID” of RESULT table (former METADATA) What else can be used? What do we want to deliver with XML output – only histogram or full information related to this entry (which not necessary will be used for histogram comparison)

Plans Toy C++ reader for XML file provided by http Use this class in test with Franz data (as this dataset is available in the DB) Continue to work on C++ class: Consistency checks; Possibility to fill ROOT histograms (not only TGraphErrors) Possibility to use from ROOT macros Possibility to read in multidimensional data