Framework for Online Alignment 4th LHCb Computing Workshop 6 November 2014 Beat Jost / Cern.

Slides:



Advertisements
Similar presentations
The map and reduce functions in MapReduce are easy to test in isolation, which is a consequence of their functional style. For known inputs, they produce.
Advertisements

BARNALI CHAKRABARTY. What is an Operating System ?
Business logic for annotation workflow Tom Oldfield July 21, 2010.
CWG10 Control, Configuration and Monitoring Status and plans for Control, Configuration and Monitoring 16 December 2014 ALICE O 2 Asian Workshop
Slow Control LHCf Catania Meeting - July 04-06, 2009 Lorenzo Bonechi.
CHEP 2012 – New York City 1.  LHC Delivers bunch crossing at 40MHz  LHCb reduces the rate with a two level trigger system: ◦ First Level (L0) – Hardware.
Batch Production and Monte Carlo + CDB work status Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
1 Frameworks. 2 Framework Set of cooperating classes/interfaces –Structure essential mechanisms of a problem domain –Programmer can extend framework classes,
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 A Control Software for the ALICE High Level Trigger Timm.
Useful Tools for Testing
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Operating Systems.
Control and monitoring of on-line trigger algorithms using a SCADA system Eric van Herwijnen Wednesday 15 th February 2006.
Scheduler Activations Jeff Chase. Threads in a Process Threads are useful at user-level – Parallelism, hide I/O latency, interactivity Option A (early.
Large scale data flow in local and GRID environment V.Kolosov, I.Korolko, S.Makarychev ITEP Moscow.
SOFTWARE.
JetWeb on the Grid Ben Waugh (UCL), GridPP6, What is JetWeb? How can JetWeb use the Grid? Progress report The Future Conclusions.
May 14, 2001E. Gallas/Trigger Database1 Status of the Trigger Database Elizabeth Gallas, Rich Wellner, Vicky White Fermilab - Computing Division See my.
Gaudi Framework Tutorial, April Introduction.
Modeling Process CSCE 668Set 14: Simulations 2 May be several algorithms (processes) runs on each processor to simulate the desired communication system.
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
(Business) Process Centric Exchanges
Real data reconstruction A. De Caro (University and INFN of Salerno) CERN Building 29, December 9th, 2009ALICE TOF General meeting.
Event Data History David Adams BNL Atlas Software Week December 2001.
Introduction to Gaudi LHCb software tutorial - September
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Framework for MDO Studies Amitay Isaacs Center for Aerospace System Design and Engineering IIT Bombay.
Trigger input to FFReq 1. Specific Issues for Trigger The HLT trigger reconstruction is a bit different from the offline reconstruction: – The trigger.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
5/2/  Online  Offline 5/2/20072  Online  Raw data : within the DAQ monitoring framework  Reconstructed data : with the HLT monitoring framework.
Week 14 Introduction to Computer Science and Object-Oriented Programming COMP 111 George Basham.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
Online System Status LHCb Week Beat Jost / Cern 9 June 2015.
PROOF and ALICE Analysis Facilities Arsen Hayrapetyan Yerevan Physics Institute, CERN.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
9/12/99R. Moore1 Level 2 Trigger Software Interface R. Moore, Michigan State University.
DØ Offline Reconstruction and Analysis Control Framework J.Kowalkowski, H.Greenlee, Q.Li, S.Protopopescu, G.Watts, V.White, J.Yu.
Understand Windows Services Software Development Fundamentals LESSON 5.3.
ProShell Procedure Framework Status MedAustron Control System Week 2 October 7 th, 2010 Roland Moser PR a-RMO, October 7 th, 2010 Roland Moser 1.
Examine Overview D0 Online Workshop June 3, 1999 Jae Yu Outline 1. What is an Examine? 2. How Many Examines? 3. How does it work? 4. What are the features?
CERN Tutorial, February Introduction to Gaudi.
November 1, 2004 ElizabethGallas -- D0 Luminosity Db 1 D0 Luminosity Database: Checklist for Production Elizabeth Gallas Fermilab Computing Division /
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
Summary of Workshop on Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Computing Day February 28 th 2005.
Alignment in real-time in current detector and upgrade 6th LHCb Computing Workshop 18 November 2015 Beat Jost / Cern.
Random Logic l Forum.NET l State Machine Mechanism Forum.NET 1 st Meeting ● December 27, 2005.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
1 Chapter 11 Global Properties (Distributed Termination)
Analysis experience at GSIAF Marian Ivanov. HEP data analysis ● Typical HEP data analysis (physic analysis, calibration, alignment) and any statistical.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
Markus Frank (CERN) & Albert Puig (UB).  An opportunity (Motivation)  Adopted approach  Implementation specifics  Status  Conclusions 2.
FUNCTIONS (C) KHAERONI, M.SI. OBJECTIVE After this topic, students will be able to understand basic concept of user defined function in C++ to declare.
LHCb Alignment Strategy 26 th September 2007 S. Viret 1. Introduction 2. The alignment challenge 3. Conclusions.
Maite Barroso – WP4 Workshop – 10/12/ n° 1 -WP4 Workshop- Developers’ Guide Maite Barroso 10/12/2002
Computer Science 516 A Little On Finite State Machines.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Useful Tools for Testing
“Algorithm Tools” what they are, how to get them and how to use them
CMS DCS: WinCC OA Installation Strategy
Controlling a large CPU farm using industrial tools
Cluster Communications
HLT & Calibration.
Data Groupings: File File: a group of related records
Software Development Process Using UML Recap
Introduction to Methods and Interfaces
Presentation transcript:

Framework for Online Alignment 4th LHCb Computing Workshop 6 November 2014 Beat Jost / Cern

Beat Jost, Cern General Idea 2 4th LHCb Computing Workshop, 6 November 2014 ❏ Use the HLT farm nodes to process (selected) event data (Analysers): ~1500 copies ❏ The results of the event analysis are collected by an Iterator (only one) that will provide the next set of parameters the analysers will use to redo the event processing ❏ Once the iteration process has converged (or failed) the Alignment process is finished and the final parameter set is stored for future use ❏ The entire process is driven and steered by the run controller via the FSM machinery

Beat Jost, Cern Pictorially 3 4th LHCb Computing Workshop, 6 November 2014 Iterator (Central Node) Analyzer (Farm Node) Analyzer (Farm Node) Alignment Constants Analysis Results … Alignment Constants ~1500 Copies Event Data

Beat Jost, Cern Task Finite State Machine ❏ Standard Online Task FSM ❏ Each task in the system runs this FSM ❏ The sequencing of the different tasks is performed by the run controller and its internal rules 4 4th LHCb Computing Workshop, 6 November 2014 Offline Ready RunningPaused configure (initialize) start pause continue stop reset(finalize)

Beat Jost, Cern Global FSM and sequencing 5 4th LHCb Computing Workshop, 6 November 2014 ❏ The Analyzers issue the pause transition when they have finished the processing of the events (EoF). ❏ The run controller only send the stop command to the Analysers when ALL are paused. During this transition the Analysers ‘publish’ the results of the analysis. ❏ When all Analysers are in the ready state the run controller sends the pause command to the Iterator, which collects the results of the Analysers and calculated the next set of parameters and issues the continue command to the run controller. ❏ The run controller will issue the start command to the Analysers, which will read the new parameters and analyse the data again ❏ And so on… Slave initiated

Beat Jost, Cern Framework Components ❏ The Tasks (Iterator and Analyser) are each composed of two components ➢ A framework service that ensures proper interaction with the run controller ➢ A user component (AlgTool) that implements the real work of the alignment process ❏ Iterator: ➢ Framework Code: AlignDrv, implementing IAlignDrv + OnlineService ➢ User Code: implementing IAlignIterator interaface (basically one routine) and calling the methods of IAlignDrv + doing the real work ❏ Analyser: ➢ If a “standard” event processing (e.g. Brunel-like) application is run, there is no additional coding need, besides the reading of the parameter set in the start transition. The pause transition is called by the online file selector automatically at EoF. 6 4th LHCb Computing Workshop, 6 November 2014

Beat Jost, Cern Current Status ❏ Tracking Alignment (Velo, ST, OT) has been implemented and seems to work (Wouter, me) ➢ Currently suffering from version hell, but just need to build a consistent version of the Alignment Project ➢ HLT1 special selection line is implemented. ➢ Information interchange between farm nodes and Iterator via NFS files ➥ Need to check scalability ❏ Rich Mirror Alignment under construction (Paras, me) ➢ Managed to run the Panoptes flavour of Brunel on the farm nodes on a 2012 output file ➢ HLT1 special selection line under construction ➢ Work on the iterator skeleton started ➢ Information exchange ➥ Analysis results via standard histogram adding ➥ Parameter sets via NFS files ❏ Bandwidth Division under construction (Eric et al.) 7 4th LHCb Computing Workshop, 6 November 2014

Backup Slides

Beat Jost, Cern Iterator Classes namespace LHCb { class AlignDrv: public extends2 { public: AlignDrv(const std::string& name, ISvcLocator* sl); virtual ~AlignDrv(); virtual StatusCode start(); virtual StatusCode initialize(); virtual StatusCode finalize(); virtual StatusCode run(); virtual StatusCode stop(); virtual StatusCode pause(); virtual void setRunOnce(); virtual void waitRunOnce(); virtual void handle(const Incident& inc); std::string m_PartitionName; std::string m_RefFileName; std::string m_FitterClass; std::string m_FitterName; bool m_runonce; IGauchoMonitorSvc *m_MonSvc; IAlignIterator *m_fitter; void writeReference(); void doContinue(); void doStop(); IIncidentSvc *incidentSvc () {return OnlineService::incidentSvc();}; IToolSvc *m_ToolSvc; IGauchoMonitorSvc *getMonSvc(); }; } 9 4th LHCb Computing Workshop, 6 November 2014 class GAUDI_API IAlignDrv: virtual public IInterface { public: DeclareInterfaceID(IAlignDrv,1,0); virtual void writeReference()=0; virtual void waitRunOnce()=0; virtual void doContinue()=0; virtual void doStop()=0; }; class IAlignIterator : virtual public IAlgTool { public: DeclareInterfaceID(LHCb::IAlignIterator,1,0); virtual StatusCode i_start()=0; }; System Interface called by user code User Interface called by AlignDrv The heart of the iteration code is executed in a separate thread so that commands from the run controller can still be received.