Message: how to feed Geant4 with a 2D histogram as a source spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question how to feed Geant4 with a 2D histogram as a source spectrum 

Forum: Particles
Date: 11 Oct, 2016
From: Maura E.M. <Maura E.M.>

I have set up a simulation that includes only the electron source and the target. I have scored an N-Tuple collecting all gammas (Bremsstrahlung & Compton) on a spherical surface surrounding both the Target and the electron source. Using MatLab I have binned the photons by Energy and by the azimuthal angle Phi. The resulting histogram is 2D. There is a Phi dependence. My question is: How can I feed Geant4 with a 2D spectrum as input source ? If that is not possible I will have to integrate with respect to Phi. Thank you in advance for any suggestion. Best regards, Mauede

 Add Message Add Message
to: "how to feed Geant4 with a 2D histogram as a source spectrum"

 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 ]