https://doi.org/10.1051/epjconf/201921402009
HDF5 and row-wise ntuple in analysis tools in Geant4 10.4
1
Laboratoire de l’Accélérateur Linéaire, Université Paris-Sud,
CNRS-IN2P3
Orsay
France
2
Institut de Physique Nucléaire (IPNO), Université Paris-Sud,
CNRS-IN2P3
Orsay
France
* e-mail: barrand@lal.in2p3.fr
** e-mail: ivana@ipno.in2p3.fr
Published online: 17 September 2019
The analysis category was introduced in Geant4 release 9.5 to help users capture statistical data in the form of histograms and ntuples and store these in files in various formats. Up to release 10.3 the following formats had been introduced: csv, AIDA/XML and the binary ROOT file format. We present here the work done to handle, in Geant4 10.4, the binary HDF5 file format, a format/library widely used in other domains of science but quite ignored in HEP for the moment. Work has been done also to support the management of a single file in a multi-thread or MPI parallel environment for the ROOT format; we present the introduction of a row-wise way to manage paginated ntuples in order to restore an “event view” lost by our today column-wise implementation for this format.
© The Authors, published by EDP Sciences, 2019
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.