Detector Description in LHCb

Slides:



Advertisements
Similar presentations
Blueprint RTAGs1 Coherent Software Framework a Proposal LCG meeting CERN- 11 June Ren é Brun ftp://root.cern.ch/root/blueprint.ppt.
Advertisements

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.
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.
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.
Nick Brook Current status Future Collaboration Plans Future UK plans.
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.
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.
“Primary Numbers” Database for ATLAS Detector Description Parameters March 24, 2003 S. Eckmann, D. Malon, A. Vaniachine (ANL) P. Nevski, T. Wenaus (BNL)
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
WIRED Detector Description in XML Mark Dönszelmann, Applications for Physics and Infrastructure, IT, CERN XML Detector Description Workshop CERN, 14 April,
Detector Description in LHCb (Extended Version) Detector Description Workshop 4 July 2002 S. Ponce - CERN.
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.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
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.
D. Duellmann - IT/DB LCG - POOL Project1 The LCG Dictionary and POOL Dirk Duellmann.
Gloria Corti, CERN Credits to Chris Jones, Wouter Hulsbergen, Sajan Easo, Dima Popov Computing Workshop Online/Databases/Detector Description Session Paris.
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.
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.
LHCb Simulation LHCC Computing Manpower Review 3 September 2003 F.Ranjard / CERN.
New Xml Converters General presentation of Xml converters The old way
M. Clemencic (CERN), G. Corti (CERN),
New Xml Converters General presentation of Xml converters The old way
CMS High Level Trigger Configuration Management
XML Schema for WIRED XML Detector Description Workshop
The LHCb Software and Computing NSS/IEEE workshop Ph. Charpentier, CERN B00le.
A C++ generic model for the GLAST Geometric Description
Handling Several Geometry Configurations in XML
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
Software Design CMSC 345, Version 1/11.
Various News From Detector Description
Analysis models and design models
GAUSS - GEANT4 based simulation for LHCb
Raw Event Conversion Service in BOSS framework
Simulation and Physics
G4 Workshop 2002 Detector Description Parallel Session
Major Design Criteria Clear separation between “data” and “algorithms”
What’s new in version 4 of GAUDI
Detector Geometry Description
Summary Computing Model SICb Event Model Detector Description
Use of GEANT4 in CMS The OSCAR Project
GAUDI Detector Description News Radovan Chytracek 5/1/2019
The Calorimeter Detector Description
Detector description News
Andrea Valassi Pere Mato
SEAL Project Core Libraries and Services
Use Of GAUDI framework in Online Environment
Planning next release of GAUDI
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Calibration Infrastructure Design
SDMX IT Tools SDMX Registry
Presentation transcript:

Detector Description in LHCb Detector Description Workshop 22 May 2001 P. Mato / CERN

LHCb Detector Description Contents Architecture Technical Choices Current Implementation Status Plans 22/05/2001 LHCb Detector Description

LHCb Detector Description 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. Gaudi Architecture Converter Algorithm Event Data Service Persistency Data Files Transient Event Store Detec. Data Transient Detector Store Message JobOptions Particle Prop. Other Services Histogram Transient Histogram Store Application Manager Event Selector 22/05/2001 LHCb Detector Description

LHCb Detector Description 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 22/05/2001 LHCb Detector Description

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

Simplified Diagram (simplified) DataObject Hierarchy Association resolved on demand * IDetectorElement IGeometryInfo Geometry Info ILVolume LVolume Material IReadOut * IMaterial DetectorElement ReadOut ISolid Solid IPVolume Calibration ICalibration PVolume Mixture Element Isotope * * Solid MuonStation Solid Specific detector description questions from algorithms SolidBox Detector Description Geometry Material 22/05/2001 LHCb Detector Description

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 do not require “user” code Flexibility in mapping Gaudi model to Geant4 model Single source of Geometry information 22/05/2001 LHCb Detector Description

Geometry Visualization Visualization is essential for developing the geometry Applicable at the different data representations Generic geometry information conversion to 3D graphics data GaudiLab (Onx) Structure + Geometry Vis Display CnvSvc Transient Store Visual CnvSvc Display Giga CnvSvc G4 Geometry Visual CnvSvc Display 22/05/2001 LHCb Detector Description

LHCb Detector Description Conditions DB Accessing detector conditions data (calibration, slow control, alignment, etc.) should be the same as geometry data Time validity period Versioning Detector geometry may simply be a concrete type of conditions data Store it using the same DB implementation 22/05/2001 LHCb Detector Description

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) 22/05/2001 LHCb Detector Description

LHCb Detector Description XML Converters Capable of converting (one way for the time being) XML into C++ objects Originally using SAX interface, re-implemented with DOM (Xerces-C) Specific converters for specific “DetElement” Available Converters Structure: Catalog, DetElement Geometry: LVolume, Surface, Solids (various shapes, boolean), PVolumes (parametric) Materials: Isotope, Element, Mixture, TabulatedProperty 22/05/2001 LHCb Detector Description

LHCb Detector Description XML Files Separated XML files By sub-detector and data type (structure, geometry, material) Low coupling of developments Versioning done using CVS Possible migration to the “Conditions DB” <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE DDDB (View Source for full doctype...)> <DDDB version="3.1"> <detelem name="LHCb" type="passive" classID="2"> <author>Radovan Chytracek</author> <version>0.1</version> <geometryinfo lvname="/dd/Geometry/LHCb/lvLHCb" /> <detelemref href="../Velo/structure.xml#Velo" /> <detelemref href="../Rich1/structure.xml#Rich1" /> <detelemref href="../Shield/structure.xml#Shield" /> <detelemref href="../Magnet/structure.xml#Magnet" /> <detelemref href="../Tracker/structure.xml#Tracker"/> <detelemref href="../Rich2/structure.xml#Rich2" /> <detelemref href="../Spd/structure.xml#Spd" /> <detelemref href="../Prs/structure.xml#Prs" /> <detelemref href="../Ecal/structure.xml#Ecal" /> <detelemref href="../Hcal/structure.xml#Hcal" /> <detelemref href="../Muon/structure.xml#Muon" /> </detelem> </DDDB> 22/05/2001 LHCb Detector Description

XML Detector Description Editor Developed an graphical editor to “hide” XML to the end-users (physicists) It understands our model (DTD) It understands “links” and allow us to edit a web of XML files Generic (possible to use another DTD) Implemented in Java (portable) 22/05/2001 LHCb Detector Description

LHCb Detector Description XMLEditor 22/05/2001 LHCb Detector Description

Status of LHCb Detector Description The DetDesc framework is functional (transient classes, XML DTD, XML converters, editor, etc) Several sub-detectors are already describing their structure and geometry using the provided framework Calorimeters (HCAL, ECAL,…), RICH, … Other sub-detectors (+Magnet) coming soon Visualization based on OnX (GaudiLab) Conversion to Geant4 exists Ready to start tests with G4 in Gaudi 22/05/2001 LHCb Detector Description

LHCb Detector Description Example The complete LHCb detector geometry 22/05/2001 LHCb Detector Description

LHCb Detector Description Example (2) Detailed view of the VELO and RICH I 22/05/2001 LHCb Detector Description

LHCb Detector Description Plans Continue with the consolidation and deployment of the DetDesc framework Most of sub-detector code still needs to be developed. We will discover new use-cases. Study the possibility of generating XML converters using data dictionary services Integration with Conditions DB Uniform access from Algorithms Wish to format conditions data in XML 22/05/2001 LHCb Detector Description