z-logo
Premium
SU‐GG‐T‐432: Implementation of Modular Phase Space IO in Geant4 with Enhanced Latch Capability
Author(s) -
Sawkey D,
Faddegon B,
Paganetti H,
Perl J
Publication year - 2010
Publication title -
medical physics
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.473
H-Index - 180
eISSN - 2473-4209
pISSN - 0094-2405
DOI - 10.1118/1.3468829
Subject(s) - modular design , space (punctuation) , particle (ecology) , phase (matter) , integer (computer science) , computer science , set (abstract data type) , tracking (education) , surface (topology) , imaging phantom , physics , orientation (vector space) , type (biology) , phase space , computational science , geometry , mathematics , optics , programming language , biology , operating system , psychology , ecology , pedagogy , thermodynamics , quantum mechanics
Purpose: Write general‐purpose, modular code for phase space input and output in Geant4 including latch and npass. Method and Materials: Geant4.9.3 does not include the ability to read or write phase space files. These files are useful for dividing the simulation into parts, for example, into patient‐independent and patient‐specific parts. Stand‐alone classes inheriting from G4VPrimitiveScorer and G4VPrimaryGenerator were written for writing and reading phase space in IAEA format. Latch mechanisms are not stand‐alone and require implementation of (provided) G4User classes for tracking. Results: Phase space I/O is implemented in Geant4. For writing, several types of surfaces are allowed, including planes, spherical sections, cylindrical sections, surfaces enclosing a volume. Multiple surfaces of any orientation and geometry are allowed. The concept of latch in BEAMnrc (particle interacted in a region) was expanded to include: particle interacted in a region; particle passed through a region; similarly for ancestors; type of interaction in particle's history; type of ancestor particle; and user‐defined. The user defines the interactions, particles, and regions of interest via get/set functions. As in BEAMnrc, an integer npass records the number of times a particle crosses a phase space surface, which is particularly valuable in studies of backscatter. The MGH proton treatment facility was simulated with phase space files recorded at the phantom surface. Spectra using the various latch cuts were generated, demonstrating the capabilities of latching on regions, interactions, or ancestors. Conclusions: Phase space I/O capabilities have been implemented for Geant4. The classes are easy to incorporate into existing code, allowing writing on different surface geometries, and extend the Latch functionality of BEAMnrc. Support: Support from NIH grant 1R01CA140735‐01.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here