19 using namespace genie;
46 int tgtpdg = init_state.
Tgt().
Pdg();
50 if(target.
A() < 4)
return 0;
57 intlist->push_back(interaction);
63 intlist->push_back(interaction);
67 const int nucleon_cluster[nc] = {
70 for(
int ic = 0; ic < nc; ic++) {
71 int ncpdg = nucleon_cluster[ic];
93 intlist->push_back(interaction);
102 intlist->push_back(interaction);
106 LOG(
"IntLst",
pWARN) <<
"fIsEM = " <<
fIsEM <<
" ncpdg = " << ncpdg;
109 intlist->push_back(interaction);
void LoadConfigData(void)
bool IsNeutrino(int pdgc)
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
InteractionList * CreateInteractionList(const InitialState &init) const
~MECInteractionListGenerator()
static Interaction * MECNC(int tgt, int nuccluster, int probe, double E=0)
Summary information for an interaction.
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static Interaction * MECEM(int tgt, int nuccluster, int probe, double E=0)
bool IsAntiNeutrino(int pdgc)
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
virtual void Configure(const Registry &config)
MECInteractionListGenerator()
string AsString(void) const
A registry. Provides the container for algorithm configuration parameters.
A vector of Interaction objects.
void Configure(const Registry &config)
bool GetParamDef(const RgKey &name, T &p, const T &def) const
bool GetParam(const RgKey &name, T &p, bool is_top_call=true) const
const Target & Tgt(void) const
static Interaction * MECCC(int tgt, int nuccluster, int probe, double E=0)
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
Initial State information.