David Adams ATLAS Hybrid Event Store Integration with Athena/StoreGate David Adams BNL March 5, 2002 ATLAS Software Week Event Data Model and Detector.

Slides:



Advertisements
Similar presentations
Chap 4 Multithreaded Programming. Thread A thread is a basic unit of CPU utilization It comprises a thread ID, a program counter, a register set and a.
Advertisements

Athena/POOL integration
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL March 25, 2003 CHEP 2003 Data Analysis Environment and Visualization.
Chapter 2: Algorithm Discovery and Design
CSE 111: Object Oriented Design. Design “To program is human but to design is divine” (WEH)
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL June 23, 2003 GAE workshop Caltech.
Chapter 2: Algorithm Discovery and Design
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Chapter 10 Architectural Design
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
David Adams ATLAS ATLAS Distributed Analysis David Adams BNL March 18, 2004 ATLAS Software Workshop Grid session.
David Adams ATLAS AJDL: Analysis Job Description Language David Adams BNL December 15, 2003 PPDG Collaboration Meeting LBL.
6 th Annual Focus Users’ Conference Manage Integrations Presented by: Mike Morris.
David Adams ATLAS DIAL status David Adams BNL July 16, 2003 ATLAS GRID meeting CERN.
Event Data History David Adams BNL Atlas Software Week December 2001.
Datasets on the GRID David Adams PPDG All Hands Meeting Catalogs and Datasets session June 11, 2003 BNL.
GLAST Gaudi Code Review, 10 Sept. 2002, H. Kelly, 2-1 GLAST Event Data Model and Persistency.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER 1 ACAT 2000, Fermilab Oct Control States... Control States for the Atlas Software Framework.
David Adams ATLAS DIAL status David Adams BNL November 21, 2002 ATLAS software meeting GRID session.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
1 15 quality goals for requirements  Justified  Correct  Complete  Consistent  Unambiguous  Feasible  Abstract  Traceable  Delimited  Interfaced.
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
David Adams ATLAS Virtual Data in ATLAS David Adams BNL May 5, 2002 US ATLAS core/grid software meeting.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
Final Review. From ArrayLists to Arrays The ArrayList : used to organize a list of objects –It is a class in the Java API –the ArrayList class uses an.
David Adams ATLAS ATLAS distributed data management David Adams BNL February 22, 2005 Database working group ATLAS software workshop.
David Adams ATLAS ATLAS Distributed Analysis: Overview David Adams BNL December 8, 2004 Distributed Analysis working group ATLAS software workshop.
Valeri Fine Athena/POOL integration.
- GMA Athena (24mar03 - CHEP La Jolla, CA) GMA Instrumentation of the Athena Framework using NetLogger Dan Gunter, Wim Lavrijsen,
David Adams ATLAS Datasets for the Grid and for ATLAS David Adams BNL September 24, 2003 ATLAS Software Workshop Database Session CERN.
Chapter – 8 Software Tools.
David Adams ATLAS ATLAS Distributed Analysis (ADA) David Adams BNL December 5, 2003 ATLAS software workshop CERN.
David Adams ATLAS ATLAS Distributed Analysis and proposal for ATLAS-LHCb system David Adams BNL March 22, 2004 ATLAS-LHCb-GANGA Meeting.
Framework support for Accelerators Sami Kama. Introduction Current Status Future Accelerator use modes Symmetric resource Asymmetric resource 09/11/2015.
David Adams ATLAS AJDL: Abstract Job Description Language David Adams BNL June 29, 2004 PPDG Collaboration Meeting Williams Bay.
David Adams ATLAS ADA: ATLAS Distributed Analysis David Adams BNL December 15, 2003 PPDG Collaboration Meeting LBL.
Athena StoreGate Tutorial: May 30, Objectives Learn how to access data objects using StoreGate How to record/retrieve by TYPE Optionally using keys.
4 Dec., 2001 Software Week Data flow in the LArG Reconstruction software chain Updated status for various reconstruction algorithm LAr Converters and miscellaneous.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL May 19, 2003 BNL Technology Meeting.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Transient Conditions/Detector Store using StoreGate ATLAS Software Workshop.
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
Architecture Review 10/11/2004
Root I/O and the Gaudi Framework
OPERATING SYSTEM CONCEPT AND PRACTISE
Muen Policy & Toolchain
Using E-Business Suite Attachments
Migration of reconstruction and analysis software to C++
POAD Book: Chapter 8 POAD: Analysis Phase
Deploying and Configuring SSIS Packages
OGSA Data Architecture Scenarios
CHAPTER 2 CREATING AN ARCHITECTURAL DESIGN.
Machine Independent Features
Chapter 5 Designing the Architecture Shari L. Pfleeger Joanne M. Atlee
SW Architecture SG meeting 22 July 1999 P. Mato, CERN
Patterns.
Format String.
Software Requirements Specification Document
Lecture 2- Query Processing (continued)
A Simple Two-Pass Assembler
Raw Event Conversion Service in BOSS framework
Design Yaodong Bi.
Event Storage GAUDI - Data access/storage Framework related issues
Use Of GAUDI framework in Online Environment
Message Passing Systems Version 2
Accessing Event Data Schedule: Timing Topic 20 minutes Lecture
Calibration Infrastructure Design
Message Passing Systems
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

David Adams ATLAS Hybrid Event Store Integration with Athena/StoreGate David Adams BNL March 5, 2002 ATLAS Software Week Event Data Model and Detector Description Session

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session2 Contents Introduction Athena/HES components –HES –StoreView –StoreSvc –Proxy –DataHandle –StoreGateSvc –DataLink –AHesView Tasks and schedule

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session3 Athena/HES components Figure The following page shows selected components of Athena and HES and their physical dependencies. The Athena/StoreGate components (DataLink,…) shaded in blue are new or will have to be modified to integrate HES into Athena/StoreGate. –These are discussed in the following sections.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session4 Athena/HES components (cont)

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session5 HES Definition Define a subsystem called HES which has no dependencies on StoreGate, Athena or Gaudi. HesView is the top of this subsystem. This subsystem will be discussed in the DB meeting on Thursday. Links to this talk and that one can be found on the hybrid web page –

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session6 StoreView Purpose StoreView is a new abstract interface which allows Athena to interact with different persistent stores in a generic manner. Each persistent storage mechanism to be used in Athena will provide an implementation of this interface. –HES –ZEBRA –Objectivity?

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session7 StoreView (cont) Interface Select the next event ID. Read an input event –Identify the included type-keys and create proxies in StoreGate –Locate the data (on demand from proxy) for any of these EDO’s Write an output event –Take ownership of selected new EDO’s >(add EDO ID to proxy) –Write EDO’s to selected output streams

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session8 StoreView (cont) Configuring a job The choice of store view (or views) and their configuration is made at run time using Gaudi JobOptions –StoreView is a Gaudi service –No physical dependence on concrete implementation except that library must be provided at run time

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session9 StoreSvc Purpose StoreSvc provides the interface between the store views and the rest of Athena/StoreGate StoreSvc holds one or more store views –Requests are fulfilled by forwarding to a selected view or looping over all views. –Each view is assigned an ID called store ID.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session10 StoreSvc (cont) Interface for reading Assign the next event ID –Pass request to a designated store –Or assign in some other manner (e.g. user input) Define input event –Loop over store views Fetch data –Given a proxy for an EDO that has not be located, >identify the appropriate view and >ask the view to locate the EDO

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session11 StoreSvc (cont) Interface for writing Stream selection –Run selection algorithms and notify views which streams should be written. EDO ownership –Give each view the opportunity to take ownership of EDO’s in StoreGate. Writing data –Give each view the option to to write EDO’s from StoreGate (or from that view).

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session12 StoreSvc (cont) Configuring a job Configure in job options –StoreSvc is a Gaudi service –No physical dependency on Athena/StoreGate

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session13 Proxy Purpose The transient data store (StoreGateSvc) “holds” EDO’s by proxy. This allows us to –Defer output conversion until all data is produced and selections are made –Defer input conversion until data is accessed HES environment It is sensible to also defer location on input Some data may not be accessible

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session14 Proxy (cont) Proxies will be modified for HES From persistent store, there will be four states: –No data; proxy has type, key, store ID and EDO ID –Above plus IOpaqueAddress (EDO located) –Above plus transient address (EDO converted) –Marked inaccessible (EDO cannot be located) For proxies from transient store, it will be possible to assign ownership (EDO ID). Proxy uses StoreSvc to locate EDO when desired.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session15 DataHandle Current usage A data handle is returned when a user asks StoreGate for an EDO. Conversion may be deferred. Changes (implied by change in proxy) Location may also be deferred. DataHandle may be invalid because the EDO cannot be located.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session16 StoreGateSvc Purpose and current implementation StoreGateSvc is the transient data store. Single instance holds data (by proxy) for current event. –Pileup adds more Given a type and key, StoreGate returns a DataHandle for the corresponding EDO –Any type-key may not be duplicated in the store

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session17 StoreGateSvc (cont) Changes One instance will hold proxies for visible data –Directly accessed from algorithms Other(s) will hold proxies for data which is accessible (by reference) but not visible. Request for data from DataLink will include EDO ID in addition to type-key. –Only EDO with matching ID is returned. –Someone has to search the other transient stores if match is not found in the visible store >Visible store knows the reference stores?

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session18 DataLink Purpose and current implementation DataLink provides a persistent mechanism to reference objects in other EDO’s. Persistent data includes: –EDO specifier and –index specifying the location of object in EDO. At present, EDO specifier is the type and key and an event ID implied by context. Any StoreGate EDO with matching type and key can serve as the reference EDO

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session19 DataLink (cont) Changes: In the new model, we explicitly recognize that persistent store may hold multiple EDO’s with the same event ID, type and key. Persistent data for the DataLink will also include the ID of the referenced EDO. May also need to add (transient) store ID to resolve EDO ID ambiguities between different store types.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session20 AHesView Implementation of StoreView for HES Depends on both Athena/StoreGate and the HES core software. –Creates proxies –Puts proxies in StoreGate –Calls converters to write data See talk at DB session for information on the HES core.

David Adams ATLAS March 5, 2002HES in Athena SW week – EDM session21 Tasks and schedule Requirements Sufficient functionality to use HES as the primary storage mechanism for DC1-2. We would like a first implementation by June 1. Estimate the Athena/HES piece will require 7 FTE-weeks for this implementation. –2X contingency We need to adjust priorities to meet this schedule.