geant4-B1-example
1.0
|
Geant4 B1 example is an application for medical physics. The energy deposit is implemented in user action class (there are other methods to do this.)
The QBBC physics list is used. It is a pre-set list.
one 6-MeV gamma, randomly distributed in front of the envelope across 80% of the transverse (X,Y) envelope size.
We have 4 objects, which live in an air "world" object. The envelope object is made of water, inside which we have "bone" and "tissue" objects. The materials are taken from NIST database.
The scoring is implemented directly in the user action classes. Alternative ways of scoring via Geant4 classes can be found in the other examples.
"run is the biggest simulation unit. In a run, there are many events, and in "an event, we move the gamma forward step-by-step. The energy deposit from a "step is accumulated throughout an event when the gamma is inside the scoring "volume, which is the bone object. The accumulated deposit energy in an event "then is summed up over the whole run.