#include <G4CameronTruranHilfShellCorrections.hh>
Public Types | |
ZTableSize = 93 | |
NTableSize = 146 | |
ZTableMin = 10 | |
ZTableMax = 102 | |
NTableMin = 10 | |
NTableMax = 155 | |
enum | { ZTableSize = 93, NTableSize = 146, ZTableMin = 10, ZTableMax = 102, NTableMin = 10, NTableMax = 155 } |
Public Member Functions | |
~G4CameronTruranHilfShellCorrections () | |
G4double | GetShellCorrection (const G4int A, const 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 G4CameronTruranHilfShellCorrections * | GetInstance () |
Definition at line 40 of file G4CameronTruranHilfShellCorrections.hh.
anonymous enum |
Definition at line 93 of file G4CameronTruranHilfShellCorrections.hh.
00093 { ZTableSize = 93, NTableSize = 146, ZTableMin = 10, ZTableMax = 102, 00094 NTableMin = 10, NTableMax = 155 };
G4CameronTruranHilfShellCorrections::~G4CameronTruranHilfShellCorrections | ( | ) |
G4CameronTruranHilfShellCorrections * G4CameronTruranHilfShellCorrections::GetInstance | ( | ) | [static] |
Definition at line 85 of file G4CameronTruranHilfShellCorrections.cc.
00086 { 00087 if (!theInstance) { 00088 static G4CameronTruranHilfShellCorrections theCorrections; 00089 theInstance = &theCorrections; 00090 } 00091 return theInstance; 00092 }
G4double G4CameronTruranHilfShellCorrections::GetShellCorrection | ( | const G4int | A, | |
const G4int | Z | |||
) | const [inline] |
Definition at line 54 of file G4CameronTruranHilfShellCorrections.hh.
References GetShellN(), and GetShellZ().
Definition at line 76 of file G4CameronTruranHilfShellCorrections.hh.
References G4cerr, G4endl, IsInTableThisN(), and NTableMin.
Referenced by GetShellCorrection().
00077 { 00078 if (IsInTableThisN(N)) return ShellNTable[N-NTableMin]*CLHEP::MeV; 00079 else { 00080 #ifdef verbose 00081 G4cerr << "G4CameronTruranHilfShellCorrections: out of table for N = " << N << G4endl; 00082 #endif 00083 return 0.0; 00084 } 00085 }
Definition at line 59 of file G4CameronTruranHilfShellCorrections.hh.
References G4cerr, G4endl, IsInTableThisZ(), and ZTableMin.
Referenced by GetShellCorrection().
00060 { 00061 if (IsInTableThisZ(Z)) return ShellZTable[Z-ZTableMin]*CLHEP::MeV; 00062 else { 00063 #ifdef verbose 00064 G4cerr << "G4CameronTruranHilfShellCorrections: out of table for Z = " << Z << G4endl; 00065 #endif 00066 return 0.0; 00067 } 00068 }
Definition at line 87 of file G4CameronTruranHilfShellCorrections.hh.
References NTableMax, and NTableMin.
Referenced by GetShellN().
Definition at line 70 of file G4CameronTruranHilfShellCorrections.hh.
References ZTableMax, and ZTableMin.
Referenced by GetShellZ().