4#include "tknuclear_chart.h"
8void draw_mass_excess(){
13 auto mass_excess = nuc->get_mass_excess_measure();
14 if(!mass_excess)
continue;
16 nn->set_value(nuc->get_z(), nuc->get_n(), yy);
20 nn->hide_empty_bins();
22 gROOT->SetBatch(
true);
23 gROOT->ForceStyle(
true);
24 gStyle->SetImageScaling(2.);
25 nn->save_as(
"draw_mass_excess.png");
26 gROOT->SetBatch(
false);
29void draw_mass_excess_no_systematic(){
34 auto mass_excess = nuc->get_mass_excess_measure();
35 if(!mass_excess)
continue;
41 nn->hide_empty_bins();
43 gROOT->SetBatch(
true);
44 gROOT->ForceStyle(
true);
45 gStyle->SetImageScaling(2.);
46 nn->save_as(
"draw_mass_excess_no_systematic.png");
47 gROOT->SetBatch(
false);
50void draw_mass_excess_from_systematic(){
55 auto mass_excess = nuc->get_mass_excess_measure();
56 if(!mass_excess)
continue;
62 nn->hide_empty_bins();
64 gROOT->SetBatch(
true);
65 gROOT->ForceStyle(
true);
66 gStyle->SetImageScaling(2.);
67 nn->save_as(
"draw_mass_excess_from_systematic.png");
68 gROOT->SetBatch(
false);
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