#include <more/phys/ens.h>
#include <map>
#include <string>
#include <vector>
Include dependency graph for NucUtil.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | GenDecay |
Typedefs | |
typedef std::map< std::pair< NucState *, NucState * >, std::vector< NucDecay * > > | GenDecay::NucDecayMap_t |
Map mother,daughter to the decays that joins them. | |
Functions | |
double | GenDecay::more_to_clhep_time (double more_time) |
double | GenDecay::more_to_clhep_energy (double more_energy) |
bool | GenDecay::get_nucleus (const more::phys::nucleus &pn, more::phys::ens::nucleus &en) |
Fill out a ens::nucleus given the phys::nucleus, return true if no error. | |
NucState * | GenDecay::get_state (const more::phys::nucleus &n, more::phys::ens::confiv_t hl=more::phys::ens::confiv_t(0.0, 0.0), more::phys::ens::confiv_t rel=more::phys::ens::confiv_t(0.0, 0.0), int ref=0.0) |
Return the state coresponding to given phys::nucleus, half life, relative energy and reference energy. | |
NucState * | GenDecay::get_ground (std::string name) |
Get a ground state by name (eg "U-238"). | |
NucState * | GenDecay::get_ground (more::phys::nucleus nucl) |
Return the NucState for the given nucleus that is at the ground state. | |
void | GenDecay::chain (NucState *mother, int depth=-1, more::phys::nucleus stop_nuc=more::phys::nucleus()) |
Form decay chain starting from given mother state. | |
const NucDecayMap_t & | GenDecay::get_decays () |
Get all decays that have been chained so far. | |
const Radiation * | GenDecay::decay_radiation (const NucDecay &dk) |
Make a radiation object for given decay. | |
void | GenDecay::dump_dataset (const more::phys::ens::dataset &ds) |
Dump dataset on our terms. |