Geant4 11.1.1
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 ()
 
 ~G4CameronShellPlusPairingCorrections ()=default
 
G4bool GetPairingCorrection (G4int N, G4int Z, G4double &result) const
 
 G4CameronShellPlusPairingCorrections (const G4CameronShellPlusPairingCorrections &right)=delete
 
const G4CameronShellPlusPairingCorrectionsoperator= (const G4CameronShellPlusPairingCorrections &right)=delete
 

Detailed Description

Definition at line 38 of file G4CameronShellPlusPairingCorrections.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ G4CameronShellPlusPairingCorrections() [1/2]

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}

◆ ~G4CameronShellPlusPairingCorrections()

G4CameronShellPlusPairingCorrections::~G4CameronShellPlusPairingCorrections ( )
default

◆ G4CameronShellPlusPairingCorrections() [2/2]

G4CameronShellPlusPairingCorrections::G4CameronShellPlusPairingCorrections ( const G4CameronShellPlusPairingCorrections right)
delete

Member Function Documentation

◆ GetPairingCorrection()

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

Definition at line 46 of file G4CameronShellPlusPairingCorrections.hh.

47 {
48 G4bool res = false;
49 if(Z <= TableSize && N <= TableSize) {
50 result = SPZTable[Z-1] + SPNTable[N-1];
51 res = true;
52 }
53 return res;
54 }
bool G4bool
Definition: G4Types.hh:86
const G4int Z[17]
#define N
Definition: crc32.c:56

◆ operator=()

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

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