Computing and Software – Calibration Flow Overview

Slides:



Advertisements
Similar presentations
Raptor Technical Details. Outline Workshop structured by Raptor workflow – Raptor Event model. – ICA log file parsing – ICA/MUA event storage – ICA event.
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Kay Graf KM3NeT Computing and Software WG Meeting 2014/09/11 Overview.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Peter Chochula, January 31, 2006  Motivation for this meeting: Get together experts from different fields See what do we know See what is missing See.
23/04/2008VLVnT08, Toulon, FR, April 2008, M. Stavrianakou, NESTOR-NOA 1 First thoughts for KM3Net on-shore data storage and distribution Facilities VLV.
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
L3 Filtering: status and plans D  Computing Review Meeting: 9 th May 2002 Terry Wyatt, on behalf of the L3 Algorithms group. For more details of current.
2/10/2000 CHEP2000 Padova Italy The BaBar Online Databases George Zioulas SLAC For the BaBar Computing Group.
Fermi Large Area Telescope (LAT) Integration and Test (I&T) Data Experience and Lessons Learned LSST Camera Workshop Brookhaven, March 2012 Tony Johnson.
Avalanche Internet Data Management System. Presentation plan 1. The problem to be solved 2. Description of the software needed 3. The solution 4. Avalanche.
CLAS12 CalCom Activity CLAS Collaboration Meeting, March 6 th 2014.
SVX Software Overview Sasha Lebedev VTX meeting 09/07/ SVX Software web page:
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
GRAPES-3 ROOT Framework Pravata K Mohanty Tata Institute of Fundamental Research On behalf of the GRAPES-3 collaboration Workshop on Astroparticle Physics,
DB-based DAQ monitoring and Physics analysis tools Emiliano Barbuto European Emulsion Group (LNGS May 2003)
Gnam Monitoring Overview M. Della Pietra, D. della Volpe (Napoli), A. Di Girolamo (Roma1), R. Ferrari, G. Gaudio, W. Vandelli (Pavia) D. Salvatore, P.
Erik Blaufuss University of Maryland Data Filtering and Software IceCube Collaboration Meeting Monday, March 21, 2005.
JANA and Raw Data David Lawrence, JLab Oct. 5, 2012.
EGEE is a project funded by the European Union under contract IST HEP Use Cases for Grid Computing J. A. Templon Undecided (NIKHEF) Grid Tutorial,
Svtsim status Bill Ashmanskas, CDF simulation meeting, Main authors: Ashmanskas, Belforte, Cerri, Nakaya, Punzi Design goals/features: –main.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
Databases in CMS Conditions DB workshop 8 th /9 th December 2003 Frank Glege.
Vertex finding and B-Tagging for the ATLAS Inner Detector A.H. Wildauer Universität Innsbruck CERN ATLAS Computing Group on behalf of the ATLAS collaboration.
Systems Solution Marketing Group Industrial Automation Business Headquarters Yokogawa Electric Corporation ISD-MASP-S05011 Copyright © Yokogawa Electric.
06-1L ASTRO-E2 ASTRO-E2 User Group - 14 February, 2005 Astro-E2 Archive Lorella Angelini/HEASARC.
Paul Scherrer Institut 5232 Villigen PSI ROME / / Matthias Schneebeli ROME Collaboration Meeting in Pisa Presented by Matthias Schneebeli.
Michele de Gruttola 2008 Report: Online to Offline tool for non event data data transferring using database.
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
Development of the CMS Databases and Interfaces for CMS Experiment: Current Status and Future Plans D.A Oleinik, A.Sh. Petrosyan, R.N.Semenov, I.A. Filozova,
Status of Control Unit Software Cristiano Bozza – 26/8/2015.
Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.
Kay Graf Timecalibration Meeting Vidyo, 12/03/2015 Database and Calibration.
Workflows and Data Management. Workflow and DM Run3 and after: conditions m LHCb major upgrade is for Run3 (2020 horizon)! o Luminosity x 5 ( )
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association Marco Haag - Institute of Experimental Nuclear.
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
ATLAS Distributed Analysis DISTRIBUTED ANALYSIS JOBS WITH THE ATLAS PRODUCTION SYSTEM S. González D. Liko
Overview of EMU Software Rick Wilkinson. Slice Test DAQ We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger.
Simulation Production System Science Advisory Committee Meeting UW-Madison March 1 st -2 nd 2007 Juan Carlos Díaz Vélez.
ATLAS The ConditionDB is accessed by the offline reconstruction framework (ATHENA). COOLCOnditions Objects for LHC The interface is provided by COOL (COnditions.
Software and TDAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
Jianming Qian, UM/DØ Software & Computing Where we are now Where we want to go Overview Director’s Review, June 5, 2002.
A proposal for the KM3NeT Computing Model Pasquale Migliozzi INFN - Napoli 1.
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
CT-PPS DB Info (Preliminary) DB design will be the same as currently used for CMS Pixels, HCAL, GEM, HGCAL databases DB is Oracle based A DB for a sub-detector.
JUNO Offline Geometry Management
Database Replication and Monitoring
CMS High Level Trigger Configuration Management
Pasquale Migliozzi INFN Napoli
Italian g-2 software discussion
A C++ generic model for the GLAST Geometric Description
Configuration Database
Stress tests for CLAS12 software
An Overview of the Pixel and HCAL Databases
HLT & Calibration.
The DAQ and IT infrastructures of KM3NeT
Time calibration workshop 1517 May 2017, Amsterdam M. de Jong
Cover page.
A Short Course on Geant4 Simulation Toolkit How to learn more?
RAMON Re-engineering An Update
A Short Course on Geant4 Simulation Toolkit How to learn more?
Event Storage GAUDI - Data access/storage Framework related issues
Configuration DB Status report Lana Abadie
Working with HADES WebDB HADES analysis workshop, Darmstadt, Germany, 31 January - 1 February 2012 Ilse Koenig, GSI Darmstadt Outline: Version management.
Presentation transcript:

Computing and Software – Calibration Flow Overview Kay Graf - ECAP Timecalibration Workshop Nikhef, May 2017

Calibration and Data Processing

Calibration and Data Processing Data processing and analysis Calibration application Calibration determination Interplay of calibration and analysis: Determination of calibration Application of calibration (to data) (Offline) Data processing: simulation, reconstruction, analysis Example from time calibration: analysis drives calibration Timecalibration WS - Comp&Soft — K. Graf — May 2017

Data Processing: Simulation Chain Simulation Data Format Event Generation Event Simulation and Cherenkov Light Generation Online Data Format Background Light Generation Detector Response Data Filtering Offline Data Format Event Classification Event Reconstruction Summary Data Fromat Analyses antcc-format (.evt) Geometry, Configuration, Monitoring and Calibration Data (File, DataBase, ascii, .detx) Jpp format (.root) Jpp root format/aanet (.root) aanet offline format (.root) Processing chains for simulation and data should be as equal as possible, i.e. use of the same algorithms/programs as much as possible Comp&Soft WG — K. Graf — KM3NeT Collaboration Meeting — February 2015

Data Processing: Data Chain detector offshore CLB – recording (Electronics WG) shore station DataQueue – receiving, sorting / DataFilter – filtering/DataWriter – writing online monitoring quasi-online Postprocessing/data quality –add info quasi-online processing – quick reco, high-level monitoring offline processing calibration / data quality reconstruction analysis at institutes (user) develop analysis software package UDP – CLB data format Jpp root format/controlhost Geometry, Configuration, Monitoring and Calibration Data (File, DataBase, ascii, .detx) Jpp root format offline root format (aanet) Processing chains for simulation and data should be as equal as possible, i.e. use of the same algorithms/programs as much as possible Comp&Soft WG — K. Graf — KM3NeT Collaboration Meeting — February 2015

Interface Calibration⬄ Simulation/Analysis Some thoughts: To allow for consistent calibration information parsing and efficient resource management (developing, testing and processing) calibration tasks/processing should have clear interace definitions i.e.: the determination of calibration can be done in analysis software but in a separate programs/algorithms That does not mean that development/improvement/testing of calibration data in analysis is discouraged, on the contrary – we calibration with drive analysis and vice-versa for the next years. Necessities: Clear interfaces of calibration data are needed → database Clear definitions for calibration streams/handling in the analysis software “intelligence” in the handling of calibration data to improve on calibration Timecalibration WS - Comp&Soft — K. Graf — May 2017

Combined fit ( line shape) → future Other calibrations General Scheme Detector Acoustic system Orientation system Database Position Calibration Positions Orientation Combined fit ( line shape) → future Other calibrations Offline Analysis/Reco (could extent to quasi-online) Timecalibration WS - Comp&Soft — K. Graf — May 2017

What we currently use in offline calibration Position/orientation in detx – derived from standard detector geometry hard coded values no orientation at all T0 in detx – derived from in situ measurements + dark room (see time calibration procedure) Detx format: Human readable Large overhead (4MB for a buidling block)– redundant information on DOM geometry) only contains position, orientation and T0 Other calibration parameters (especially from K40 analysis) As ASCII files Timecalibration WS - Comp&Soft — K. Graf — May 2017

global_det_id format_version\n UTC_validity_from UTC_validity_to \n Dataformats See http://www.wiki.km3net.de/index.php/Dataformats Detx (v2) global_det_id format_version\n UTC_validity_from UTC_validity_to \n UTM_ref_grid UTM_ref_easting UTM_ref_northing UTM_ref_z \n ndoms \n dom_id line_id floor_id npmts \n pmt_id_global x y z dx dy dz t0 \n pmt_id_global x y z dx dy dz t0 \n ... pmt_id_global x y z dx dy dz t0 \n #repeat for each dom Timecalibration WS - Comp&Soft — K. Graf — May 2017

What we need Possibility to stream all calibration data from the database to analysis codes Stream should be efficient (small, only necessary information) Unique identification of the “best” available calibration on an event basis NB: ”best” could change in time possibility to use an intermediate data format for caching For now: position/orientation data, however: scheme should be extendable also to other calibration data, e.g. from K40 analysis Timecalibration WS - Comp&Soft — K. Graf — May 2017

Calibration Data for Offline Analysis Discussion between comp&soft, calibration and DAQ group Improvement necessary in data bookkeeping and data transfer Many parameters handled via ASCII files (MonitorK40 output, PMT parameters, etc). Better quality control needed Challenge: find the appropriate, best calibration for each individual event; pull the necessary information from the database Strategy defined: the detx file contains all general detector information for a given run – as is the case now; Additional (light-weight) calibration stream to provide data changing during run Position/orientation, (PMT information) Hosted at separate tables in the DB that mark the interface from calibration to analyses Giorgio to finalise the proposal Comp&Soft WG — K. Graf — PSC Meeting, May 2017

Proposal Store data in dedicated DB table(s) Time info (UTC time) Detector ID Calibration tag (define e.g. online, offline v1, v2, v3 calibration sets) (RUN) DOM ID Position (x,y,z) Orientation (yaw, pitch, roll) ... Repeat 1-7 for all DOMs in detector or: repeat 5-7 for all DOMs in detector? Detx provides the general setting (detector setup; DOM ID to position in detector; DOM geometry; T0s) Position/orientation is streamed as ntuple ⇒ result: detector object in the individual analysis/reco code Timecalibration WS - Comp&Soft — K. Graf — May 2017

How to retrieve from and store to the database calibration-related information Timecalibration WS - Comp&Soft — K. Graf — May 2017

Database Interaction Via dedicated pages, see http://www.wiki.km3net.de/index.php/Database/Sitemap E.g. detx: https://km3netdbweb.in2p3.fr/detx, see http://www.wiki.km3net.de/index.php/Software/Detector_Descriptions for all available detx-files Stream Data Service: ascii file streams, see http://www.wiki.km3net.de/index.php/Database/Stream_Data_Service XML and JSON Data Service: xml, json data file up- and download, see http://www.wiki.km3net.de/index.php/Database/XML_Data_Service E.g. tests/calibration upload: http://www.wiki.km3net.de/index.php/Database/Product_Tests_and_Para meters Special file parsers (for Excel files): Registration and Integration data upload Timecalibration WS - Comp&Soft — K. Graf — May 2017

How to define tests/calibrations Define parameters: Define test type: Link test type with parameters: Upload tests via XML service Timecalibration WS - Comp&Soft — K. Graf — May 2017

Handle Calibrations via Tags http://www.wiki.km3net.de/index.php/Database/Calibration_Handling we can handle calibration sets – by combining calibrations ⇒ add to run generation → easy to generate (xml file upload possible) Timecalibration WS - Comp&Soft — K. Graf — May 2017