Message: Geant4 File I/O Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Geant4 File I/O 

Forum: Event and Track Management
Date: 09 Sep, 2009
From: <>

Hey All,

I'm recording the energies of compton scatter events and I'd like to output that data to a csv file. I've tried normal c++ I/O but I'm not sure what syntax I need to make it work with Geant.

Quick example of what I'd like to do:


if(ProcessName == "compt") { outfile << Energy <<","; }


 Add Message Add Message
to: "Geant4 File I/O"

 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 ]