Message: Re: editing novice example N02 geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: editing novice example N02 geometry 

Forum: Geometry
Re: Question editing novice example N02 geometry (Nick Laver)
Date: 29 Sep, 2009
From: Pedro Arce <Pedro Arce>

i Nick,

If you have problems with C++, I think the simplest solution is to write your geometry using a text file, see example examples/extended/persistency/P03

Getting the energy in the detector from gammas that are scattered will be more difficult. You can create a G4UserSteppingAction where you check if a gamma is scattered in the vessel, keep the information of that track in a G4VUserTrackInformation and then count all the energy left in the detector by the secondaries from this gamma. If you have an scintillation material, you have to activate the optical photons physics lists. You can start having a look at example extended/optical/LXe.

 Add Message Add Message
to: "Re: editing novice example N02 geometry"

 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 ]