|
gparticle
|
Functions | |
| vector< GparticlePtr > | getGParticlesFromOption (const std::shared_ptr< GOptions > &gopts, std::shared_ptr< GLogger > &logger) |
Builds inline generator particles from only the -gparticle option. | |
| vector< GparticlePtr > | getGParticles (const std::shared_ptr< GOptions > &gopts, std::shared_ptr< GLogger > &logger) |
| Builds the list of generator particles from structured options. | |
| GOptions | defineOptions () |
| Defines the structured options used by the gparticle module. | |
| const std::vector< std::string > & | supported_static_reader_formats () |
| Returns built-in file-reader format tokens. | |
| std::vector< GParticleSourceDefinition > | getGParticleSourceDefinitions (const std::shared_ptr< GOptions > &gopts) |
Parses all configured -gparticlefile entries. | |
| std::vector< GparticlePtr > | getGParticlesFromSources (const std::shared_ptr< GOptions > &gopts, std::shared_ptr< GLogger > &logger) |
| Loads propagated particles from all configured file sources. | |
| GParticleEvents | getGParticleEventsFromSources (const std::shared_ptr< GOptions > &gopts, std::shared_ptr< GLogger > &logger, bool propagated_only=true) |
| Loads event-indexed propagated particles from all configured file sources. | |
| GParticleRecordEvents | getGParticleRecordEventsFromSources (const std::shared_ptr< GOptions > &gopts, std::shared_ptr< GLogger > &logger) |
| Loads event-indexed generated-particle records from all configured file sources. | |
| GParticleEvents gparticle::getGParticleEventsFromSources | ( | const std::shared_ptr< GOptions > & | gopts, |
| std::shared_ptr< GLogger > & | logger, | ||
| bool | propagated_only = true ) |
| gopts | Parsed options. |
| logger | Logger used for diagnostics. |
| propagated_only | Whether to restrict file rows to Geant4-propagated particles. |
Definition at line 99 of file gparticle_reader.cc.
| GParticleRecordEvents gparticle::getGParticleRecordEventsFromSources | ( | const std::shared_ptr< GOptions > & | gopts, |
| std::shared_ptr< GLogger > & | logger ) |
This is the data source for the generated output bank. It preserves every parsed file particle, including particles that are not propagated in Geant4.
| gopts | Parsed options. |
| logger | Logger used for diagnostics. |
Definition at line 137 of file gparticle_reader.cc.
| std::vector< GparticlePtr > gparticle::getGParticlesFromSources | ( | const std::shared_ptr< GOptions > & | gopts, |
| std::shared_ptr< GLogger > & | logger ) |
| gopts | Parsed options. |
| logger | Logger used for diagnostics. |
Definition at line 90 of file gparticle_reader.cc.
| std::vector< GParticleSourceDefinition > gparticle::getGParticleSourceDefinitions | ( | const std::shared_ptr< GOptions > & | gopts | ) |
| gopts | Parsed options containing the optional gparticlefile node. |
Definition at line 71 of file gparticle_reader.cc.
| const std::vector< std::string > & gparticle::supported_static_reader_formats | ( | ) |
Definition at line 66 of file gparticle_reader.cc.