Message: Re: HDF5 I/O example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: HDF5 I/O example 

Forum: Documentation and Examples
Re: Question HDF5 I/O example (Richard Foster)
Date: 13 Dec, 2017
From: Ivana Hrivnacova <Ivana Hrivnacova>


To use Geant4 analysis with HDF5, you need to build Geant4 libraries with the -DGEANT4_USE_HDF5=ON CMake option. This information is now available in the Application Developer Guide for 10.4:

Also note, that if you want to use HDF5 output in multi-threading mode, you need to build HDF5 library in thread-safe mode.

Once the HDF5 option is enabled, you can add

  #include "g4hdf5.hh"

in your Analysis.hh header file and then use G4AnalysisManager in the same way as for the other output formats.

Best regards,

 Add Message Add Message
to: "Re: HDF5 I/O example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]