Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Physics
NuclearState
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 <constantinos.andreopoulos \at cern.ch>
9
University of Liverpool & STFC Rutherford Appleton Laboratory
10
11
\created August 18, 2005
12
13
\cpright Copyright (c) 2003-2020, 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
24
using
std::map;
25
26
namespace
genie
{
27
28
typedef
struct
EKF_t
{
29
double
p
;
// Fermi momentum for proton
30
double
n
;
// Fermi momentum for neutron
31
}
KF_t
;
32
33
class
FermiMomentumTable
34
{
35
public
:
36
FermiMomentumTable
();
37
FermiMomentumTable
(
const
FermiMomentumTable
& fmt);
38
virtual
~
FermiMomentumTable
();
39
40
double
FindClosestKF (
int
target_pdgc,
int
nucleon_pdgc)
const
;
41
void
AddTableEntry (
int
target_pdgc,
KF_t
kf);
42
43
private
:
44
map<int, KF_t>
fKFSets
;
// the actual Fermi momenta table
45
};
46
47
}
// genie namespace
48
49
#endif // _FERMI_MOMENTUM_TABLE_H_
genie::EKF_t::p
double p
Definition:
FermiMomentumTable.h:29
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::FermiMomentumTable
A table of Fermi momentum constants.
Definition:
FermiMomentumTable.h:33
genie::FermiMomentumTable::fKFSets
map< int, KF_t > fKFSets
Definition:
FermiMomentumTable.h:44
genie::EKF_t
Definition:
FermiMomentumTable.h:28
genie::KF_t
struct genie::EKF_t KF_t
genie::EKF_t::n
double n
Definition:
FermiMomentumTable.h:30
Generated by
1.8.11