16 using namespace genie;
24 return "Invalid NHL decay mode!";
34 return "Invalid HL decay mode!";
48 for ( ; it != decay_products.end(); ++it)
51 TParticlePDG *
p = pdglib->
Find(pdg_code);
56 <<
"Decay list includes particle with unrecognised PDG code: " 66 bool allow_duplicate =
true;
89 return decay_products;
THE MAIN GENIE PROJECT NAMESPACE
PDGCodeList DecayProductList(NHLDecayMode_t nhldm)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
static PDGLibrary * Instance(void)
Singleton class to load & serve a TDatabasePDG.
TParticlePDG * Find(int pdgc, bool must_exist=true)
string AsString(NHLDecayMode_t nhldm)
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
enum genie::ENHLDecayMode NHLDecayMode_t
void push_back(int pdg_code)
bool IsKinematicallyAllowed(NHLDecayMode_t nhldm, double Mnhl)