12
GEANT4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

Embed Size (px)

Citation preview

Page 1: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

GEANT4 10.0 highlightskernel modules

Gabriele Cosmo, CERN PH-SFTfor the Geant4 Collaboration

Page 2: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

Outline• Major features introduced in release 10.0– Geometry– Kernel & Interfaces– Visualization– Multi-threading (see talk by A.Dotti)– Physics (see talks by V.Ivantchenko and A.Ribon)

Detailed release notes:• http://geant4.cern.ch/support/ReleaseNotes4.10.0.html

All planned features for 2013:• http://geant4.cern.ch/support/planned_features.shtml

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules 2

Page 3: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

3

Geant4 10.0First major release since 2007

• Important modifications introduced to most classes– Adaptations to thread-safety for event-level parallelism

• Additional API for user-action classes• Backwards compatible with old API in sequential mode• Major revision of internal data initialisation in all areas• Reviewed memory management

• Possibility to install/run Geant4 either in pure sequential or parallel (MT) mode– Choice at configuration/installation time– Sequential mode set as the default

• New and extended features• Removal of obsolete/deprecated code and interfaces

May imply changes/adaptation to user’s code

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules

Page 4: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

4

Geometry10.0 features

• Replaced UI commands for geometry overlaps check– Now based on built-in overlaps checking for random points

generated on solids’ surfaces– Now consistently working also for parameterised volumes– Possibility to tune resolution for the test and set tolerances– Possibility to define depth interval in geometrical tree

• Introduction of gravity field and magnetic field gradient• Use of precise safety computation by default in navigation• Introduced G4GenericPolycone for polycones with non

monotonic vertices along Z for inner and outer surfaces• Archived obsolete BREPs classes and module

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules

Page 5: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

5

GeometryGeometrical primitives

• AIDA Unified Solids library integration– As optional component, for replacing the

original solids (G4GEOM_USE_USOLIDS flag)

• Provides optimised implementation for a large number of geometrical primitives and constructs– Included in Geant4 10.0: box, orb, sphere (+sphere

section), tube (+cylindrical section), cone (+conical section), simple trapezoid, tetrahedron, polycone, polyhedra

A shape can also be adopted individually by directly using provided G4Uxxx wrapper classes

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules

Page 6: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

Physics Lists

• Removed physics-lists based on the CHIPS package– e.g. CHIPS, QGSC_BERT)

• Removed physics-lists based on the parameterized (Gheisha-like) models LEP/HEP– e.g. LHEP– LEP now replaced by Fritiof and/or Bertini models

• Updated physics lists combinations and options

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules 6

Page 7: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

7

More features …Highlights

• Automatically generating isotope vector with natural abundances (NIST materials)

• Variables shadowing …• Units & constants inclusion

• New framework for “generic” biasing for physics-based biasing

• Based on wrapper and helper classes

• Adoption of fast mathematical functions for exp() and log()

• Extracted from VDT library & adapted

• Expected CPU performance improvements

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules

• New minimal framework for low-temperature “phonon” physics• Including acoustic phonon particle types, container classes for lattice

dynamical constants, and processes for propagation and scattering of phonons, and anharmonic downconversion

Page 8: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

8

More features …Visualization & Analysis

• Improved Qt support & GUI– Porting to Qt5

• Ability to display in MT and sequential mode

• GL with no graphics card– To use for automated tests or

launch GL graphics from batch

• Visualisation from web browser with Wt– Alpha version

• Redesigned interfaces for analysis/histogramming– multi-thread capable

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules

Page 9: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

External libraries and data sets• Updated to adopt new CLHEP version 2.1.4.1

– Added RandGaussZiggurat and RandExpZiggurat distributions.– Added new units for Radioactivity

• kilo/mega/gigabecquerel, milli/microcurie.

– Still compatible with older CLHEP releases

• New data sets:– G4ENSDFSTATE-1.0, data set for properties of nuclides state from

Evaluated Nuclear Structure Data File• Optional and controlled by G4ENDFDATA environment variable for path

– G4ABLA-3.0, data set for INCL/ABLA hadronic models

• Updated data sets:– G4EMLOW-6.35, G4NDL-4.4 (compressed), G4NEUTRONXS-1.4,

RadioactiveDecay-4.0, PhotonEvaporation-3.0

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules 9

Page 10: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

10.0: more …

• Configuration (Cmake)• Adapted to support MT configuration• New export function for datasets. Added new '--datasets' argument to

print out space separated dataset name, envvar name and path• Deprecated old GNUmake tools

• Digits-Hits• Added ability to merge scoring quantities in MT mode

• Examples– Redesigned examples (basic & extended)– Many examples migrated for demonstrating use of multi-threading

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules 10

Page 11: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

Supported platforms for 10.0• Linux SLC6, gcc-4.4.7, 4.7.X, 64 bits• MacOSX 10.8, 10.9, gcc-4.2.1/clang-3.3, 64 bits• Windows 7, Visual C++ 11.0 (Visual Studio 2012)

• Also tested:– Linux SLC5/SLC6, gcc-4.1/4.6/4.7/4.8, icc-14– Linux Ubuntu 12, gcc-4.6– Windows 7, VC++-9.0/10.0/12.0

10 December 2013 G.Cosmo - Geant4 release 10.0 highlights - kernel modules 11

Page 12: G EANT 4 10.0 highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration

Thanks!

10 December 2013 12G.Cosmo - Geant4 release 10.0 highlights - kernel modules