Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PairingCorrection Class Reference

#include <G4PairingCorrection.hh>

Public Member Functions

 G4PairingCorrection ()
 
 ~G4PairingCorrection ()=default
 
G4double GetPairingCorrection (G4int A, G4int Z) const
 
G4double GetFissionPairingCorrection (G4int A, G4int Z) const
 
 G4PairingCorrection (const G4PairingCorrection &right)=delete
 
const G4PairingCorrectionoperator= (const G4PairingCorrection &right)=delete
 

Detailed Description

Definition at line 40 of file G4PairingCorrection.hh.

Constructor & Destructor Documentation

◆ G4PairingCorrection() [1/2]

G4PairingCorrection::G4PairingCorrection ( )

Definition at line 41 of file G4PairingCorrection.cc.

42{}

Referenced by G4PairingCorrection(), and operator=().

◆ ~G4PairingCorrection()

G4PairingCorrection::~G4PairingCorrection ( )
default

◆ G4PairingCorrection() [2/2]

G4PairingCorrection::G4PairingCorrection ( const G4PairingCorrection & right)
delete

Member Function Documentation

◆ GetFissionPairingCorrection()

G4double G4PairingCorrection::GetFissionPairingCorrection ( G4int A,
G4int Z ) const

Definition at line 57 of file G4PairingCorrection.cc.

58{
59 G4int N = A - Z;
60 G4double pairCorr = (2 - A + 2*(Z/2) + 2*(N/2))
61 *PairingConstant/std::sqrt(static_cast<G4double>(A));
62 return pairCorr;
63}
double G4double
Definition G4Types.hh:83
int G4int
Definition G4Types.hh:85
const G4double A[17]
#define N
Definition crc32.c:57

◆ GetPairingCorrection()

G4double G4PairingCorrection::GetPairingCorrection ( G4int A,
G4int Z ) const

Definition at line 44 of file G4PairingCorrection.cc.

45{
46 G4double pairCorr = 0.0;
47 G4int N = A - Z;
48
49 if (!theCameronGilbertPairingCorrections.GetPairingCorrection(N, Z, pairCorr) ) {
50 pairCorr = (2 - A + 2*(Z/2) + 2*(N/2))
51 *PairingConstant/std::sqrt(static_cast<G4double>(A));
52 }
53 return pairCorr;
54}

Referenced by G4NuclearLevelData::GetPairingCorrection().

◆ operator=()

const G4PairingCorrection & G4PairingCorrection::operator= ( const G4PairingCorrection & right)
delete

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