Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.

Slides:



Advertisements
Similar presentations
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Advertisements

Blueprint RTAGs1 Coherent Software Framework a Proposal LCG meeting CERN- 11 June Ren é Brun ftp://root.cern.ch/root/blueprint.ppt.
15 March, 2000LHCb Computing1 Software Review Panel LHCb Answers to Architecture, Data Model and Program Infrastructure Pere Mato for the LHCb Collaboration.
25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
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.
Mokka and integration of the geometry AIDA kick-off meeting WP2 session: Common software tools 17 February 2011 – CERN Paulo Mora de Freitas and Gabriel.
Gaudi Framework Tutorial, April Introduction.
M.Frank LHCb/CERN - In behalf of the LHCb GAUDI team Data Persistency Solution for LHCb ã Motivation ã Data access ã Generic model ã Experience & Conclusions.
3 Sept 2001F HARRIS CHEP, Beijing 1 Moving the LHCb Monte Carlo production system to the GRID D.Galli,U.Marconi,V.Vagnoni INFN Bologna N Brook Bristol.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
LC Software Workshop, May 2009, CERN P. Mato /CERN.
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.
G.Barrand, LAL-Orsay OpenScientist Status (v11) Relationship with AIDA
Emmanuel Delage LPC Clermont – IN2P3/CNRS – Clermont Université
Nick Brook Current status Future Collaboration Plans Future UK plans.
Updating JUPITER framework using XML interface Kobe University Susumu Kishimoto.
Gaudi Framework Tutorial, XML The persistent world.
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.
ALICE, ATLAS, CMS & LHCb joint workshop on
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
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.
Status of the ATLAS Detector description Stan Bentvelsen Berkeley software week May 2000.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
GAUDI Muon Software  Algorithms : Muon Digitization MuonL0Trigger MuonIdentification  Detector Description Database  Transient Detector Store  Detector.
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
Rack Wizard LECC 2003 Frank Glege. LECC Frank Glege - CERN2/12 Content CMS databases - overview The equipment database The Rack Wizard.
Configuration database status report Eric van Herwijnen September 29 th 2004 work done by: Lana Abadie Felix Schmidt-Eisenlohr.
General requirements for BES III offline & EF selection software Weidong Li.
CERN Tutorial, February Introduction to Gaudi.
The LHCb simulation application, Gauss: design, evolution and experience M. Clemencic (CERN), G. Corti (CERN), S. Easo (RAL), C. Jones (Cambridge), S.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
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.
Overview Methodology Design Architecture Outline of future work Ideas for discussion.
9/29/ CMS Detector Description: New Developments Ad Aerts Eindhoven University of Technology, Eindhoven, The Netherlands Martin Liendl CERN, Geneva,
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
Detector Description (Overview) C.Cheshkov. 25/9/2006Detector Description (C.Cheshkov)OutlineTerminology Overview on: Detector geometry implementation.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
VI/ CERN Dec 4 CMS Software Architecture vs Hybrid Store Vincenzo Innocente CMS Week CERN, Dec
Marco Cattaneo, 3-June Event Reconstruction for LHCb  What is the scope of the project?  What are the goals (short+medium term)?  How do we organise.
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.
CMS High Level Trigger Configuration Management
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
Marco Cattaneo, CERN February 2000
XML in LHCb Detector Description Framework Radovan Chytracek CERN
SW Architecture SG meeting 22 July 1999 P. Mato, CERN
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Data Persistency Solution for LHCb
Various News From Detector Description
Detector Description in LHCb
GAUSS - GEANT4 based simulation for LHCb
Raw Event Conversion Service in BOSS framework
Simulation and Physics
Major Design Criteria Clear separation between “data” and “algorithms”
Detector Geometry Description
Andrea Valassi Pere Mato
Use Of GAUDI framework in Online Environment
Development of LHCb Computing Model F Harris
Planning next release of GAUDI
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Calibration Infrastructure Design
Presentation transcript:

Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN

13 June 2002LHCb Detector Description2 Contents  Architecture  Transient layer  Persistency layer : XML  Condition Database  Visualization  Interfacing Geant4  Status & examples

13 June 2002LHCb Detector Description3 Calibration Architecture Overview GDML ? XML Condition Database Transient Store Materials Structure Geometry … Visualization (Panoramix) Simulation (Gauss/Geant4) Reconstruction (Brunel) Analysis (Da Vinci) DAQ ?

13 June 2002LHCb Detector Description4 Architecture  Sub-Architecture of Gaudi –Same principles –Transient/Persistent representations  Focus on the “Physics Algorithm”  Coherent access to “all” detector data –Geometry, Calibration, Slow Control, etc. Converter Algorithm Event Data Service Persistency Service Data Files Algorithm Transient Event Store Detec. Data Service Persistency Service Data Files Transient Detector Store Message Service JobOptions Service Particle Prop. Service Other Services Histogram Service Persistency Service Data Files Transient Histogram Store Application Manager Converter Event Selector Gaudi Architecture

13 June 2002LHCb Detector Description5 Logical Structure  The basic object is a Detector Element –Identification –Navigation (tree-like)  DetElement as information center –Be able to answer any detector related question »E.g. global position of strip#, temperature of detector, absolute channel gain, etc. –Placeholder for specific code »The specific answers will be coded by “Physicists” DetElement * MyDetector

13 June 2002LHCb Detector Description6 Algorithm Accessing Detector Data Geometry DetectorData Service Algorithm Transient Detector Store Manages store Synchronization updates DetElement Geometry Info IGeometryInfo Calibration ReadOut IReadOut ICalibration IDetElement MuonStation request request: get, update reference beginEvent Conditions DB Other DBs Persistency Service Conversion Service Conversion Service Conversion Service

13 June 2002LHCb Detector Description7 Simplified Diagram DetectorElementMuonStation Geometry Info IGeometryInfo ReadOut Hierarchy Calibration IReadOut ICalibration Specific detector description questions from algorithms LVolumePVolumeDataObjectSolid ISolid MaterialElementMixture IMaterial Detector DescriptionGeometryMaterial IDetectorElement ILVolume Solid SolidBoxIsotope IPVolume * * ** Association resolved on demand

13 June 2002LHCb Detector Description8 Persistency based on XML files  XML is used as persistent representation of the Structure, Geometry and Materials (eventually also Conditions)  Mapping each C++ class into an XML element –Inheritance emulation (Generic and Specific Detector Element) –Relationships using “Links” and symbolic names  Allow math expressions with parameters and physical units –Using expression evaluator (available in CLHEP)

13 June 2002LHCb Detector Description9 XML Files  Separated XML files –By sub-detector and data type (structure, geometry, material) –Low coupling of developments  Links between files through references –allows to see the whole description as a single XML tree  Versioning done using CVS  Possible migration to the “Conditions DB”

13 June 2002LHCb Detector Description10 XML Converters  Capable of converting (one way for the time being) XML into C++ objects –Using DOM interface (Xerces-C) –Specific converters for specific “DetElement” (to be provided by users)  Available Converters –Structure: Catalog, DetElement –Geometry: LVolume, Surface, Solids (various shapes, boolean), PVolumes (parametric) –Materials: Isotope, Element, Mixture, TabulatedProperty

13 June 2002LHCb Detector Description11 XML Detector Description Editor  Developed a graphical editor to “hide” XML to the end-users (physicists) –It understands our model (DTD) –But it’s generic (possible to use another DTD) –It understands “links” and allow us to edit a web of XML files as a single tree –It’s implemented in Java (portable)

13 June 2002LHCb Detector Description12 XMLEditor

13 June 2002LHCb Detector Description13 Conditions DB  Accessing detector conditions data (calibration, slow control, alignment, etc.) should be the same as geometry data –Time validity period and Versioning in addition –Conditions are integrated into the transient data model –Converters are responsible for converting from database rather than from XML  Conditions are attached to Detector Elements as for geometry –each element has many conditions (calibration, alignment, slowcontrol, fastcontrol …)

13 June 2002LHCb Detector Description14 Conditions DB Implementation  Condition objects are stored in XML  The XML fragments are stored using the Oracle condition DB developed by IT  XML references are used to select between XML and condition DB : –  XML –  DataBase

13 June 2002LHCb Detector Description15 Geometry Visualization  Visualization is essential for developing the geometry –Applicable at the different data representations  Generic geometry information conversion to 3D graphics data  Panoramix (OnX) Transient Store Structure + Geometry Visual CnvSvc G4 Geometry Giga CnvSvc Display Visual CnvSvc Display CnvSvc Vis Display

13 June 2002LHCb Detector Description16 Interfacing With Geant4  We integrate Gaudi with Geant4 by providing a number of “Gaudi Services” (GiGa)  The GiGaGeomCnvSvc is able to convert transient objects (DetElem, LVolume, Surfaces, etc.) into G4 geometry objects –The conversion does not require “user” code –Flexibility in mapping Gaudi model to Geant4 model  Single source of Geometry information

13 June 2002LHCb Detector Description17 Status of LHCb Detector Description  The DetDesc framework is fully functional (transient classes, XML DTD, XML converters, editor, etc)  All sub-detectors are already described (structure, geometry and materials) using the provided framework  Visualization based on OnX : Panoramix. Allows to see geometry, events, histograms, …  Conversion to Geant4 through GiGa is complete

13 June 2002LHCb Detector Description18 Example 1 : Velo and Rich1

13 June 2002LHCb Detector Description19 Example (2) : Zoom on Ecal