Thread-local reader of pre-computed (n,gamma) cascade tables. More...
#include <RMGGrabmayrGCReader.hh>
Public Member Functions | |
| G4bool | IsApplicable (G4int z, G4int a) |
Whether a cascade file has been registered for the (Z, A) isotope. | |
| void | CloseFiles () |
| Close all open cascade files held by this thread. | |
| GammaCascadeLine | GetNextEntry (G4int z, G4int a) |
Read and return the next cascade entry for the (Z, A) isotope. | |
Static Public Member Functions | |
| static RMGGrabmayrGCReader * | GetInstance () |
| Thread-local singleton accessor. | |
Thread-local reader of pre-computed (n,gamma) cascade tables.
Loads per-isotope cascade files registered through messenger commands and serves them to RMGNeutronCaptureProcess one cascade at a time. The reader is a thread-local singleton: every worker keeps its own file handles and its own read position.
| GammaCascadeLine RMGGrabmayrGCReader::GetNextEntry | ( | G4int | z, |
| G4int | a ) |
Read and return the next cascade entry for the (Z, A) isotope.
The reader cycles back to the beginning when the file is exhausted.