12 #include <Math/IFunction.h> 13 #include <Math/Integrator.h> 23 using namespace genie;
52 LOG(
"CEvNS",
pDEBUG) <<
"*** Below energy threshold";
58 <<
"Q2 integration range = [" << Q2.
min <<
", " << Q2.
max <<
"] GeV^2";
67 ROOT::Math::IBaseFunctionOneDim *
func =
78 <<
"XSec[CEvNS] (E = " << Ev <<
" GeV) = " << xsec/(
units::cm2) <<
" cm^2";
104 int max_eval, min_eval ;
105 this->
GetParamDef(
"gsl-max-eval", max_eval, 500000);
106 this->
GetParamDef(
"gsl-min-eval", min_eval, 5000 );
Cross Section Calculation Interface.
const KPhaseSpace & PhaseSpace(void) const
ROOT::Math::IntegrationOneDim::Type Integration1DimTypeFromString(string type)
string fGSLIntgType
name of GSL numerical integrator
THE MAIN GENIE PROJECT NAMESPACE
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
Cross Section Integrator Interface.
double Q2(const Interaction *const i)
A simple [min,max] interval for doubles.
Range1D_t Q2Lim(void) const
Q2 limits.
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static constexpr double cm2
virtual void Configure(const Registry &config)
const UInt_t kISkipKinematicChk
if set, skip kinematic validity checks
int fGSLMaxEval
GSL max evaluations.
void Configure(const Registry &config)
A registry. Provides the container for algorithm configuration parameters.
bool IsAboveThreshold(void) const
Checks whether the interaction is above the energy threshold.
virtual bool ValidProcess(const Interaction *i) const =0
Can this cross section algorithm handle the input process?
const InitialState & InitState(void) const
bool GetParamDef(const RgKey &name, T &p, const T &def) const
double ProbeE(RefFrame_t rf) const
int fGSLMinEval
GSL min evaluations. Ignored by some integrators.
Root of GENIE utility namespaces.
const UInt_t kISkipProcessChk
if set, skip process validity checks
Initial State information.
double fGSLRelTol
required relative tolerance (error)