Berkeley Nuclear Data Software
|
#include <CombinedGenesisAnalysis.h>
Public Member Functions | |
CombinedGenesisAnalysis () | |
default constructor More... | |
void | addGammaProdAna (GammaProductionAna a_gammaProd) |
void | addNeutronSinglesAna (GenesisNeutronSinglesAna a_neutronProd) |
double | talysModelFit (const double *a_params) |
function to calculate chi2 More... | |
void | combinedMinimum (bool a_findMinimum=false) |
void | plotCorrelationMatrix () |
plot the correlation matrix More... | |
std::map< std::string, double > | generateResampledParams () |
generates resamples parameters to propagate uncertainty through TALYS More... | |
map< double, Eigen::MatrixXf > | generateUncertainCrossSections (int a_numResamples=100) |
Public Attributes | |
GammaProductionAna | m_gammaProd |
GenesisNeutronSinglesAna | m_neutronProd |
ROOT::Math::Minimizer * | m_minimum |
Eigen::MatrixXf | m_covarianceMatrix |
Eigen::VectorXf | m_minimumParams |
int | m_numParams |
std::mt19937_64 | m_randGen |
class to do analysis of gamma production and neutron singles simultaneously J. Gordon 2023
CombinedGenesisAnalysis::CombinedGenesisAnalysis | ( | ) |
default constructor
void CombinedGenesisAnalysis::addGammaProdAna | ( | GammaProductionAna | a_gammaProd | ) |
void CombinedGenesisAnalysis::addNeutronSinglesAna | ( | GenesisNeutronSinglesAna | a_neutronProd | ) |
void CombinedGenesisAnalysis::combinedMinimum | ( | bool | a_findMinimum = false | ) |
calculates Hesse and covariance matrix at combined minimum from non-simultaneous forward modeling if a_findMinimum = true, then a new minimum will be found for the combined/simultaneous data
std::map< std::string, double > CombinedGenesisAnalysis::generateResampledParams | ( | ) |
generates resamples parameters to propagate uncertainty through TALYS
map< double, Eigen::MatrixXf > CombinedGenesisAnalysis::generateUncertainCrossSections | ( | int | a_numResamples = 100 | ) |
calculates gamma production cross sections with resampled TALYS parameters writes to files called "talysGammaProdMinWithUnc_<gamma energy>keV.txt" formatted so it can be read as an EXFOR cross section by gammaProdAna adds them to m_gammaProd so you can draw non-wrapped cross sections, etc. fil
void CombinedGenesisAnalysis::plotCorrelationMatrix | ( | ) |
plot the correlation matrix
double CombinedGenesisAnalysis::talysModelFit | ( | const double * | a_params | ) |
function to calculate chi2
Eigen::MatrixXf CombinedGenesisAnalysis::m_covarianceMatrix |
GammaProductionAna CombinedGenesisAnalysis::m_gammaProd |
ROOT::Math::Minimizer* CombinedGenesisAnalysis::m_minimum |
Eigen::VectorXf CombinedGenesisAnalysis::m_minimumParams |
GenesisNeutronSinglesAna CombinedGenesisAnalysis::m_neutronProd |
int CombinedGenesisAnalysis::m_numParams |
std::mt19937_64 CombinedGenesisAnalysis::m_randGen |