GENIEGenerator
Loading...
Searching...
No Matches
FermiMomentumTable.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::FermiMomentumTable
5
6\brief A table 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_H_
20#define _FERMI_MOMENTUM_TABLE_H_
21
22#include <map>
23
24using std::map;
25
26namespace genie {
27
28typedef struct EKF_t {
29 double p; // Fermi momentum for proton
30 double n; // Fermi momentum for neutron
32
34{
35public:
38 virtual ~FermiMomentumTable();
39
40 double FindClosestKF (int target_pdgc, int nucleon_pdgc) const;
41 void AddTableEntry (int target_pdgc, KF_t kf);
42
43private:
44 map<int, KF_t> fKFSets; // the actual Fermi momenta table
45};
46
47} // genie namespace
48
49#endif // _FERMI_MOMENTUM_TABLE_H_
void AddTableEntry(int target_pdgc, KF_t kf)
double FindClosestKF(int target_pdgc, int nucleon_pdgc) const
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
struct genie::EKF_t KF_t