Geometry & Persistency Recent & ongoing developments

Slides:



Advertisements
Similar presentations
Computational Geometry & Collision detection
Advertisements

Specialized Geant4 navigation for GATE Jan De Beenhouwer Steven Staelens.
Numerical geometry of non-rigid shapes
Content Subdivision First some basics (control point polygon, mesh)
Inside the new Mokka release Fabrizio Salvatore (RHUL) Gabriel Musat (LLR) Paulo Mora de Freitas (LLR)
1Notes. 2 Time integration for particles  Back to the ODE problem, either  Accuracy, stability, and ease-of- implementation are main issues  Obviously.
Creating Solid Models Parametric Modeling Concept
Geometry 5 I.Hrivnacova¹, J.Apostolakis² ¹IPN, Orsay; ²CERN Cours Paris June 2007.
Fundamentals of Python: From First Programs Through Data Structures
7.1 Scalars and vectors Scalar: a quantity specified by its magnitude, for example: temperature, time, mass, and density Chapter 7 Vector algebra Vector:
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
Multimodal Interaction Dr. Mike Spann
G EANT highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration.
22 July 2008 John Hart Toroid Field Parameterisation 1 Toroid Field Parameterisation An informal report to the RAL ATLAS meeting John Hart 22 July 2008.
G EANT 4 : Release 9.2 Beta Gabriele Cosmo, CERN for the Geant4 Collaboration.
Geometry and Field: New features and Developments T. Nikitina For Geometry Working Group Geant4 workshop, Hebden Bridge september 2007 G4Paraboloid.
Implementing a dual readout calorimeter in SLIC and testing Geant4 Physics Hans Wenzel Fermilab Friday, 2 nd October 2009 ALCPG 2009.
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.
Use of Coverity & Valgrind in Geant4 Gabriele Cosmo.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
- DHRUVA TIRUMALA BUKKAPATNAM Geant4 Geometry on a GPU.
Magnetic Field Issues for Simulation and Reconstruction N. Amapane, N. Neumeister Workshop on LHC Physics with High-p T Muons in CMS Bologna, April 9-12,
Numerical Methods.
New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations Marek Gayer, John Apostolakis, Gabriele.
Instructions for the Rod Magnet July 6, 2015Stephen Brooks, Cbeta project1 Updated to include source-only field model.
BREPS & STEP what's up and coming... Gabriele Cosmo CERN - IT/ASD GEANT4 Workshop September, 20th 1999 ESTEC, Noordwijk, The Netherlands.
Shape Tester. What we need? 1) Tests: a)Test individual shapes Correctness and consistency(like original SBT test, OpticalEscape, ShapeChecker) Accuracy(precision.
Detector Description – Part III Ivana Hrivnacova, IPN Orsay Tatiana Nikitina, CERN Aknowledgement: Slides by: J.Apostolakis, G.Cosmo, A. Lechner.
STATUS OF THE UNIFIED SOLIDS LIBRARY Gabriele Cosmo/CERN Tatiana Nikitina/CERN.
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.
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
Geant4 CPU performance : an update Geant4 Technical Forum, CERN, 07 November 2007 J.Apostolakis, G.Cooperman, G.Cosmo, V.Ivanchenko, I.Mclaren, T.Nikitina,
Hall, Accounting Information Systems, 8e ©2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
Pedro Arce G4WS’10 October 6th, Voxelised geometries intersected with a volume Pedro Arce CIEMAT, Madrid 2010 Geant4 Workshop ESA, 4-8 October 2010.
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.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
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.
CERN, 7 November 2011 Anton Pytel Slovak Technical University TRIP FROM GENERATORS TO GEOMETRIES.
Code improvement: Coverity static analysis Valgrind dynamic analysis GABRIELE COSMO CERN, EP/SFT.
Update on USolids/VecGeom integration in Geant4 Gabriele Cosmo, CERN EP/SFT.
Analytic Geometry in Three Dimensions
Common Geometry Primitives library WP3 – date
MATHEMATICS B.A./B.Sc. (GENERAL) FIRST YEAR EXAMINATIONS,2012.
AN ILL-BEHAVED ELEMENT
Dmitry Sorokin (GSoC 2016), John Apostolakis (CERN)
Geant4 MT Performance Soon Yung Jun (Fermilab)
Use of interpolation and FSAL property for integration in field
Geant4 Geometry Speed-ups
European Organization for Nuclear Research
CPU Benchmarks Parallel Session Summary
Simulation Project Structure and tasks
Geant4 Geometry Objects Persistency using ROOT
HEP detector description supporting the full experiment life cycle
Geometry checking tools
Evaluate the iterated integral. {image} Select the correct answer
Chapter V Vertex Processing
Create 3D Solid Objects. Create 3D Solid Objects.
Geometric Objects and Transformations (II)
GEANT4: Patch-02 to Release 8.1 (released on November 10th, 2006)
G4 Workshop 2002 Detector Description Parallel Session
Use of GEANT4 in CMS The OSCAR Project
Detector description News
Geometry parallel sessions
Chapter 2 A Survey of Simple Methods and Tools
Last Time B-splines Project 3 was made available
Presentation transcript:

Geometry & Persistency Recent & ongoing developments Gabriele Cosmo – CERN PH/SFT for the Geant4 Geometry & Persistency Working Groups

Outline Developments/fixes in the last year Introduced in release 10.2 and patches (also to 10.1) Planned for release 10.3 and ongoing … Currently under development and scheduled for inclusion in the December release this year 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

Geometry 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

Fixes/updates to solids - 1 Fixes in G4Sphere Fix in G4Sphere::DistanceToIn(p,v) for concave Theta and point located on the origin Fix in DistanceToOut(p,v) to make proper use of radial tolerance Added specialised implementation for GetCubicVolume() in G4TessellatedSolid Checked for potential never-ending loops in Boolean solids; replaced while-do loop with bounded for-loop in G4IntersectionSolid::DistanceToIn(p,v) Also addressing problem report #1821 Added USolids/VecGeom wrappers for G4Paraboloid and G4Torus Added overloaded CreatePolyhedron() method to USolids wrappers, making it now possible to visualize supported VecGeom shapes 10.1.p03, 10.2 10.1.p03, 10.2 10.1.p03 10.2 10.2.p02 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

Fixes/updates to solids - 2 Fix in G4GenericTrap for computation of extent Addressing problem report #1809 Correction in G4ExtrudedSolid::AddGeneralPolygonFacets() for precision treatment in construction of facets to avoid cases of collinear points and consequent degenerating triangles Addressing problem report #1777 Fix in G4IntersectingCone for smaller precision constant in LineHitsCone1() and LineHitsCone2() Fixes issue observed in G4GenericPolycone Addressing problem report #1794 10.2.p01 10.2.p01 10.2.p02 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

More on Solids … - 1 Expected for release 10.3 Expected “production quality” for shapes from VecGeom Box, Tubs, Cons, Para, Polycone, Polyhedra, Trap, Trd, GenericTrap, Sphere, Orb, Torus, Paraboloid See detailed presentations on VecGeom in parallel session 7B Revised implementation of CalculateExtent() for most relevant shapes Based on new class G4BoundingEnvelope providing precise computation of bounding-box and envelope Cleaner implementation for shapes and more optimised voxelisation Applied also to Usolids/VecGeom wrappers for generation of same voxelisation structure 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

More on Solids … - 2 Expected for release 10.3 10.2.ref03 New class G4ScaledSolid providing ability to scale a shape in dimensions along Cartesian axes X, Y or Z Improved algorithms for computation of area in G4TriangularFacet and G4QuadrangularFacet for G4TessellatedSolid. Improved tests in constructor to catch potential problems with facets Collinear vertices, non planar surface, degenerate, concave or self intersecting facets Revised implementation for GetSurfaceArea() and GetCubicVolume() in G4GenericTrap Boosted computation of GetPointOnSurface() for Boolean shapes Optimisation in G4SubtractionSolid to directly return previously computed distance in DistanceToIn(p,v) if no progress is made (zero step) 10.2.ref02, 03 10.2.ref02 10.2.ref05 10.2.ref08 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

More fixes/updates - 1 Navigation Enabled parameterisation by solids type in MT mode Enabled use of divisions in MT mode Proper treatment of rotation-matrices in division classes in G4VDivisionParameterisation Addressing problem reports #1743 and #1750 Fixed logic error in G4MultiLevelLocator::EstimateIntersectionPoint() for keeping consistent candidate intersection Addressing cases of negative steps and convergence problems with field observed in ALICE Relaxed condition for zero or almost-zero steps in G4ReplicaNavigation and G4Navigator, to allow for faster progression in case of stuck tracks in 3D scoring meshes Addressing old problem report #1432 10.1.p03, 10.2 10.1.p03, 10.2 10.1.p03, 10.2 10.1.p03, 10.2.p01 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

More fixes/updates - 2 Navigation/Field 10.1.p03, 10.2.p01 Fix in G4ReplicaNavigation::ComputeStep() for correct setting of copyNo for particle entering Fixes issue of negative copyNo observed in nested replica setups. Addressing problem report #1634 Fix in G4Navigator::GetGlobalExitNormal() to synchronise caching of 'fExitNormalGlobalFrame' before returning. Addressing problem report #1750 Added check against number of iterations in G4ChordFinder::FindNextChord(), to identify potential cases of lack of convergence Fix for spin tracking of particles with negative magnetic moment Addressing problem report #1831 Corrected implementation of operator=() and copy-ctor for G4Field, G4ElectroMagneticField, G4ElectricField and G4CachedMagneticField. Fixed Clone() signatures in derived Field classes Fix in G4CashKarp for the size of arrays holding intermediate values Fix in G4PropagatorInField to correctly pass accuracy values to Intersection Locator after re- evaluating epsilon 10.2.ref07 10.1.p03, 10.2 10.2.p01 10.2.p02 10.2.ref06 10.2.ref08 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

New field steppers & integrator drivers 10.2.ref05 New stepper classes G4BogackiShampine23 (BS23), G4BogackiShampine45 (BS45) and DormandPrince745 (DP45), implementing third order (BS23) and fifth order (BS45, DP45) embedded RK New stepper classes embedded RK method: DoLoMcPriRK34 (6-stage 3/4 RK, interpolation), DormandPrinceRK56 (9-stage 5/6 RK, interpolation, FSAL-able), DormandPrinceRK78 (13-stage 7/8 RK, interpolation) and TsitourasRK45 stepper First version of FSAL classes: FSAL Integrator Driver (concrete, stand-alone driver); FSAL Integrator Stepper (base class); FBogackiShampine45 (FSAL- version of BogackiShampine45 stepper); FDormandPrince745 (FSAL-version of DormandPrince745 stepper) G4MagIntegratorStepper: added counter for calls to equation RHS, with Get/Reset() methods G4HelixMixedStepper: fixes and added new (5th order) stepper choices 10.2.ref06 10.2.ref06 10.2.ref06 10.2.ref06 See detailed presentations in parallel session 7B 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

Persistency 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

GDML module 10.2 Extended GDML reader/writer to support import/export of regions/cuts as auxiliary data (GDML 3.1.2) Fixed export of reflected volumes No redundant duplicated logical volumes in the store after import of geometry Added support for writing and reading copy-numbers associated to placements Updated GDML schema (GDML 3.1.3) Use relaxed precision constant for matrix to angle formula evaluation in G4GDMLWriteDefine, to allow for proper treatment of singularities. Fixes issues of misplaced volumes in exported geometries of complex detectors Rectified also rotation matrices in reading and writing GDML files to reduce spurious round-off errors in stored values Added ability to import and export scaled shapes (GDML 3.1.4) Added ability to automatically export the names of sensitive detectors as auxiliary information Added checks for correctness of imported units. Addressing problem report #1842 G4GDMLWrite: increased max_chars in the transcode() calls. Addressing problem report #1847 10.2 10.2 10.1.p03, 10.2 10.2.ref03 10.2.ref05 10.2.p02 10.2.p02 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016

Thanks! 21st Geant4 Collaboration Meeting, Ferrara (Italy) 15 September 2016