#include <G4CameronTruranHilfPairingCorrections.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 | |
~G4CameronTruranHilfPairingCorrections () | |
G4double | GetParingCorrection (const G4int A, const G4int Z) const |
G4double | GetPairingZ (const G4int Z) const |
G4bool | IsInTableThisZ (const G4int Z) const |
G4double | GetPairingN (const G4int N) const |
G4bool | IsInTableThisN (const G4int N) const |
Static Public Member Functions | |
static G4CameronTruranHilfPairingCorrections * | GetInstance () |
Definition at line 41 of file G4CameronTruranHilfPairingCorrections.hh.
anonymous enum |
Definition at line 97 of file G4CameronTruranHilfPairingCorrections.hh.
00097 { ZTableSize = 93, NTableSize = 146, ZTableMin = 10, ZTableMax = 102, 00098 NTableMin = 10, NTableMax = 155 };
G4CameronTruranHilfPairingCorrections::~G4CameronTruranHilfPairingCorrections | ( | ) |
G4CameronTruranHilfPairingCorrections * G4CameronTruranHilfPairingCorrections::GetInstance | ( | ) | [static] |
Definition at line 83 of file G4CameronTruranHilfPairingCorrections.cc.
00084 { 00085 if (!theInstance) { 00086 static G4CameronTruranHilfPairingCorrections theCorrections; 00087 theInstance = &theCorrections; 00088 } 00089 return theInstance; 00090 }
Definition at line 79 of file G4CameronTruranHilfPairingCorrections.hh.
References G4cerr, G4endl, IsInTableThisN(), and NTableMin.
Referenced by GetParingCorrection().
00080 { 00081 if (IsInTableThisN(N)) return -PairingNTable[N-NTableMin]*CLHEP::MeV; // Notice the sign 00082 else { 00083 #ifdef verbose 00084 G4cerr << "G4CameronTruranHilfPairingCorrections: out of table for N = " << N << G4endl; 00085 #endif 00086 return 0.0; 00087 } 00088 }
Definition at line 61 of file G4CameronTruranHilfPairingCorrections.hh.
References G4cerr, G4endl, IsInTableThisZ(), and ZTableMin.
Referenced by GetParingCorrection().
00062 { 00063 if (IsInTableThisZ(Z)) return -PairingZTable[Z-ZTableMin]*CLHEP::MeV; // Notice the sign 00064 else { 00065 #ifdef verbose 00066 G4cerr << "G4CameronTruranHilfPairingCorrections: out of table for Z = " << Z << G4endl; 00067 #endif 00068 return 0.0; 00069 } 00070 }
G4double G4CameronTruranHilfPairingCorrections::GetParingCorrection | ( | const G4int | A, | |
const G4int | Z | |||
) | const [inline] |
Definition at line 55 of file G4CameronTruranHilfPairingCorrections.hh.
References GetPairingN(), and GetPairingZ().
00056 { 00057 return GetPairingZ(Z) + GetPairingN(A-Z); 00058 }
Definition at line 90 of file G4CameronTruranHilfPairingCorrections.hh.
References NTableMax, and NTableMin.
Referenced by GetPairingN().
Definition at line 72 of file G4CameronTruranHilfPairingCorrections.hh.
References ZTableMax, and ZTableMin.
Referenced by GetPairingZ().