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

#include <G4CookPairingCorrections.hh>

Public Types

enum  {
  ZTableSize = 68 , NTableSize = 118 , ZTableMin = 28 , ZTableMax = 95 ,
  NTableMin = 33 , NTableMax = 150
}
 

Public Member Functions

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

Private Member Functions

 G4CookPairingCorrections (const G4CookPairingCorrections &right)=delete
 
const G4CookPairingCorrectionsoperator= (const G4CookPairingCorrections &right)=delete
 

Static Private Attributes

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

Detailed Description

Definition at line 38 of file G4CookPairingCorrections.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ G4CookPairingCorrections() [1/2]

G4CookPairingCorrections::G4CookPairingCorrections ( )
explicit

Definition at line 70 of file G4CookPairingCorrections.cc.

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

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

◆ G4CookPairingCorrections() [2/2]

G4CookPairingCorrections::G4CookPairingCorrections ( const G4CookPairingCorrections right)
privatedelete

Member Function Documentation

◆ GetPairingCorrection()

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

Definition at line 44 of file G4CookPairingCorrections.hh.

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

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

◆ operator=()

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

Field Documentation

◆ PairingNTable

G4double G4CookPairingCorrections::PairingNTable
staticprivate
Initial value:
= {
0.08, 1.41, -0.08, 1.50, -0.05, 2.24, -0.47, 1.43, -0.15, 1.44,
0.06, 1.56, 0.25, 1.57, -0.16, 1.46, 0.00, 0.93, 0.01, 0.62,
-0.50, 1.42, 0.13, 1.52, -0.65, 0.80, -0.08, 1.29, -0.47, 1.25,
-0.44, 0.97, 0.08, 1.65, -0.11, 1.26, -0.46, 1.06, 0.22, 1.55,
-0.07, 1.37, 0.10, 1.20, -0.27, 0.92, -0.35, 1.19, 0.00, 1.05,
-0.25, 1.61, -0.21, 0.90, -0.21, 0.74, -0.38, 0.72, -0.34, 0.92,
-0.26, 0.94, 0.01, 0.65, -0.36, 0.83, 0.11, 0.67, 0.05, 1.00,
0.51, 1.04, 0.33, 0.68, -0.27, 0.81, 0.09, 0.75, 0.17, 0.86,
0.14, 1.10, -0.22, 0.84, -0.47, 0.48, 0.02, 0.88, 0.24, 0.52,
0.27, 0.41, -0.05, 0.38, 0.15, 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.04, 0.64,
-0.06, 0.45, 0.05, 0.26, -0.22, 0.39, 0.00, 0.39
}

Definition at line 62 of file G4CookPairingCorrections.hh.

Referenced by G4CookPairingCorrections(), and GetPairingCorrection().

◆ PairingZTable

G4double G4CookPairingCorrections::PairingZTable
staticprivate
Initial value:
= {
1.28, 0.26, 0.88, 0.19, 1.35, -0.05, 1.52, -0.09, 1.17, 0.04,
1.24, 0.29, 1.09, 0.26, 1.17, 0.23, 1.15, -0.08, 1.35, 0.34,
1.05, 0.28, 1.27, 0.00, 1.05, 0.00, 1.00, 0.09, 1.20, 0.20,
1.40, 0.93, 1.00, -0.20, 1.19, 0.09, 0.97, 0.00, 0.92, 0.11,
0.68, 0.05, 0.68, -0.22, 0.79, 0.09, 0.69, 0.01, 0.72, 0.00,
0.40, 0.16, 0.73, 0.00, 0.46, 0.17, 0.89, 0.00, 0.79, 0.00,
0.89, 0.00, 0.81, -0.06, 0.69, -0.20, 0.71, -0.12
}

Definition at line 61 of file G4CookPairingCorrections.hh.

Referenced by G4CookPairingCorrections(), and GetPairingCorrection().


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