18 using namespace genie;
42 <<
"InitialState = " << init_state.
AsString();
50 <<
"Unknown InteractionType! Returning NULL InteractionList " 51 <<
"for init-state: " << init_state.
AsString();
55 int probe_pdg = init_state.
ProbePdg();
60 <<
"Can not handle probe! Returning NULL InteractionList " 61 <<
"for init-state: " << init_state.
AsString();
69 <<
"Not a nuclear target! Returning NULL InteractionList " 70 <<
"for init-state: " << init_state.
AsString();
101 intlist->push_back(interaction);
void LoadConfigData(void)
void SetNPions(int npi_plus, int npi_0, int npi_minus)
bool IsNeutrino(int pdgc)
THE MAIN GENIE PROJECT NAMESPACE
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
bool IsNucleus(void) const
void SetNSingleGammas(int ng)
void Configure(const Registry &config)
~COHInteractionListGenerator()
Summary information for an interaction.
#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)
string AsString(void) const
COHInteractionListGenerator()
XclsTag * ExclTagPtr(void) const
InteractionList * CreateInteractionList(const InitialState &init) const
A registry. Provides the container for algorithm configuration parameters.
A vector of Interaction objects.
bool GetParamDef(const RgKey &name, T &p, const T &def) const
const Target & Tgt(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.