20#include <Math/IFunction.h>
21#include <Math/Integrator.h>
23#include "Framework/Conventions/GBuild.h"
60 LOG(
"DMEXSec",
pDEBUG) <<
"*** Below energy threshold";
71 ROOT::Math::IBaseFunctionOneDim *
func =
73 ROOT::Math::IntegrationOneDim::Type ig_type =
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
virtual void Configure(const Registry &config)
bool GetParamDef(const RgKey &name, T &p, const T &def) const
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
virtual ~DMElectronXSec()
void Configure(const Registry &config)
Summary information for an interaction.
const KPhaseSpace & PhaseSpace(void) const
bool IsAboveThreshold(void) const
Checks whether the interaction is above the energy threshold.
Range1D_t Limits(KineVar_t kvar) const
Return the kinematical variable limits.
A simple [min,max] interval for doubles.
A registry. Provides the container for algorithm configuration parameters.
Cross Section Calculation Interface.
virtual bool ValidProcess(const Interaction *i) const =0
Can this cross section algorithm handle the input process?
string fGSLIntgType
name of GSL numerical integrator
int fGSLMaxEval
GSL max evaluations.
double fGSLRelTol
required relative tolerance (error)
double func(double x, double y)
static constexpr double cm2
ROOT::Math::IntegrationOneDim::Type Integration1DimTypeFromString(string type)
THE MAIN GENIE PROJECT NAMESPACE
const UInt_t kISkipProcessChk
if set, skip process validity checks