17 using namespace genie;
22 ROOT::Math::IBaseFunctionOneDim()
29 <<
"Sure you want to calculate an inverse nuclear density moment ("
30 <<
"E[r^{" <<
fK <<
"}]) ?";
34 <<
"The atomic mass number A should be >1 (input value was: "
54 double rkth = TMath::Power(r,fK);
56 double integrand = rho * rkth;
60 ROOT::Math::IBaseFunctionOneDim *
ROOT::Math::IBaseFunctionOneDim * Clone(void) const
double Density(double r, int A, double ring=0.)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static constexpr double A
double DoEval(double xin) const
unsigned int NDim(void) const
NuclDensityMomentIntegrand(int A, int k)
Integrand for the calculation of the k^th nuclear density moment: {0}^{} {A}(r) r^k d^{3}r where {A}(...
~NuclDensityMomentIntegrand()