GENIEGenerator
|
Singleton class to load & serve tables of Fermi momentum constants. More...
#include <FermiMomentumTablePool.h>
Classes | |
struct | Cleaner |
Public Member Functions | |
const FermiMomentumTable * | GetTable (string name) |
Static Public Member Functions | |
static FermiMomentumTablePool * | Instance (void) |
Private Member Functions | |
FermiMomentumTablePool () | |
FermiMomentumTablePool (const FermiMomentumTablePool &fmc) | |
virtual | ~FermiMomentumTablePool () |
bool | LoadTables (void) |
XmlParserStatus_t | ParseXMLTables (string filename) |
Private Attributes | |
map< string, FermiMomentumTable * > | fKFSets |
Static Private Attributes | |
static FermiMomentumTablePool * | fInstance = 0 |
Friends | |
struct | Cleaner |
Singleton class to load & serve tables of Fermi momentum constants.
Definition at line 34 of file FermiMomentumTablePool.h.
|
private |
Definition at line 42 of file FermiMomentumTablePool.cxx.
References fInstance, LoadTables(), LOG, and pERROR.
Referenced by Instance().
|
private |
|
privatevirtual |
Definition at line 50 of file FermiMomentumTablePool.cxx.
References fInstance, and fKFSets.
const FermiMomentumTable * FermiMomentumTablePool::GetTable | ( | string | name | ) |
Definition at line 76 of file FermiMomentumTablePool.cxx.
References fKFSets, LOG, pERROR, and pWARN.
Referenced by genie::NievesQELCCPXSec::LoadConfig(), genie::NuclearModelI::LoadConfig(), genie::PauliBlocker::LoadModelType(), main(), genie::utils::nuclear::NuclQELXSecSuppression(), genie::SmithMonizUtils::SetInteraction(), genie::SuSAv2MECPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), genie::MKSPPPXSec2020::XSec(), and genie::SuSAv2QELPXSec::XSecScaling().
|
static |
Definition at line 62 of file FermiMomentumTablePool.cxx.
References genie::FermiMomentumTablePool::Cleaner::DummyMethodAndSilentCompiler(), FermiMomentumTablePool(), fInstance, LOG, and pINFO.
Referenced by genie::NievesQELCCPXSec::LoadConfig(), genie::NuclearModelI::LoadConfig(), genie::PauliBlocker::LoadModelType(), main(), genie::utils::nuclear::NuclQELXSecSuppression(), genie::SmithMonizUtils::SetInteraction(), genie::SuSAv2MECPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), genie::MKSPPPXSec2020::XSec(), and genie::SuSAv2QELPXSec::XSecScaling().
|
private |
Definition at line 101 of file FermiMomentumTablePool.cxx.
References genie::XmlParserStatus::AsString(), genie::utils::xml::GetXMLFilePath(), genie::kXmlOK, LOG, ParseXMLTables(), pINFO, and pWARN.
Referenced by FermiMomentumTablePool().
|
private |
Definition at line 127 of file FermiMomentumTablePool.cxx.
References genie::FermiMomentumTable::AddTableEntry(), fKFSets, genie::utils::xml::GetAttribute(), genie::kXmlEmpty, genie::kXmlInvalidRoot, genie::kXmlNotParsed, genie::kXmlOK, LOG, genie::EKF_t::n, genie::EKF_t::p, pDEBUG, genie::utils::str::TrimSpaces(), and genie::utils::xml::TrimSpaces().
Referenced by LoadTables().
|
friend |
Definition at line 62 of file FermiMomentumTablePool.h.
|
staticprivate |
Definition at line 49 of file FermiMomentumTablePool.h.
Referenced by FermiMomentumTablePool(), Instance(), genie::FermiMomentumTablePool::Cleaner::~Cleaner(), and ~FermiMomentumTablePool().
|
private |
Definition at line 51 of file FermiMomentumTablePool.h.
Referenced by GetTable(), ParseXMLTables(), and ~FermiMomentumTablePool().