STATUS OF THE UNIFIED SOLIDS LIBRARY Gabriele Cosmo/CERN Tatiana Nikitina/CERN.

Slides:



Advertisements
Similar presentations
Access control for geospatial information objects using/extending the eXtensible Access Control Markup Language Andreas Matheus, Technische Universität.
Advertisements

3D modeling. Modeling and visualization Reality model Picture modeling Visualization.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 8.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Simulation Project Major achievements (past 6 months 2007)
Christian Lauterbach COMP 770, 2/11/2009
Implicit Surfaces Tom Ouyang January 29, Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.
Geant4-based Simulation Status and Plans Dhiman Chakraborty, Guilherme Lima, Jeremy McCormick, Vishnu Zutshi Calorimetry Working Group ALCPG 2004 Winter.
The Waterfall Model A Case Study
Simulation Project Organization update & review of recommendations Gabriele Cosmo, CERN/PH-SFT Application Area Internal.
Simulation Project Organization update & review of recommendations Gabriele Cosmo, CERN/PH-SFT Application Area Internal.
Witek Pokorski, Radovan Chytracek, Jeremy McCormick, Giovanni Santin
REVIEW OF NA61 SOFTWRE UPGRADE PROPOSAL. Mandate The NA61 experiment is contemplating to rewrite its fortran software in modern technology and are requesting.
Teaching descriptive and constructive geometry at the Department of Geometry Budapest University of Technology and Economics M. Szilvasi-Nagy Web-site.
SDC PUBLICATIONS © 2012 Chapter 8 Constructive Solid Geometry Concepts Learning Objectives:  Understand Constructive Solid Geometry Concepts  Create.
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
Geometry Detector geometry A detector geometry in Geant4 is made of a number of volumes. The largest volume is called the World volume. It must contain.
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM, 2004 SOLID MODELLING.
Geant4 Towards major release 10 Gabriele Cosmo, CERN PH/SFT On behalf of the Geant4 Collaboration.
Emmanuel Delage LPC Clermont – IN2P3/CNRS – Clermont Université
Unified Solids Marek Gayer, John Apostolakis, Gabriele Cosmo, Andrei Gheata, Jean-Marie Guyader, Tatiana Nikitina CERN PH/SFT The 17 th Geant4 Collaboration.
Maria Grazia Pia, INFN Genova Test & Analysis Project aka “statistical testing” Maria Grazia Pia, INFN Genova on behalf of the T&A team
Nick Draper 05/11/2008 Mantid Manipulation and Analysis Toolkit for ISIS data.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
W. Pokorski - EP/SFT Simulation Project1 GDML - recent developments Witek Pokorski
XML in Atlas: from generic to parametric detector description Stan Bentvelsen NIKHEF Amsterdam XML workshop, CERN, May 22.
A graphical specification environment for GCM component-based applications INRIA – I3S – CNRS – University of Nice-Sophia Antipolis EPC OASIS Oleksandra.
Detector Simulation on Modern Processors Vectorization of Physics Models Philippe Canal, Soon Yung Jun (FNAL) John Apostolakis, Mihaly Novak, Sandro Wenzel.
“Paper” output Root Graphics Workshop 16/07/2010.
Darmstadt, 15. November 2015 Tobias Stockmanns, FZ Jülich1 A STEP to ROOT converter for the FairRoot framework ALICE-FAIR Computing Meeting, GSI,
SiD Workshop October 2013, SLACDmitry Onoprienko SiD Workshop SLAC, October 2013 Dmitry Onoprienko SLAC, SCA FreeHEP based software status: Jas 3, WIRED,
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations Marek Gayer, John Apostolakis, Gabriele.
Jump to first page The new ROOT geometry package Andrei Gheata - ALICE Institute of Space Sciences, Bucharest.
Minimum Distance between curved surfaces Li Yajuan Oct.25,2006.
1 Industrial Data Implementors Forum Martin Hardwick STEP Tools, Inc. June 13, 2001 San Francisco, USA.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
SIMO Python/XML Simulator Current situation 28/10/2005 SIMO Seminar Antti Mäkinen Dept. of Forest Resource Management / University of Helsinki.
BREPS & STEP what's up and coming... Gabriele Cosmo CERN - IT/ASD GEANT4 Workshop September, 20th 1999 ESTEC, Noordwijk, The Netherlands.
Maria Grazia Pia, INFN Genova Statistics Toolkit Project Maria Grazia Pia, INFN Genova AIDA Workshop.
Extrusion Revolve ENGR 1182 SolidWorks 02.
G EANT highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration.
Outline  Developments/fixes in the last year  Introduced in release 9.6 and patches  Planned for release 10.0 and ongoing …  Currently under development.
FreeHEP, JAS and WIRED Mark Dönszelmann, CERN/IT Charles Loomis, UC, Santa Cruz ATLAS Software Week, 30 November 2000.
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
Computing Performance Recommendations #10, #11, #12, #15, #16, #17.
LCG – AA review 1 Simulation LCG/AA review Sept 2006.
IT / API 1 CERN 1-Feb-16 GBLIB: classes to deal with geometrical data Evgueni Tcherniaev IT / API CLHEP workshop, January.
Separate distribution of the analysis code (and more) P. Hristov 19/03/2014.
Next steps from the developers viewpoint Tõnu Näks IB Krates, Estonia 23/09/2009.
Pedro Arce G4WS’10 October 6th, Voxelised geometries intersected with a volume Pedro Arce CIEMAT, Madrid 2010 Geant4 Workshop ESA, 4-8 October 2010.
Prospects for Integrating Veloroot into GAUDI D. Steele - 24/11/1999.
Current status of the development of the Unified Solids library Marek Gayer CERN PH/SFT.
GDML “Geometry Description Markup Language” by Daniele Francesco Kruse University of Rome “Tor Vergata” European Organization for Nuclear Research.
LAV Simulation Emanuele Leonardi INFN Roma Photon Veto meeting 08/02/2011.
- GDML - ROOT I/O for Geant4 - General Suggestions SFT Program of Work Meeting Witek Pokorski 03/03/2010.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Outline  Developments/fixes in the last year  Introduced in release 10.1 and patches (also to 10.0)  Planned for release 10.2 and ongoing …  Currently.
Status of the development of the Unified Solids library Marek Gayer, CERN PH/SFT 2 nd AIDA Annual Meeting, Frascati 2013.
Lesson Plan: Drafting and Design J6-2. What is 3D solid modeling? How do 3D solid modeling programs work?
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
CERN, 7 November 2011 Anton Pytel Slovak Technical University TRIP FROM GENERATORS TO GEOMETRIES.
Update on USolids/VecGeom integration in Geant4 Gabriele Cosmo, CERN EP/SFT.
Geometry & Persistency Recent & ongoing developments
Common Geometry Primitives library WP3 – date
Complex Geometry Visualization TOol
Geant4 Geometry Speed-ups
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
Licensed Electrical & Mechanical Engineer
Presentation transcript:

STATUS OF THE UNIFIED SOLIDS LIBRARY Gabriele Cosmo/CERN Tatiana Nikitina/CERN

Motivations for a common solids library Optimize and guarantee better long-term maintenance of ROOT and Geant4 solids libraries Create a single high quality library to replace solid libraries in Geant4 and ROOT Starting from what exists today in Geant4 and ROOT Adopt a single type for each shape Significantly optimize (Multi-Union, Tessellated Solid, Polyhedra, Polycone) Reach complete conformance to GDML solids schema Create extensive testing suite Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 2

Solids implemented so far Box Orb Trapezoid Sphere (+ sphere section) Tube (+ cylindrical section) Cone (+ conical section) Generic trapezoid Tetrahedron Arbitrary Trapezoid (ongoing) Multi-Union Tessellated Solid Polycone Polyhedra Extruded solid (ongoing) Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 3

Polycone

New Ordinary Polycone Special optimization for common cases, where Z sections can only increase (big majority of real cases) New implementation based on composition of separate instances of cones, tubes (or their sections) With spatial optimisation over Z Helping for more readable, more compact and faster code Excellent scalability over the number of Z sections Significant performance improvement Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 5

Ordinary Polycone performance 3 Z-sections Speedup factor 3.3x vs. Geant4, 7.6x vs. ROOT for most performance critical methods, i.e.: Inside DistanceToOut DistanceToIn Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 6

Ordinary Polycone performance 10 z sections Speedup factor 8.3x vs. Geant4, 7.9x vs. ROOT for most performance critical methods NOTE: Geant4 poor performance scalability (high number of Z sections) due to absence of spatial optimization Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 7

Generic Polycone Case in which either the outer or the inner surface has more than one cone or tube section over a finite interval of Z values Using voxelization on generalized surface facet model Performance improvement over Geant4 (generic polycone exists only in Geant4) Performance improvement depends on the number of sections and is slightly worse than in case of ordinary polycone Scalability is as excellent as for the ordinary polycone case Tested and measured on original Geant4 test cases of solids Values are 100% numerically coincident with Geant4 Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 8

Ordinary vs. Generic Polycone NOTE: Geant4 poor performance scalability (high number of Z sections) due to absence of spatial optimization Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 9

Polyhedra

New Polyhedra implementation Similar methodology adopted as for the Generic Polycone Spatial optimisation for Z sections Works for both ordinary and generic polyhedra Provides improvement of performance and scalability Values are 100% numerical coincident with Geant4 Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 11

Example: DistanceToIn() scalability NOTE: Geant4 poor performance scalability (high number of Z sections) due to absence of spatial optimization  Similar figures for the other key functions Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 12

Arbitrary Trap Implemented first version of Arbitrary Trap Optimization is done for main methods Still some methods to optimise: SurfaceNormal(), SafetyFromInside() Performance for UGenericTrap with twist Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 13

Extruded Solid Implemented first version of ExtrudedSolid based on TessellatedSolid Scalability studies show that this shape can be more optimized. Work in progress… Scalability for DistanceToOut() in UExtrudedSolid Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 14

Current Status & Plans

Status of USolids library Review of secondary functions and tools for all implemented primitives has been completed Library in the current form (excluding few primitives) distributed as optional module in latest Geant4 release 10.0 Expecting a lot of useful feedback ! Validation of available shapes on realistic detector geometries is ongoing Testing suite further extended for performance measurements and exact comparisons to Geant4 and ROOT Code available in the AIDA SVN repository Using standard AIDA CMake setup for build/installation Documentation available from AIDA WP2 web Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 16

USolids plan of work Short term (by end 2014) Complete implementation for missing shapes Cut Tube, Torus, Ellipsoid, Hypeboloid, Paraboloid, Elliptical Tube, Elliptical Cone Provide ability to perform Boolean operations Simple Union, Subtraction, Intersection Medium/Long term (AIDA2 proposal) Extend signatures of classes to enable use of vectorisation SIMD instructions Review algorithms on all developed shapes to efficiently apply vectorisation and strong code specialization Define proper interfaces for use in Geant4, ROOT and Vector prototype Thursday, 27 March 2014AIDA 3rd Annual Meeting - WP2 / Status of the Unified Solids Library 17

Thanks