LHCb Detector Description Framework Radovan Chytracek CERN Switzerland

Slides:



Advertisements
Similar presentations
March 24-28, 2003Computing for High-Energy Physics Configuration Database for BaBar On-line Rainer Bartoldus, Gregory Dubois-Felsmann, Yury Kolomensky,
Advertisements

25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
Witek Pokorski, Radovan Chytracek, Jeremy McCormick, Giovanni Santin
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e How to pass a detector geometry to.
LHCb Simulation Tutorial CERN, 21 st -22 nd February B 00 l e Detector Simulation and Geant4.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
1 GAUDI - The Software Architecture and Framework for building LHCb data processing applications Marco Cattaneo, CERN February 2000.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Gaudi Framework Tutorial, XML The persistent world.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett The Athena Control Framework in Production, New Developments and Lessons Learned.
W. Pokorski - EP/SFT Simulation Project1 GDML - recent developments Witek Pokorski
MINER A Software The Goals Software being developed have to be portable maintainable over the expected lifetime of the experiment extensible accessible.
Introduction to Gaudi LHCb software tutorial - September
XML in Atlas: from generic to parametric detector description Stan Bentvelsen NIKHEF Amsterdam XML workshop, CERN, May 22.
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
The Persistency Patterns of Time Evolving Conditions for ATLAS and LCG António Amorim CFNUL- FCUL - Universidade de Lisboa A. António, Dinis.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
What is XML? eXtensible Markup Language eXtensible Markup Language A subset of SGML (Standard Generalized Markup Language) A subset of SGML (Standard Generalized.
Detector Description in LHCb (Extended Version) Detector Description Workshop 4 July 2002 S. Ponce - CERN.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
GAUDI Muon Software  Algorithms : Muon Digitization MuonL0Trigger MuonIdentification  Detector Description Database  Transient Detector Store  Detector.
Computing R&D and Milestones LHCb Plenary June 18th, 1998 These slides are on WWW at:
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
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,
General requirements for BES III offline & EF selection software Weidong Li.
CERN Tutorial, February Introduction to Gaudi.
D. Duellmann - IT/DB LCG - POOL Project1 The LCG Dictionary and POOL Dirk Duellmann.
27 March 2003RD Schaffer & C. Arnault CHEP031 Use of a Generic Identification Scheme Connecting Events and Detector Description in Atlas  Authors: C.
Gloria Corti, CERN Credits to Chris Jones, Wouter Hulsbergen, Sajan Easo, Dima Popov Computing Workshop Online/Databases/Detector Description Session Paris.
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
LHCb Software Week 25/11/99 Gonzalo Gracia Abril 1 r Status of Geant4 in LHCb. r Ideas on how to populate the LHCb Detector Description Data Base (LHCb.
New Xml Converters General presentation of Xml converters The old way
(on behalf of the POOL team)
New Xml Converters General presentation of Xml converters The old way
CMS High Level Trigger Configuration Management
XML QUESTIONS AND ANSWERS
Controlling a large CPU farm using industrial tools
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Database Processing with XML
Marco Cattaneo, CERN February 2000
XML in LHCb Detector Description Framework Radovan Chytracek CERN
SW Architecture SG meeting 22 July 1999 P. Mato, CERN
Data Persistency Solution for LHCb
Detector Description in LHCb
Metadata The metadata contains
Simulation and Physics
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
G4 Workshop 2002 Detector Description Parallel Session
Major Design Criteria Clear separation between “data” and “algorithms”
Detector Geometry Description
CSE591: Data Mining by H. Liu
GAUDI Detector Description News Radovan Chytracek 5/1/2019
The Calorimeter Detector Description
Detector description News
Event Storage GAUDI - Data access/storage Framework related issues
Andrea Valassi Pere Mato
Use Of GAUDI framework in Online Environment
Planning next release of GAUDI
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Calibration Infrastructure Design
Presentation transcript:

LHCb Detector Description Framework Radovan Chytracek CERN Switzerland

Detector Description Overview Component of the Gaudi framework Inherits the Gaudi architecture decisions Separation of data and algorithms Separation of transient and persistent data representations different data types may be stored in a different way Data centered architectural style Detector description provides Single source of detector data for all clients simulation, reconstruction, analysis, test beam It is not detector geometry only! logical detector structure, geometry & positions, materials, mapping electronic channels to detector cells, detector control data needed for reconstruction, calibration and alignment data Versioning of all detector data based on event time, run #, etc. 12/4/2018 Radovan Chytracek

Detector Data Store Persistent Detector Store Detector Persistency DetElement DetElement1 DetElement2 Persistent Detector Store Algorithm Detector Persistency Service Converter Transient Detector Store DetElement2 DetElement1 Detector Data Service Geant4 Service G4Converter Geant4 Representation The transient detector store contains a “snapshot” of the detector data valid for the currently processed event 12/4/2018 Radovan Chytracek

Transient Detector Store Root of the store Top level catalogues Top level catalogues Top level catalogues Tree-like structure Items identified by a logical name Updated on demand Automatic update when a new event is loaded 12/4/2018 Radovan Chytracek

Class Diagram (simplified) DetElement Geometry Info ReadOut Calibration Hierarchy DataObject * Detector Description Association resolved on demand LVolume PVolume Solid Geometry SolidBox * Material Element Mixture Isotope * MuonStation Specific detector description questions from algorithms 12/4/2018 Radovan Chytracek

Persistent Detector Store The Gaudi architecture shields end users from a persistent technology Allows co-existence of different persistency technologies technology specific code only on well defined places services and converters We don’t know which technologies will be available in 2005 We use XML as our persistent data format XML can be stored in files, WWW, database 12/4/2018 Radovan Chytracek

XML Briefly XML is the XML features W3C Recommendation XML 1.0 subset of SGML 20% complexity 80% flexibility of SGML Application independent data interchange format XML features User defined tags Data self described Hyperlinks Properly nested tags forming a tree structure Data separated from behavior Safe investment in data and manpower increasing support for XML in the industry maintained outside CERN Problems with XML C++ to XML mapping Inheritance Performance Data Management 12/4/2018 Radovan Chytracek

C++ to XML 12/4/2018 Radovan Chytracek

Inheritance in XML Definition of the user XML tags Detector specific <!DOCTYPE DDDB SYSTEM "xmldb.dtd" [ <!--Number of stations in Vertex detector--> <!ELEMENT SiTankRadius EMPTY> <!ATTLIST SiTankRadius n CDATA #REQUIRED> <!ELEMENT DiodePitch EMPTY> <!ATTLIST PiodePitch n CDATA #REQUIRED> <!ELEMENT ReadoutPitch EMPTY> <!ATTLIST ReadoutPitch n CDATA #REQUIRED> ]> <DDDB> <detelem classID="9999" name="Vertex"> ... <geometryinfo> <lvname name="/dd/Geometry/lvVertex" /> <support name="/dd/Structure/LHCb"> <rpath value="0" /> </support> </geometryinfo> <detelemref classID="2" href="#VStation01"/> <detelemref classID="2" href="#VStation02"/> <specific> <SiTankRadius n=‘17’ /> <DiodePitch n=‘0.0025’ /> <ReadoutPitch n=‘0.0050’ /> </specific> </detelem> </DDDB> Definition of the user XML tags Detector specific data 12/4/2018 Radovan Chytracek

XML Conversion It can be any XML parser supporting SAX API for C++ XML Converter Transient Store XML data XML Parser SAX API It can be any XML parser supporting SAX API for C++ SAX - Simple API for XML 12/4/2018 Radovan Chytracek

Conclusions Status Future steps XML based det. descr. is the integral part of Gaudi Working on NT, Linux Future steps Versioning Population of the XML DDDB from the LHCb detector description based on Geant3 Define the XML format for conditions calibration, alignment, channel maps, slow control, ... Implement the XML DDDB in the conjunction with a “real” DB (RD45 Conditions/DB, Oracle, ...) 12/4/2018 Radovan Chytracek