12#include "Framework/Conventions/GBuild.h"
51 const InitialState & init_state = interaction -> InitState();
52 const Kinematics & kinematics = interaction -> Kine();
53 const ProcessInfo & proc_info = interaction -> ProcInfo();
57 double y = kinematics.
y();
61 if(y > 1/(1+0.5*me/Ev))
return 0;
73 xsec = TMath::Power(em,2) + TMath::Power(ep*(1-y),2) - ep*em*me*y/Ev;
82 xsec = TMath::Power(ep,2) + TMath::Power(em*(1-y),2) - ep*em*me*y/Ev;
91 xsec = TMath::Power(em,2) + TMath::Power(ep*(1-y),2) - ep*em*me*y/Ev;
100 xsec = TMath::Power(ep,2) + TMath::Power(em*(1-y),2) - ep*em*me*y/Ev;
113#ifdef __GENIE_LOW_LEVEL_MESG_ENABLED__
115 <<
"*** dxsec(ve-)/dy [free e-](Ev="<< Ev <<
", y= "<< y<<
") = "<< xsec;
129 int Ne = init_state.
Tgt().
Z();
170 fSin28w = TMath::Power(TMath::Sin(thw), 2);
171 fSin48w = TMath::Power(TMath::Sin(thw), 4);
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
bool GetParam(const RgKey &name, T &p, bool is_top_call=true) const
virtual void Configure(const Registry &config)
const Algorithm * SubAlg(const RgKey ®istry_key) const
Initial State information.
const Target & Tgt(void) const
double ProbeE(RefFrame_t rf) const
Summary information for an interaction.
Generated/set kinematical variables for an event.
double y(bool selected=false) const
double Integral(const Interaction *i) const
bool ValidKinematics(const Interaction *i) const
Is the input kinematical point a physically allowed one?
bool ValidProcess(const Interaction *i) const
Can this cross section algorithm handle the input process?
const XSecIntegratorI * fXSecIntegrator
virtual ~NuElectronPXSec()
double XSec(const Interaction *i, KinePhaseSpace_t k) const
Compute the cross section for the input interaction.
void Configure(const Registry &config)
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
bool IsWeakNC(void) const
bool IsWeakCC(void) const
A registry. Provides the container for algorithm configuration parameters.
Cross Section Integrator Interface.
static const double kElectronMass
Misc GENIE control constants.
bool IsAntiNuTau(int pdgc)
bool IsAntiNuMu(int pdgc)
double Jacobian(const Interaction *const i, KinePhaseSpace_t f, KinePhaseSpace_t t)
THE MAIN GENIE PROJECT NAMESPACE
const UInt_t kIAssumeFreeElectron
enum genie::EKinePhaseSpace KinePhaseSpace_t
const UInt_t kISkipKinematicChk
if set, skip kinematic validity checks
const UInt_t kISkipProcessChk
if set, skip process validity checks