|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RISI.hpp>
Public Member Functions | |
| Projectiles () | |
| ~Projectiles () | |
| void | add (Protare *a_protare) |
| void | clear () |
| std::vector< std::string > | projectileIds () const |
| Projectile const * | projectile (std::string const &a_projectile) const |
| std::vector< std::string > | products (std::string const &a_projectile, std::vector< std::string > const &a_seedTargets, int a_maxLevel, double a_energyMax, bool a_onlyIncludeTargets=true) const |
| void | print (std::string const &a_indent="") const |
| void | printAsRIS_file () const |
| GIDI::RISI::Projectiles::~Projectiles | ( | ) |
Definition at line 543 of file RISI_read.cc.
| void GIDI::RISI::Projectiles::add | ( | Protare * | a_protare | ) |
Adds a_protare to the associated projectile of this.
| a_protare | [in] The Protare instance to add to this. |
Definition at line 554 of file RISI_read.cc.
| void GIDI::RISI::Projectiles::clear | ( | ) |
Clears the contents of the m_projectiles member.
Definition at line 571 of file RISI_read.cc.
Referenced by GIDI::RISI::readRIS(), and ~Projectiles().
| void GIDI::RISI::Projectiles::print | ( | std::string const & | a_indent = "" | ) | const |
Calls the print method on each Projectile in this.
| a_indent | [in] The Protare instance to add to this. |
Definition at line 648 of file RISI_read.cc.
| void GIDI::RISI::Projectiles::printAsRIS_file | ( | ) | const |
Calls the printAsRIS_file method on each Projectile in this. This method attempts to print this as it appears in a file.
Definition at line 658 of file RISI_read.cc.
| std::vector< std::string > GIDI::RISI::Projectiles::products | ( | std::string const & | a_projectile, |
| std::vector< std::string > const & | a_seedTargets, | ||
| int | a_maxLevel, | ||
| double | a_energyMax, | ||
| bool | a_onlyIncludeTargets = true ) const |
Return a list of products that can be created for the given projectile and initial 'seed' targets.
| a_projectile | [in] Projectile particle id (e.g. 'n' or 'photon') |
| a_seedTargets | [in] List of initial targets, used to determine what products can be created. |
| 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_onlyIncludeTargets | [in] Only return products that correspond to protares. |
Definition at line 621 of file RISI_read.cc.
| Projectile const * GIDI::RISI::Projectiles::projectile | ( | std::string const & | a_projectile | ) | const |
Returns a pointer to the projectile with the specified name, or nullptr if not found.
| a_projectile | [in] The name of the projectile to find. |
Definition at line 601 of file RISI_read.cc.
Referenced by add(), and products().
| std::vector< std::string > GIDI::RISI::Projectiles::projectileIds | ( | ) | const |
Returns a vector containing the particle ids of all projectiles in this collection.
Definition at line 583 of file RISI_read.cc.