11 #include "Framework/Conventions/GBuild.h" 21 using namespace genie;
50 const InitialState & init_state = interaction -> InitState();
51 const Kinematics & kinematics = interaction -> Kine();
56 double y = kinematics.
y();
59 LOG(
"IMDAnnihilation",
pDEBUG) <<
"Ev = " << Ev <<
", y = " << y <<
", ymax = " << ymax;
63 if(y > ymax)
return 0;
68 #ifdef __GENIE_LOW_LEVEL_MESG_ENABLED__ 70 <<
"*** dxsec(ve-)/dy [free e-](Ev="<< Ev <<
", y= "<< y<<
") = "<< xsec;
84 int Ne = init_state.
Tgt().
Z();
Cross Section Calculation Interface.
double J(double q0, double q3, double Enu, double ml)
THE MAIN GENIE PROJECT NAMESPACE
Cross Section Integrator Interface.
Generated/set kinematical variables for an event.
void Configure(const Registry &config)
enum genie::EKinePhaseSpace KinePhaseSpace_t
static const double kElectronMass
double y(bool selected=false) const
bool ValidKinematics(const Interaction *i) const
Is the input kinematical point a physically allowed one?
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static const double kElectronMass2
virtual ~IMDAnnihilationPXSec()
static const double kMuonMass2
virtual void Configure(const Registry &config)
const XSecIntegratorI * fXSecIntegrator
Misc GENIE control constants.
const UInt_t kISkipKinematicChk
if set, skip kinematic validity checks
double Integral(const Interaction *i) const
A registry. Provides the container for algorithm configuration parameters.
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
virtual double Integrate(const XSecAlgorithmI *model, const Interaction *interaction) const =0
double Jacobian(const Interaction *const i, KinePhaseSpace_t f, KinePhaseSpace_t t)
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
const Target & Tgt(void) const
double ProbeE(RefFrame_t rf) const
const UInt_t kISkipProcessChk
if set, skip process validity checks
Initial State information.
const UInt_t kIAssumeFreeElectron
const Algorithm * SubAlg(const RgKey ®istry_key) const