Tomasz Szumlak (Glasgow University)

Slides:



Advertisements
Similar presentations
1 VLPC system and Cosmic Ray test results M. Ellis Daresbury Tracker Meeting 30 th August 2005.
Advertisements

GLAST LAT ProjectGLAST Flight Software IDT, October 16, 2001 JJRussell1 October 16, 2001 What’s Covered Activity –Monitoring FSW defines this as activity.
VELO Testbeam 2006 Tracking and Triggering Jianchun (JC) Wang Syracuse University VELO Testbeam and Software Review 09/05/2005 List of tasks 1)L0 trigger.
Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Managing A Self- Advocacy Organization Part 1. Intro  Hello!  Julia Bascom  Director of Programs for ASAN.
Eduardo Rodrigues, Glasgow University LHCb Alignment Working Week, CERN, 7-12 Jan How to work with different databases implementing misalignments.
06/03/06Calice TB preparation1 HCAL test beam monitoring - online plots & fast analysis - - what do we want to monitor - how do we want to store & communicate.
LC Software Workshop, May 2009, CERN P. Mato /CERN.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
C. Seez Imperial College November 28th, 2002 ECAL testbeam Workshop 1 Pulse Reconstruction Worth considering the experience of other experiments using.
Chris Parkes for VELO software Group VELO Software Overview & Shutdown Planning Organisation Milestones 3 Critical Areas.
Chris Parkes First results from the LHCb Vertex Locator Act 1: LHCb Intro. Act 2: Velo Design Act 3: Initial Performance for LHCb VELO groupVienna Conference.
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
1 VeLo L1 Read Out Guido Haefeli VeLo Comprehensive Review 27/28 January 2003.
Reconstruction Configuration with Python Chris Jones University of Cambridge.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
ALICE Condition DataBase Magali Gruwé CERN PH/AIP Alice Offline week May 31 st 2005.
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.
Refitting Tracks from DST E. Rodrigues, NIKHEF LHCb Tracking and Alignment Workshop, Lausanne, 8-9th November 2006  Motivations  Step-by-step …  Current.
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
K. Harrison CERN, 3rd March 2004 GANGA CONTRIBUTIONS TO ADA RELEASE IN MAY - Outline of Ganga project - Python support for AJDL - LCG analysis service.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
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.
David Hutchcroft 1 VELO software. Lite clusters in Kalman fit 2 The VELO clusters are available both as a lite and “full” version Two consecutive blocks.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
CHIPP meeting Appenberg, 24 Aug 2009 Preparation for LHC beam, Jeroen van Tilburg 1/15 Jeroen van Tilburg (Universität Zürich) LHCb: Preparation for LHC.
1 Level 1 Pre Processor and Interface L1PPI Guido Haefeli L1 Review 14. June 2002.
AliRoot survey: Analysis P.Hristov 11/06/2013. Are you involved in analysis activities?(85.1% Yes, 14.9% No) 2 Involved since 4.5±2.4 years Dedicated.
Prospects for Integrating Veloroot into GAUDI D. Steele - 24/11/1999.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
Chris Parkes, Silvia Borghi, Christoph Hombach WP2 Alignment Task: Status Report Introduction Alignment Monitoring – LHCb VELO Weak Modes – LHCb VELO AIDA.
Analysis experience at GSIAF Marian Ivanov. HEP data analysis ● Typical HEP data analysis (physic analysis, calibration, alignment) and any statistical.
Alien and GSI Marian Ivanov. Outlook GSI experience Alien experience Proposals for further improvement.
A novel approach to detector calibration parameter determination and detector monitoring Eduardo Rodrigues On behalf of the LHCb VELO Group CHEP 2010,
Thomas Ruf, CERN EP Experience with C++ and ROOT used in the VX Beam Test Thomas Ruf, CERN, EP  Why? Event structure for VX-data rather complex: raw hits.
Meeting with University of Malta| CERN, May 18, 2015 | Predrag Buncic ALICE Computing in Run 2+ P. Buncic 1.
LHCb 2009-Q4 report Q4 report LHCb 2009-Q4 report, PhC2 Activities in 2009-Q4 m Core Software o Stable versions of Gaudi and LCG-AA m Applications.
FPGA based signal processing for the LHCb Vertex detector and Silicon Tracker Guido Haefeli EPFL, Lausanne Vertex 2005 November 7-11, 2005 Chuzenji Lake,
AliRoot survey: Calibration P.Hristov 11/06/2013.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
ST Analysis: Introduction M. Needham EPFL. Outline Aims of the meeting Releasing code Performance Monitoring Results (IT and TT): Active fraction, noise.
Status of the analysis by the analysis team!. Join the stimulus Last meeting we were in a deep crisis… and we decided to sign a stimulus plan! We organized.
ST software status, Jeroen van Tilburg
Slow Control and Run Initialization Byte-wise Environment
Slow Control and Run Initialization Byte-wise Environment
Essentials of UrbanCode Deploy v6.1 QQ147
Detector building Notes of our discussion
On behalf of the LHCb VELO project
Migration of reconstruction and analysis software to C++
Applying Control Theory to Stream Processing Systems
PyBAR Firmware Structure and Operation Experience
Physics Software Towards first Physics data Reconstruction Alignment
Philippe Charpentier CERN – LHCb On behalf of the LHCb Computing Group
Pixel DQM Status & Plans
CMS Preshower: Startup procedures: Reconstruction & calibration
AIDA Alignment Package
Vertex 2005 November 7-11, 2005 Chuzenji Lake, Nikko, Japan
Development of built-in diagnostics in the RADE framework (EN2746)
Learning to Program in Python
Linear Collider Simulation Tools
VELO Software Status Some highlights of recent work
CMS Pixel Data Quality Monitoring
Approaching an ML Problem
ML – Lecture 3B Deep NN.
Muon Group Software Report
The CMS Tracking Readout and Front End Driver Testing
VELO Software Update TELL1 Algorithms Error analysis
The LHCb Front-end Electronics System Status and Future Development
First results from the LHCb Vertex Locator
Presentation transcript:

Tomasz Szumlak (Glasgow University) Configuration using python – feedback from VETRA (a happy user perspective) VETRA why do we (i.e. VELO) need it? VETRA tasks – modularization Configurable classes for VETRA Options files TED run – real test with real data Tomasz Szumlak, Eduardo Rodrigues Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Why VELO is a very precise and very complicated tool – a lot of things can go wrong with it, thus, we need some means to control it Let’s take a look what we can get out of the VELO Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Raw data types Zero Suppressed (ZS) Raw Bank – the main input for the tracking reconstruction phase; it contains encoded reconstructed hits (cluster objects). One ZS bank is produced for each active sensor on the acquisition board (TELL1) that handles data from the sensor Non-Zero Suppressed (NZS) Raw Bank – contains, so called, full data that was read out of one sensor (2048 samples). This data makes the main input for emulation Error Bank (EB) – contains information on synchronization errors produced by the TELL1 board Pedestal Bank (PB) – very similar to the NZS bank, contains 2048 pedestals ProcFull Bank (PF) – specialized bank for debugging purposes, identical with ZS bank except no thresholds are applied during the clusterization process Tomasz Szumlak (Glasgow University)

Non Zero Suppressed data TELL1 Emulation Non Zero Suppressed data Calibration Data stream needed to optimize processing Non-zero suppressed data at 0.1 Hz rate Run emulation of TELL1 board processing off-line to optimise algorithm performance 6 algorithms ~ 106 parameters Bit perfect emulation of FPGA performance Complex processing Strip lengths, radiation damage… Parameters used for readout board fixed in emulation Emulation Pedestal Subtraction Cross-talk Removal Common Mode Subtraction Reorderering Common Mode Subtraction Clusterization Emulated RawEvent Tomasz Szumlak (Glasgow University)

Processing parameters Noise Data Gaudi Job (Vetra) Tell1 Emulation Analysis Tuned Processing Parameters XML file XML2PVSS VELOCOND Monitoring/ verification job Tell1 Tomasz Szumlak (Glasgow University)

All of this can be done using VETRA project At the moment this is a joint-venture of VELO and ST I will concentrate on the VELO part only There is a LHCb note available: CERN-LHCb-2008-022 The official web page: http://lhcb-release-area.web.cern.ch/LHCb-release-area/DOC/vetra/ Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) VETRA There are great expectations for VETRA – wide range of application ZS data analysis/monitoring Full bank analysis/monitoring/emulation Error bank analysis Pedestal monitoring Bit-perfectness checking The Tell1 processing parameters training/verification Time alignment of the VELO Beetle headers analysis (and the X-Talk) … this list goes on… Vetra is not ‘linear application’, all of these tasks requires quite different configuration – try to come up with a number of ‘modules’ that can be used to build any task – this way we can shield end-user from a serious head ache (i.e., what’s inside VETRA) Tomasz Szumlak (Glasgow University)

VETRA – basics tasks – a model ZS_Decoding NZS_Decoding EB_Decoding (Error Bank) ZS_Decoding_TAE BPC_Decoding Bit-perfectness Raw data handling (phase_1) Para_Training Tell1 processing (phase_2) Tell1_Emulation Monitoring (phase_3) ZS_Moni NZS_Moni TAE_Moni Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Implementation Based on the simple task model we implemented a number of configurables that can be used to configure any composite task Description of the model and implementation can be found at: E. Rodrigues, T. Szumlak LHCb-INT-2009-006 VETRA configurable classes: The big boss – Configuration.py VetraTELL1ProcessingConf.py (decoders, emulation) VetraTELL1ParaTraining.py (the processing parameters tuning) VetraMoniConf.py (monitors) VetraOutputConf.py (want to write digi and/or run tracking?) Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Implementation # Steering options __slots__ = { 'DataType' : '2008' , 'DataBanks' : 'NZS+ZS' , 'Context' : 'Offline' , 'DDDBtag' : '' , 'CondDBtag' : '' , 'Simulation' : False , 'RunEmulation' : False , 'EmuMode' : 'Static' , 'EmuConvLimit' : 4096 , 'CheckEBs' : False , 'CheckTAEs' : False , 'ParaTraining' : False , 'BitPerfectness' : False , 'OutputType' : 'NONE' , 'HistogramFile' : 'Vetra_histos.root' , 'EvtMax' : -1 , 'SkipEvents' : 0 , 'MainSequence' : [ 'ProcessPhase/TELL1Processing', 'ProcessPhase/Moni', 'ProcessPhase/Output' ] } Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Problems handling Is that all? Let’s be smart and use python actually… Two more classes to make things nicer: Check options – consistency checking – if someone wants to do some nasty things (e.g., wrong option name) an exception will be thrown: VetraOptionError Handle the exceptions – should there is problem with the options (consistency) – handle the exception accordingly: VetraRuntimeError Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Checker in action Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Composite task A typical composite VETRA task would be to run a job over a mdf file with NZS and ZS data, decode and monitor the ZS data (clusters), run pedestal training and the emulation and monitor the noise at different processing stages How would the options file look like? (skiped module import lines) Looks easy and comprehensible… Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Some ‘cool’ features Some tasks are very similar, except a really tiny detail – no problem with python options whatsoever! For many tasks we need to specify, so called convergence limit, its value depends on what we want to do and needs to be distributed to many places, again, no problem with python Tomasz Szumlak (Glasgow University)

Using python for the ’09 TED run TED run 6th and 7th June Shots on the TED beam dump provide real tracks that in turn can be use to calibrate the VELO Helps the VELO to be ready for the collision data taking Almost the last opportunity to test the hardware/software before the LHC start During the last year TED runs we were able to collect ~2000 tracks In the proposal for the 2009 TED we were dreaming about having ~10 k real tracks (the processing paramters tuning needed) Actually we were able to get almost 60 k!! Great success of the TED data taking for the VELO! Tomasz Szumlak (Glasgow University)

Using python for the ’09 TED run A very important lesson that we got during 2008 TED – proper configuration is critical for stable run With so many goals to achieve and no less people around eager to do stuff we had last year a real mess with options files in no time (a large number of specific tasks) A lot of confusion – data base tags, adding/removing algorithms, etc. This time we took our time to design something smarter – python configuration framework turned out to be a real help We created all the needed specific options in 20 minutes and nobody was thinking about them for the next two days That stability was really surprising (and nice of course) – full off-line analysis of the data was available minutes after each file was taken Tomasz Szumlak (Glasgow University)

Using python for the ’09 TED run Panoramix run on plus Silvia Borghi& Thomas Ruf Tomasz Szumlak (Glasgow University)

Tomasz Szumlak (Glasgow University) Final remarks VETRA project options have been pythonized The python configurables provide very efficient and flexible framework Allows to configure easily complicated tasks using the power of the python languge End-user options files are easy to read/create All in all we had a very positive experience with the configurables A significant contribution to the successfull TED run! Tomasz Szumlak (Glasgow University)