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

#include <G4CameronGilbertPairingCorrections.hh>

Public Member Functions

 G4CameronGilbertPairingCorrections ()
 
 ~G4CameronGilbertPairingCorrections ()=default
 
G4bool GetPairingCorrection (G4int N, G4int Z, G4double &result) const
 
 G4CameronGilbertPairingCorrections (const G4CameronGilbertPairingCorrections &right)=delete
 
const G4CameronGilbertPairingCorrectionsoperator= (const G4CameronGilbertPairingCorrections &right)=delete
 

Detailed Description

Definition at line 39 of file G4CameronGilbertPairingCorrections.hh.

Constructor & Destructor Documentation

◆ G4CameronGilbertPairingCorrections() [1/2]

G4CameronGilbertPairingCorrections::G4CameronGilbertPairingCorrections ( )

Definition at line 71 of file G4CameronGilbertPairingCorrections.cc.

72{
73 for (G4int i=0; i<ZTableSize; ++i) { PairingZTable[i] *= CLHEP::MeV; }
74 for (G4int i=0; i<NTableSize; ++i) { PairingNTable[i] *= CLHEP::MeV; }
75}
int G4int
Definition G4Types.hh:85

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

◆ ~G4CameronGilbertPairingCorrections()

G4CameronGilbertPairingCorrections::~G4CameronGilbertPairingCorrections ( )
default

◆ G4CameronGilbertPairingCorrections() [2/2]

G4CameronGilbertPairingCorrections::G4CameronGilbertPairingCorrections ( const G4CameronGilbertPairingCorrections & right)
delete

Member Function Documentation

◆ GetPairingCorrection()

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

Definition at line 47 of file G4CameronGilbertPairingCorrections.hh.

48 {
49 G4bool res = false;
50 if (Z >= TableMin && Z <= ZTableMax && N >= TableMin && N <= NTableMax) {
51 result = PairingZTable[Z - TableMin] + PairingNTable[N - TableMin];
52 res = true;
53 }
54 return res;
55 }
bool G4bool
Definition G4Types.hh:86
#define N
Definition crc32.c:57

◆ operator=()

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

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