|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RISI.hpp>
Public Member Functions | |
| Projectile (std::string const &a_id) | |
| ~Projectile () | |
| void | add (Protare *a_protare) |
| bool | fissionPresent (std::vector< std::string > targetIds) const |
| std::vector< std::string > | targetIds () const |
| void | products (std::string const &a_target, int a_level, int a_maxLevel, double a_energyMax, std::map< std::string, int > &a_products) const |
| std::vector< std::string > | filterProducts (std::vector< std::string > const &a_productIds) const |
| Target const * | target (std::string const &a_targetName) const |
| void | print (std::string const &a_indent="") const |
| void | printAsRIS_file () const |
Stores a list of projectiles and their associated Target instance.
|
inline |
| GIDI::RISI::Projectile::~Projectile | ( | ) |
Definition at line 388 of file RISI_read.cc.
| void GIDI::RISI::Projectile::add | ( | Protare * | a_protare | ) |
Adds a_protare to the associated target of this.
| a_protare | [in] The Protare instance to add to this. |
Definition at line 400 of file RISI_read.cc.
| std::vector< std::string > GIDI::RISI::Projectile::filterProducts | ( | std::vector< std::string > const & | a_productIds | ) | const |
Filter an initial list of products, returning only those that are available as targets for this projectile
| a_products | [in] The list of product IDs to filter. |
Definition at line 501 of file RISI_read.cc.
| bool GIDI::RISI::Projectile::fissionPresent | ( | std::vector< std::string > | targetIds | ) | const |
Returns true if any target in this projectile has fission reactions.
Definition at line 419 of file RISI_read.cc.
| void GIDI::RISI::Projectile::print | ( | std::string const & | a_indent = "" | ) | const |
Prints this id and then calls the print method on each Target in this.
| a_indent | [in] The Protare instance to add to this. |
Definition at line 520 of file RISI_read.cc.
| void GIDI::RISI::Projectile::printAsRIS_file | ( | ) | const |
Calls the printAsRIS_file method on each Target in this. This method attempts to print this as it appears in a file.
Definition at line 531 of file RISI_read.cc.
| void GIDI::RISI::Projectile::products | ( | std::string const & | a_target, |
| int | a_level, | ||
| int | a_maxLevel, | ||
| double | a_energyMax, | ||
| std::map< std::string, int > & | a_products ) const |
Populate std::map with product id: max multiplicity for that product that can be created from the given target.
| a_target | [in] Target particle id. |
| a_level | [in] The current recursive level. |
| a_maxLevel | [in] The maximum recursive level requested by the user. |
| a_energyMax | [in] Only reactions with effective thresholds less than this value are processed. |
| a_products | [in] The map to be populated with (product: max multiplicity) pairs. |
Definition at line 474 of file RISI_read.cc.
Referenced by GIDI::RISI::Protare::products().
| Target const * GIDI::RISI::Projectile::target | ( | std::string const & | a_targetName | ) | const |
Returns a pointer to the target with the specified name, or nullptr if not found.
| a_targetName | [in] The name of the target to find. |
Definition at line 438 of file RISI_read.cc.
Referenced by add().
| std::vector< std::string > GIDI::RISI::Projectile::targetIds | ( | ) | const |
Returns a vector containing the names of all targets available for this projectile.
Definition at line 453 of file RISI_read.cc.
Referenced by fissionPresent().