GENIEGenerator
Loading...
Searching...
No Matches
FermiMomentumTablePool.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::FermiMomentumTablePool
5
6\brief Singleton class to load & serve tables of Fermi momentum constants
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created August 18, 2005
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15
16*/
17//____________________________________________________________________________
18
19#ifndef _FERMI_MOMENTUM_TABLE_POOL_H_
20#define _FERMI_MOMENTUM_TABLE_POOL_H_
21
22#include <map>
23#include <string>
24
26
27using std::map;
28using std::string;
29
30namespace genie {
31
33
35{
36public:
37 static FermiMomentumTablePool * Instance (void);
38
39 const FermiMomentumTable * GetTable (string name);
40
41private:
45
46 bool LoadTables (void);
47 XmlParserStatus_t ParseXMLTables (string filename);
48
50
51 map<string, FermiMomentumTable *> fKFSets; // kf tables
52
62 friend struct Cleaner;
63};
64
65} // genie namespace
66
67#endif // _FERMI_MOMENTUM_TABLE_POOL_H_
const FermiMomentumTable * GetTable(string name)
XmlParserStatus_t ParseXMLTables(string filename)
static FermiMomentumTablePool * Instance(void)
FermiMomentumTablePool(const FermiMomentumTablePool &fmc)
static FermiMomentumTablePool * fInstance
map< string, FermiMomentumTable * > fKFSets
A table of Fermi momentum constants.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::EXmlParseStatus XmlParserStatus_t