4#include "tknuclear_chart.h"
14 double yy = nuc->get_fission_yield(
"239Pu",
false);
15 if (yy > 0) nn->set_value(nuc->get_z(), nuc->get_n(), yy * 100);
19 nn->save_as(
"draw_FY239Pu.png");
28 double yy = nuc->get_fission_yield(
"252Cf",
false);
29 if (yy > 0) nn->set_value(nuc->get_z(), nuc->get_n(), yy * 100);
32 nn->save_as(
"draw_FY252Cf.png");
35void draw_cumulative_238U()
41 double yy = nuc->get_fission_yield(
"238U",
true);
42 if (yy > 0) nn->set_value(nuc->get_z(), nuc->get_n(), yy * 100);
45 nn->save_as(
"draw_cFY238U.png");
Manages the database loading and provides access to the physics properties.
vector< shared_ptr< tknucleus > > get_nuclei(std::function< bool(shared_ptr< tknucleus >)>const &_selection)
return a vector containing all the known nuclei filtered by the lambda function
nuclear chart plot with ROOT