21 using namespace genie;
45 <<
"InitialState = " << init_state.
AsString();
47 int probe_pdg = init_state.
ProbePdg();
52 <<
"Can not handle probe! Returning NULL InteractionList "
53 <<
"for init-state: " << init_state.
AsString();
61 <<
"Not a nuclear target! Returning NULL InteractionList "
62 <<
"for init-state: " << init_state.
AsString();
71 intlist->push_back(interaction);
InteractionList * CreateInteractionList(const InitialState &init) const
bool IsNeutrino(int pdgc)
void Configure(const Registry &config)
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
bool IsNucleus(void) const
Summary information for an interaction.
void LoadConfigData(void)
#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)
~COHDNuInteractionListGenerator()
string AsString(void) const
A registry. Provides the container for algorithm configuration parameters.
A vector of Interaction objects.
COHDNuInteractionListGenerator()
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.