12#include <Math/IFunction.h>
13#include <Math/Integrator.h>
17#include "Framework/Conventions/GBuild.h"
61 LOG(
"HELeptonXSec",
pDEBUG) <<
"*** Below energy threshold";
84 NNucl = init_state.
Tgt().
Z();
90 NNucl = init_state.
Tgt().
Z();
94 NNucl = init_state.
Tgt().
N();
120 ROOT::Math::IBaseFunctionMultiDim *
func;
122 double kine_min[3] = { -1., 0., 0. };
123 double kine_max[3] = { 1., 1., 1. };
126 xsec = ig.Integral(kine_min, kine_max);
129 double kine_min[2] = { -1., 0. };
130 double kine_max[2] = { 1., 1. };
133 xsec = ig.Integral(kine_min, kine_max);
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils.
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.
void Configure(const Registry &config)
Initial State information.
const Target & Tgt(void) const
double ProbeE(RefFrame_t rf) const
Target * TgtPtr(void) const
Summary information for an interaction.
const XclsTag & ExclTag(void) const
InitialState * InitStatePtr(void) const
const ProcessInfo & ProcInfo(void) const
const KPhaseSpace & PhaseSpace(void) const
const InitialState & InitState(void) const
bool IsAboveThreshold(void) const
Checks whether the interaction is above the energy threshold.
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
bool IsPhotonResonance(void) const
bool IsPhotonCoherent(void) const
string ScatteringTypeAsString(void) const
bool IsGlashowResonance(void) const
A registry. Provides the container for algorithm configuration parameters.
A numeric analysis tool class for interpolating 1-D functions.
double Evaluate(double x) const
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
int HitNucPdg(void) const
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.
List of cross section vs energy splines.
bool SplineExists(const XSecAlgorithmI *alg, const Interaction *i) const
const Spline * GetSpline(const XSecAlgorithmI *alg, const Interaction *i) const
static XSecSplineList * Instance()
int FinalLeptonPdg(void) const
double func(double x, double y)
Misc GENIE control constants.
static constexpr double cm2
ROOT::Math::IntegrationMultiDim::Type IntegrationNDimTypeFromString(string type)
THE MAIN GENIE PROJECT NAMESPACE
const UInt_t kISkipProcessChk
if set, skip process validity checks
const UInt_t kIAssumeFreeNucleon