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

#include <G4CameronShellPlusPairingCorrections.hh>

Public Types

enum  { TableSize = 200 }
 

Public Member Functions

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

Detailed Description

Definition at line 38 of file G4CameronShellPlusPairingCorrections.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ G4CameronShellPlusPairingCorrections()

G4CameronShellPlusPairingCorrections::G4CameronShellPlusPairingCorrections ( )
explicit

Definition at line 85 of file G4CameronShellPlusPairingCorrections.cc.

86{
87 for(size_t i=0; i<TableSize; ++i) { SPZTable[i] *= CLHEP::MeV; }
88 for(size_t i=0; i<TableSize; ++i) { SPNTable[i] *= CLHEP::MeV; }
89}

Member Function Documentation

◆ GetPairingCorrection()

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

Definition at line 44 of file G4CameronShellPlusPairingCorrections.hh.

45 {
46 G4bool res = false;
47 if(Z <= TableSize && N <= TableSize) {
48 result = SPZTable[Z-1] + SPNTable[N-1];
49 res = true;
50 }
51 return res;
52 }
bool G4bool
Definition: G4Types.hh:86

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