#include <G4CookShellCorrections.hh>
Public Types | |
ZTableSize = 68 | |
NTableSize = 118 | |
ZTableMin = 28 | |
ZTableMax = 95 | |
NTableMin = 33 | |
NTableMax = 150 | |
enum | { ZTableSize = 68, NTableSize = 118, ZTableMin = 28, ZTableMax = 95, NTableMin = 33, NTableMax = 150 } |
Public Member Functions | |
~G4CookShellCorrections () | |
G4double | GetShellCorrection (G4int A, G4int Z) const |
G4double | GetShellZ (const G4int Z) const |
G4bool | IsInTableThisZ (const G4int Z) const |
G4double | GetShellN (const G4int N) const |
G4bool | IsInTableThisN (const G4int N) const |
Static Public Member Functions | |
static G4CookShellCorrections * | GetInstance () |
Definition at line 42 of file G4CookShellCorrections.hh.
anonymous enum |
Definition at line 96 of file G4CookShellCorrections.hh.
00096 { ZTableSize = 68, NTableSize = 118, ZTableMin = 28, ZTableMax = 95, 00097 NTableMin = 33, NTableMax = 150 };
G4CookShellCorrections::~G4CookShellCorrections | ( | ) |
G4CookShellCorrections * G4CookShellCorrections::GetInstance | ( | ) | [static] |
Definition at line 77 of file G4CookShellCorrections.cc.
00078 { 00079 if (!theInstance) { 00080 static G4CookShellCorrections theCorrections; 00081 theInstance = &theCorrections; 00082 } 00083 return theInstance; 00084 }
Definition at line 57 of file G4CookShellCorrections.hh.
References GetShellN(), and GetShellZ().
Referenced by G4ShellCorrection::GetShellCorrection().
Definition at line 79 of file G4CookShellCorrections.hh.
References G4cerr, G4endl, and NTableMin.
Referenced by GetShellCorrection().
00080 { 00081 if ( this->IsInTableThisN(N) ) return ShellNTable[N-NTableMin]*CLHEP::MeV; 00082 else { 00083 #ifdef verbose 00084 G4cerr << "G4CookShellCorrections: out of table for N = " << N << G4endl; 00085 #endif 00086 return 0.0; 00087 } 00088 }
Definition at line 62 of file G4CookShellCorrections.hh.
References G4cerr, G4endl, and ZTableMin.
Referenced by GetShellCorrection().
00063 { 00064 if ( this->IsInTableThisZ(Z) ) return ShellZTable[Z-ZTableMin]*CLHEP::MeV; 00065 else { 00066 #ifdef verbose 00067 G4cerr << "G4CookShellCorrections: out of table for Z = " << Z << G4endl; 00068 #endif 00069 return 0.0; 00070 } 00071 }
Definition at line 90 of file G4CookShellCorrections.hh.
References NTableMax, and NTableMin.
Referenced by G4ShellCorrection::GetShellCorrection().
Definition at line 73 of file G4CookShellCorrections.hh.
References ZTableMax, and ZTableMin.
Referenced by G4ShellCorrection::GetShellCorrection().