21-25 May 2012
New York City, NY, USA
US/Eastern timezone

New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations

24 May 2012, 13:55
25m
Room 802 (Kimmel Center)

Room 802

Kimmel Center

Parallel Software Engineering, Data Stores and Databases (track 5) Software Engineering, Data Stores and Databases

Speaker

Marek Gayer (CERN)

Description

We present our effort for the creation of a new software library of geometrical primitives, which are used for solid modelling in Monte Carlo detector simulations. We plan to replace and unify current geometrical primitive classes in the CERN software projects Geant4 and ROOT with this library. Each solid is represented by a C++ class with methods suited for measuring distances of particles from the surface of a solid and for determination as to whether the particles are located inside, outside or on the surface of the solid. We use numerical tolerance for determining whether the particles are located on the surface. The class methods also contain basic support for visualization. We use dedicated test suites for validation of the shape codes. These include also special performance and numerical value comparison tests for help with analysis of possible candidates of class methods as well as to verify that our new implementation proposals were designed and implemented properly. Currently, bridge classes are used for simple integration of the library to existing versions of Geant4 and ROOT software. New versions of Geant4 and ROOT are planned to be modified in the way that our new solids library can be used there directly.

Summary

We present our effort for the creation of a new software library of geometrical primitives, which will unify current geometrical primitive classes in the CERN software projects Geant4 and ROOT. The solids are represented by C++ classes with several methods, namely those determining distance and location of the particle with relation to the surface of solids. We use several test suites for validation. A simple integration method for easy integration to the current versions of Geant4 and ROOT is proposed, that can be used in the interim period before both ROOT and GEANT4 are adapted to use our library directly.

Primary author

Co-authors

Mr Andrei Gheata (CERN) Dr Gabriele Cosmo (CERN) Jean-Marie Guyader (CERN) Dr John Apostolakis (CERN) Tatiana Nikitina (Universite de Franche-Comte)

Presentation Materials