Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CameronGilbertPairingCorrections Class Reference

#include <G4CameronGilbertPairingCorrections.hh>

Public Types

enum  {
  ZTableSize = 88, NTableSize = 140, ZTableMin = 11, ZTableMax = 98,
  NTableMin = 11, NTableMax = 150
}
 

Public Member Functions

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

Detailed Description

Definition at line 40 of file G4CameronGilbertPairingCorrections.hh.

Member Enumeration Documentation

Constructor & Destructor Documentation

G4CameronGilbertPairingCorrections::G4CameronGilbertPairingCorrections ( )
explicit

Definition at line 72 of file G4CameronGilbertPairingCorrections.cc.

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

Member Function Documentation

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

Definition at line 46 of file G4CameronGilbertPairingCorrections.hh.

47  {
48  G4bool res = false;
49  if(Z >= ZTableMin && Z <= ZTableMax && N >= NTableMin && N <= NTableMax) {
50  result = PairingZTable[Z-ZTableMin] + PairingNTable[N-NTableMin];
51  res = true;
52  }
53  return res;
54  }
G4double G4ParticleHPJENDLHEData::G4double result
bool G4bool
Definition: G4Types.hh:79
**D E S C R I P T I O N
Definition: HEPEvtcom.cc:77

Here is the caller graph for this function:


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