15 if ( !interaction )
return 0.;
24 return contraction(probe_pdg, E_probe, m_probe, Tl, cos_l, ml, Q_value);
28 double m_probe,
double Tl,
double cos_l,
double ml,
double Q_value)
const 34 double q0 = E_probe - El;
38 double q0_corrected = q0 - Q_value;
49 - 2.*k_initial*k_final*cos_l;
52 double q2 = q0_corrected*q0_corrected - q_mag2;
72 <<
"Unknown probe PDG code " << probe_pdg
bool IsNeutrino(int pdgc)
virtual double dSigma_dT_dCosTheta(const Interaction *interaction, double Q_value) const =0
TParticlePDG * Probe(void) const
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
bool IsAntiNeutrino(int pdgc)
const Kinematics & Kine(void) const
double GetKV(KineVar_t kv) const
static int max(int a, int b)
TParticlePDG * FSPrimLepton(void) const
final state primary lepton
virtual double contraction(const Interaction *interaction, double Q_value) const
const InitialState & InitState(void) const
double ProbeE(RefFrame_t rf) const
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...