21 #include <Math/IFunction.h>
22 #include <Math/IntegratorMultiDim.h>
39 double dq0,
double dq3,
double Enu,
double lmass,
double &tmu,
double &cost,
double &area);
47 double q0,
double q3,
double Enu,
double ml,
double & Tl,
double & costl);
50 double Tl,
double costl,
double Enu,
double ml,
double & q0,
double & q3);
53 double J(
double q0,
double q3,
double Enu,
double ml);
60 double Qvalue(
int targetpdg,
int nupdg);
73 const Interaction& inter,
const double tolerance = 0.01,
74 const double safety_factor = 1.2,
const int max_n_layers = 100 );
99 const double LepMass,
const double Factor = 1. );
102 unsigned int NDim (
void)
const;
103 double DoEval (
const double * xin)
const;
104 ROOT::Math::IBaseFunctionMultiDim *
Clone (
void)
const;
119 #endif // _MEC_UTILS_H_
Cross Section Calculation Interface.
bool GetTlCostlFromq0q3(double q0, double q3, double Enu, double ml, double &Tl, double &costl)
const Interaction fInteraction
double J(double q0, double q3, double Enu, double ml)
double GetMaxXSecTlctl(const XSecAlgorithmI &xsec_model, const Interaction &inter, const double tolerance=0.01, const double safety_factor=1.2, const int max_n_layers=100)
const double Q0LimitMaxXSec
enum genie::HadronTensorType HadronTensorType_t
double Qvalue(int targetpdg, int nupdg)
Summary information for an interaction.
bool Getq0q3FromTlCostl(double Tl, double costl, double Enu, double ml, double &q0, double &q3)
unsigned int NDim(void) const
double DoEval(const double *xin) const
d2Xsec_dTCosth(const XSecAlgorithmI *m, const Interaction &i, const double Enu, const double LepMass, const double Factor=1.)
const XSecAlgorithmI * fModel
ROOT::Math::IBaseFunctionMultiDim * Clone(void) const
const double QMagLimitMaxXSec
double GetTmuCostFromq0q3(double dq0, double dq3, double Enu, double lmass, double &tmu, double &cost, double &area)
double OldTensorContraction(int nupdg, int targetpdg, double Enu, double Ml, double Tl, double costhl, int tensorpdg, genie::HadronTensorType_t tensor_type, char *tensor_model)
static constexpr double m