18 using namespace genie;
42 <<
"InitialState = " << init_state.
AsString();
45 <<
"InitialState = " << init_state.
AsString();
52 <<
"Unknown InteractionType! Returning NULL InteractionList "
53 <<
"for init-state: " << init_state.
AsString();
60 <<
"Can not handle probe! Returning NULL InteractionList "
61 <<
"for init-state: " << init_state.
AsString();
71 <<
"Target is not free proton -- Returning NULL InteractionList "
72 <<
"for init-state: " << init_state.
AsString();
87 bool hasP = (init_state.
Tgt().
Z() > 0);
88 bool hasN = (init_state.
Tgt().
N() > 0);
92 for(
int i=0; i<2; i++) {
96 int nuc = hit_nucleon[i];
121 intlist->push_back(interaction);
void SetNPions(int npi_plus, int npi_0, int npi_minus)
void LoadConfigData(void)
bool IsNeutrino(int pdgc)
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
InteractionList * CreateInteractionList(const InitialState &init) const
DFRInteractionListGenerator()
~DFRInteractionListGenerator()
Summary information for an interaction.
void Configure(const Registry &config)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
bool IsAntiNeutrino(int pdgc)
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
virtual void Configure(const Registry &config)
void SetNNeutrons(int nn)
string AsString(void) const
XclsTag * ExclTagPtr(void) const
A registry. Provides the container for algorithm configuration parameters.
void SetHitNucPdg(int pdgc)
Target * TgtPtr(void) const
A vector of Interaction objects.
InitialState * InitStatePtr(void) const
bool GetParamDef(const RgKey &name, T &p, const T &def) const
const Target & Tgt(void) const
bool IsProton(void) const
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
enum genie::EInteractionType InteractionType_t
Initial State information.