27 #include "Conventions/GBuild.h" 42 using namespace genie;
204 if(!proc_info.
IsWeak())
return false;
239 fMa2 = TMath::Power(ma,2);
240 fMv2 = TMath::Power(mv,2);
244 "UseDRJoinScheme", gc->
GetBool(
"UseDRJoinScheme"));
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
bool IsResonant(void) const
Cross Section Calculation Interface.
RgDbl GetDoubleDef(RgKey key, RgDbl def_opt, bool set_def=true)
bool IsNeutrino(int pdgc)
#include "Numerical/GSFunc.h"
Cross Section Integrator Interface.
int HitNucPdg(void) const
bool KnownResonance(void) const
A singleton class holding all configuration registries built while parsing all loaded XML configurati...
RgDbl GetDouble(RgKey key) const
enum genie::EKinePhaseSpace KinePhaseSpace_t
bool fUsingDisResJoin
use a DIS/RES joining scheme?
Contains minimal information for tagging exclusive processes.
Summary information for an interaction.
virtual bool ValidKinematics(const Interaction *i) const
Is the input kinematical point a physically allowed one?
double fMa2
(axial mass)^2
double Integral(const Interaction *i) const
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
bool IsAntiNeutrino(int pdgc)
virtual void Configure(const Registry &config)
Configure the algorithm.
Registry * GlobalParameterList(void) const
const XSecIntegratorI * fXSecIntegrator
A registry. Provides the container for algorithm configuration parameters.
const XclsTag & ExclTag(void) const
RgBool GetBool(RgKey key) const
virtual double Integrate(const XSecAlgorithmI *model, const Interaction *interaction) const =0
Registry * fConfig
config. (either owned or pointing to config pool)
const InitialState & InitState(void) const
const ProcessInfo & ProcInfo(void) const
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
const Target & Tgt(void) const
double fWcut
apply DIS/RES joining scheme < Wcut
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
RgBool GetBoolDef(RgKey key, RgBool def_opt, bool set_def=true)
const UInt_t kISkipProcessChk
if set, skip process validity checks
static AlgConfigPool * Instance()
double fMv2
(vector mass)^2
void Configure(const Registry &config)
Configure the algorithm.
Initial State information.
const Algorithm * SubAlg(const RgKey ®istry_key) const