21 using namespace genie;
26 "genie::IBDInteractionListGenerator")
34 "genie::IBDInteractionListGenerator", config)
49 const int nupdg = init_state.
ProbePdg();
54 const int tgtpdg = target.
Pdg();
55 const bool hasP = (target.
Z() > 0);
56 const bool hasN = (target.
N() > 0);
63 }
else if (isnubar && hasP) {
68 <<
"Returning NULL InteractionList for init-state: " bool IsNeutrino(int pdgc)
THE MAIN GENIE PROJECT NAMESPACE
Defines the InteractionListGeneratorI interface. Concrete implementations of this interface generate ...
static Interaction * IBD(int tgt, int nuc, int probe, double E=0)
void Configure(const Registry &config)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
bool IsAntiNeutrino(int pdgc)
IBDInteractionListGenerator()
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
virtual void Configure(const Registry &config)
string AsString(void) const
void LoadConfigData(void)
A registry. Provides the container for algorithm configuration parameters.
A vector of Interaction objects.
const Target & Tgt(void) const
virtual ~IBDInteractionListGenerator()
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
InteractionList * CreateInteractionList(const InitialState &init) const
Initial State information.