Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4CameronGilbertShellCorrections Class Reference

#include <G4CameronGilbertShellCorrections.hh>

Public Types

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

Public Member Functions

 G4CameronGilbertShellCorrections ()
 
G4bool GetShellCorrection (G4int N, G4int Z, G4double &result) const
 

Detailed Description

Definition at line 39 of file G4CameronGilbertShellCorrections.hh.

Member Enumeration Documentation

Constructor & Destructor Documentation

G4CameronGilbertShellCorrections::G4CameronGilbertShellCorrections ( )

Definition at line 72 of file G4CameronGilbertShellCorrections.cc.

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

Member Function Documentation

G4bool G4CameronGilbertShellCorrections::GetShellCorrection ( G4int  N,
G4int  Z,
G4double result 
) const
inline

Definition at line 45 of file G4CameronGilbertShellCorrections.hh.

46  {
47  G4bool res = false;
48  if(Z >= ZTableMin && Z <= ZTableMax && N >= NTableMin && N <= NTableMax) {
49  result = ShellZTable[Z-ZTableMin] + ShellNTable[N-NTableMin];
50  res = true;
51  }
52  return res;
53  }
G4double G4ParticleHPJENDLHEData::G4double result
const int N
Definition: mixmax.h:43
bool G4bool
Definition: G4Types.hh:79

Here is the caller graph for this function:


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