18 #ifndef _SPP_CHANNEL_H_ 19 #define _SPP_CHANNEL_H_ 87 default :
return "Unknown";
break;
114 default :
return 0;
break;
141 default :
return 0;
break;
168 default :
return 0;
break;
195 default :
return 0;
break;
207 double iw_1_3 = 0.33333333;
208 double iw_2_3 = 0.66666666;
236 default :
return 0;
break;
292 bool fs_pi_plus = ( xcls_tag.
NPiPlus() == 1 );
293 bool fs_pi_minus = ( xcls_tag.
NPiMinus() == 1 );
294 bool fs_pi_0 = ( xcls_tag.
NPi0() == 1 );
295 bool fs_p = ( xcls_tag.
NProtons() == 1 );
296 bool fs_n = ( xcls_tag.
NNeutrons() == 1 );
309 }
else if ( proc_info.
IsWeakNC() ) {
324 }
else if ( proc_info.
IsWeakNC() ) {
340 #endif // _SPP_CHANNEL_H_ bool IsDelta(Resonance_t res)
is it a Delta resonance?
static SppChannel_t FromInteraction(const Interaction *interaction)
bool IsWeakCC(void) const
bool IsNeutrino(int pdgc)
THE MAIN GENIE PROJECT NAMESPACE
int HitNucPdg(void) const
Enumeration of single pion production channels.
int NNeutrons(void) const
static int FinStateNucleon(SppChannel_t channel)
static double IsospinWeight(SppChannel_t channel, Resonance_t res)
enum genie::EResonance Resonance_t
Contains minimal information for tagging exclusive processes.
enum genie::ESppChannel SppChannel_t
static string AsString(SppChannel_t channel)
Summary information for an interaction.
bool IsWeakNC(void) const
static int ResonanceCharge(SppChannel_t channel)
static int InitStateNucleon(SppChannel_t channel)
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
bool IsAntiNeutrino(int pdgc)
int NNucleons(void) const
static int FinStatePion(SppChannel_t channel)
static double BranchingRatio(SppChannel_t, Resonance_t res)
const XclsTag & ExclTag(void) const
bool IsNeutronOrProton(int pdgc)
const InitialState & InitState(void) const
const ProcessInfo & ProcInfo(void) const
const Target & Tgt(void) const
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
Initial State information.