33 using std::ostringstream;
34 using namespace genie;
43 return GenerateNucleon(tgt);
56 if ( ! fKFTable )
return 0. ;
58 return fKFTable->FindClosestKF( t.
Pdg(), nucleon_pdg);
66 return FermiMomentum( t, nucleon_pdg ) ;
74 string fermi_table_key =
"FermiMomentumTable" ;
77 if ( ! GetParam( fermi_table_key, fKFTableName,
false ) ) {
81 fKFTableName = algos ->
GetString( fermi_table_key ) ;
86 fKFTable = kftp->
GetTable(fKFTableName);
virtual double LocalFermiMomentum(const Target &, int nucleon_pdg, double radius) const
THE MAIN GENIE PROJECT NAMESPACE
static FermiMomentumTablePool * Instance(void)
virtual double FermiMomentum(const Target &, int nucleon_pdg) const
Singleton class to load & serve tables of Fermi momentum constants.
const FermiMomentumTable * GetTable(string name)
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
Misc GENIE control constants.
virtual void LoadConfig()
A registry. Provides the container for algorithm configuration parameters.
virtual bool GenerateNucleon(const Target &) const =0
virtual double Prob(double p, double w, const Target &) const =0
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
static AlgConfigPool * Instance()