1 #ifndef _ACTIVATION_ANALYSIS_H_
2 #define _ACTIVATION_ANALYSIS_H_
23 void readSPEFile(std::string a_fileName, std::string a_key);
37 void addFluxHistogram(std::string a_fileName, std::string a_histName=
"fluxHist");
41 std::map<int, std::vector<double> >
readIRDFFTable(std::string a_reaction);
47 std::pair<double,double>
getEff(
double energy);
50 void calcA0(std::string a_isotope,
double a_peakMean,
double a_time,
bool autoFit);
53 void calcNormalizedFlux(
double mass,
double a_Z,std::vector<double> a_abundancies_err, std::vector<double> a_mass_err,
string allIso);
80 double m_decay_err=0.0;
82 double m_efficiency=0.0;
84 double m_decayConstant=0.0;
85 std::vector<int> m_SPE;
86 std::string m_rootFile;
87 std::string m_irdffPath;
88 std::string m_bkgrootFile;
89 std::vector<int> m_bkgSPE;
90 std::vector<double> m_effParams;
91 std::vector<double> m_neutrons;
92 std::vector<double> m_neutrons_err;
93 std::vector<double> m_binsVect;
94 std::vector<double> m_widthVect;
95 time_t m_epochIrradiationStartTime;
Definition: ActivationAnalysis.h:18
void addBeamCurrentFile(std::string a_fileName)
Definition: ActivationAnalysis.cpp:164
void setIrradiationStartTime(double a_year, double a_month, double a_day, double a_hour, double a_minute, double a_second)
Definition: ActivationAnalysis.cpp:144
std::map< int, std::vector< double > > readIRDFFTable(std::string a_reaction)
Definition: ActivationAnalysis.cpp:191
void analyzeEu152Data(double activity)
Definition: ActivationAnalysis.cpp:394
void calcA0(std::string a_isotope, double a_peakMean, double a_time, bool autoFit)
Definition: ActivationAnalysis.cpp:431
void calcFluxWeightedXSec(std::string a_reaction)
Definition: ActivationAnalysis.cpp:295
void readSPEFile(std::string a_fileName, std::string a_key)
Definition: ActivationAnalysis.cpp:40
void setBeamFlightPath(double a_flightPath)
Definition: ActivationAnalysis.cpp:260
void addFluxHistogram(std::string a_fileName, std::string a_histName="fluxHist")
Definition: ActivationAnalysis.cpp:267
void setIRDFFTablePath(std::string a_fileName)
Definition: ActivationAnalysis.cpp:186
std::pair< double, double > getEff(double energy)
Definition: ActivationAnalysis.cpp:412
void calcNormalizedFlux(double mass, double a_Z, std::vector< double > a_abundancies_err, std::vector< double > a_mass_err, string allIso)
Definition: ActivationAnalysis.cpp:536
ActivationAnalysis()
Definition: ActivationAnalysis.cpp:35