21 using namespace genie;
45 <<
"InitialState = " << init_state.
AsString();
50 <<
"Interaction type is NC for deltaS = 1 process! Returning NULL InteractionList " 51 <<
"for init-state: " << init_state.
AsString();
57 <<
"Unknown InteractionType! Returning NULL InteractionList " 58 <<
"for init-state: " << init_state.
AsString();
62 int probe_pdg = init_state.
ProbePdg();
67 <<
"Can not handle probe! Returning NULL InteractionList " 68 <<
"for init-state: " << init_state.
AsString();
75 int inuclpdg[nch] = {0};
76 int fnuclpdg[nch] = {0};
77 int kaonpdg[nch] = {0};
88 for(
int i=0; i<nch; i++) {
94 bool hasP = (target->
Z() > 0);
95 bool hasN = (target->
N() > 0);
112 intlist->push_back(interaction);
bool IsNeutrino(int pdgc)
THE MAIN GENIE PROJECT NAMESPACE
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
Contains minimal information for tagging exclusive processes.
void Configure(const Registry &config)
Summary information for an interaction.
~SKInteractionListGenerator()
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
void SetStrange(int strange_pdgc=0)
A class encapsulating an enumeration of interaction types (EM, Weak-CC, Weak-NC) and scattering types...
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
void LoadConfigData(void)
SKInteractionListGenerator()
XclsTag * ExclTagPtr(void) const
A registry. Provides the container for algorithm configuration parameters.
void SetHitNucPdg(int pdgc)
Target * TgtPtr(void) const
InteractionList * CreateInteractionList(const InitialState &init) const
A vector of Interaction objects.
InitialState * InitStatePtr(void) const
bool GetParamDef(const RgKey &name, T &p, const T &def) const
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
Initial State information.