Geant4-11
Public Types | Public Member Functions | Private Member Functions | Static Private Attributes
G4CameronGilbertPairingCorrections Class Reference

#include <G4CameronGilbertPairingCorrections.hh>

Public Types

enum  {
  ZTableSize = 88 , NTableSize = 140 , ZTableMin = 11 , ZTableMax = 98 ,
  NTableMin = 11 , NTableMax = 150
}
 

Public Member Functions

 G4CameronGilbertPairingCorrections ()
 
G4bool GetPairingCorrection (G4int N, G4int Z, G4double &result) const
 

Private Member Functions

 G4CameronGilbertPairingCorrections (const G4CameronGilbertPairingCorrections &right)=delete
 
const G4CameronGilbertPairingCorrectionsoperator= (const G4CameronGilbertPairingCorrections &right)=delete
 

Static Private Attributes

static G4double PairingNTable [NTableSize]
 
static G4double PairingZTable [ZTableSize]
 

Detailed Description

Definition at line 39 of file G4CameronGilbertPairingCorrections.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ G4CameronGilbertPairingCorrections() [1/2]

G4CameronGilbertPairingCorrections::G4CameronGilbertPairingCorrections ( )
explicit

Definition at line 71 of file G4CameronGilbertPairingCorrections.cc.

72{
73 for(size_t i=0; i<ZTableSize; ++i) { PairingZTable[i] *= CLHEP::MeV; }
74 for(size_t i=0; i<NTableSize; ++i) { PairingNTable[i] *= CLHEP::MeV; }
75}
static constexpr double MeV

References CLHEP::MeV, NTableSize, PairingNTable, PairingZTable, and ZTableSize.

◆ G4CameronGilbertPairingCorrections() [2/2]

G4CameronGilbertPairingCorrections::G4CameronGilbertPairingCorrections ( const G4CameronGilbertPairingCorrections right)
privatedelete

Member Function Documentation

◆ GetPairingCorrection()

G4bool G4CameronGilbertPairingCorrections::GetPairingCorrection ( G4int  N,
G4int  Z,
G4double result 
) const
inline

Definition at line 45 of file G4CameronGilbertPairingCorrections.hh.

46 {
47 G4bool res = false;
48 if(Z >= ZTableMin && Z <= ZTableMax && N >= NTableMin && N <= NTableMax) {
50 res = true;
51 }
52 return res;
53 }
bool G4bool
Definition: G4Types.hh:86
const G4int Z[17]

References NTableMax, NTableMin, PairingNTable, PairingZTable, Z, and ZTableMin.

Referenced by G4PairingCorrection::GetPairingCorrection().

◆ operator=()

const G4CameronGilbertPairingCorrections & G4CameronGilbertPairingCorrections::operator= ( const G4CameronGilbertPairingCorrections right)
privatedelete

Field Documentation

◆ PairingNTable

G4double G4CameronGilbertPairingCorrections::PairingNTable
staticprivate
Initial value:
=
{
0.00, 2.67, 0.00, 1.80, 0.00, 1.67, 0.00, 1.86, 0.00, 2.04,
0.00, 1.64, 0.00, 1.44, 0.00, 1.54, 0.00, 1.30, 0.00, 1.27,
0.00, 1.29, 0.00, 1.41, 0.00, 1.50, 0.00, 1.50, 0.00, 1.43,
0.00, 1.88, 0.00, 1.47, 0.00, 1.57, 0.00, 1.46, 0.00, 0.93,
0.00, 0.72, 0.00, 1.12, 0.00, 1.29, 0.00, 0.94, 0.00, 1.24,
0.00, 1.25, 0.00, 1.14, 0.00, 1.32, 0.00, 1.15, 0.00, 1.24,
0.00, 1.43, 0.00, 1.09, 0.00, 1.20, 0.00, 1.04, 0.00, 0.70,
0.00, 0.85, 0.00, 0.76, 0.00, 0.92, 0.00, 0.99, 0.00, 1.10,
0.00, 0.92, 0.00, 0.73, 0.00, 0.70, 0.00, 0.87, 0.00, 0.61,
0.00, 0.69, 0.00, 0.55, 0.00, 0.40, 0.00, 0.73, 0.00, 0.58,
0.00, 0.86, 0.00, 1.13, 0.00, 0.84, 0.00, 0.79, 0.00, 0.82,
0.00, 0.71, 0.00, 0.41, 0.00, 0.38, 0.00, 0.67, 0.00, 0.61,
0.00, 0.78, 0.00, 0.67, 0.00, 0.67, 0.00, 0.79, 0.00, 0.60,
0.00, 0.57, 0.00, 0.49, 0.00, 0.43, 0.00, 0.50, 0.00, 0.39
}

Definition at line 64 of file G4CameronGilbertPairingCorrections.hh.

Referenced by G4CameronGilbertPairingCorrections(), and GetPairingCorrection().

◆ PairingZTable

G4double G4CameronGilbertPairingCorrections::PairingZTable
staticprivate
Initial value:
=
{
0.00, 2.46, 0.00, 2.09, 0.00, 1.62, 0.00, 1.62, 0.00, 1.83,
0.00, 1.73, 0.00, 1.35, 0.00, 1.54, 0.00, 1.20, 0.00, 1.06,
0.00, 1.36, 0.00, 1.43, 0.00, 1.17, 0.00, 1.24, 0.00, 1.20,
0.00, 1.28, 0.00, 1.28, 0.00, 1.35, 0.00, 1.36, 0.00, 1.19,
0.00, 1.14, 0.00, 1.12, 0.00, 1.58, 0.00, 1.17, 0.00, 1.18,
0.00, 1.22, 0.00, 0.97, 0.00, 0.92, 0.00, 0.62, 0.00, 0.68,
0.00, 0.64, 0.00, 0.72, 0.00, 0.75, 0.00, 0.71, 0.00, 0.87,
0.00, 0.83, 0.00, 0.89, 0.00, 0.79, 0.00, 0.89, 0.00, 0.78,
0.00, 0.69, 0.00, 0.61, 0.00, 0.72, 0.00, 0.77
}

Definition at line 63 of file G4CameronGilbertPairingCorrections.hh.

Referenced by G4CameronGilbertPairingCorrections(), and GetPairingCorrection().


The documentation for this class was generated from the following files: