Message: how to write binary output files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question how to write binary output files 

Forum: Event and Track Management
Date: 17 Jun, 2009
From: Magda Constantin <Magda Constantin>

Dear All,

I am stuck with the following problem. I have an application which produces phase space files containing the position, direction, energy and type of the particles at a certain plane defined in This output file is an ASCII file.

I need to save this information in a binary output file instead. Does anybody know how this can be achieved in Geant4.9.2.p01? Is there an example that I could use? Thank you in advance for your help.



 Add Message Add Message
to: "how to write binary output files"

 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 ]