20 #include <Math/IFunction.h>
21 #include <Math/Integrator.h>
23 #include "Framework/Conventions/GBuild.h"
32 using namespace genie;
33 using namespace genie::constants;
60 LOG(
"DMEXSec",
pDEBUG) <<
"*** Below energy threshold";
71 ROOT::Math::IBaseFunctionOneDim *
func =
73 ROOT::Math::IntegrationOneDim::Type ig_type =
Cross Section Calculation Interface.
const KPhaseSpace & PhaseSpace(void) const
void Configure(const Registry &config)
ROOT::Math::IntegrationOneDim::Type Integration1DimTypeFromString(string type)
string fGSLIntgType
name of GSL numerical integrator
Cross Section Integrator Interface.
A simple [min,max] interval for doubles.
Range1D_t Limits(KineVar_t kvar) const
Return the kinematical variable 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)
double func(double x, double y)
virtual ~DMElectronXSec()
virtual bool ValidProcess(const Interaction *i) const =0
Can this cross section algorithm handle the input process?
int fGSLMaxEval
GSL max evaluations.
A registry. Provides the container for algorithm configuration parameters.
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
bool IsAboveThreshold(void) const
Checks whether the interaction is above the energy threshold.
bool GetParamDef(const RgKey &name, T &p, const T &def) const
const UInt_t kISkipProcessChk
if set, skip process validity checks
double fGSLRelTol
required relative tolerance (error)