Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
G4ShellCorrection Class Reference

#include <G4ShellCorrection.hh>

Public Member Functions

 ~G4ShellCorrection ()
 
G4CameronTruranHilfShellCorrectionsGetCameronTruranHilfShellCorrections ()
 
G4CameronShellPlusPairingCorrectionsGetCameronShellPlusPairingCorrections ()
 
G4double GetShellCorrection (G4int A, G4int Z) const
 

Static Public Member Functions

static G4ShellCorrectionGetInstance ()
 

Detailed Description

Definition at line 43 of file G4ShellCorrection.hh.

Constructor & Destructor Documentation

G4ShellCorrection::~G4ShellCorrection ( )

Definition at line 41 of file G4ShellCorrection.cc.

42 {}

Member Function Documentation

G4CameronShellPlusPairingCorrections* G4ShellCorrection::GetCameronShellPlusPairingCorrections ( )
inline

Definition at line 64 of file G4ShellCorrection.hh.

Referenced by G4FissionBarrier::G4FissionBarrier().

65  {
66  return &theCameronShellPlusPairingCorrections;
67  }
G4CameronTruranHilfShellCorrections* G4ShellCorrection::GetCameronTruranHilfShellCorrections ( )
inline

Definition at line 58 of file G4ShellCorrection.hh.

59  {
60  return &theCameronTruranHilfShellCorrections;
61  }
G4ShellCorrection * G4ShellCorrection::GetInstance ( void  )
static

Definition at line 44 of file G4ShellCorrection.cc.

Referenced by G4FissionBarrier::G4FissionBarrier().

45 {
46  if (!theInstance) {
47  static G4ShellCorrection theCorrections;
48  theInstance = &theCorrections;
49  }
50  return theInstance;
51 }
G4double G4ShellCorrection::GetShellCorrection ( G4int  A,
G4int  Z 
) const
inline

Definition at line 70 of file G4ShellCorrection.hh.

References G4CookShellCorrections::GetShellCorrection(), G4CameronGilbertShellCorrections::GetShellCorrection(), G4CameronGilbertShellCorrections::IsInTableThisN(), G4CookShellCorrections::IsInTableThisN(), G4CookShellCorrections::IsInTableThisZ(), and G4CameronGilbertShellCorrections::IsInTableThisZ().

71  {
72  G4double SCorrection = 0.0;
73  if (theCookShellCorrections.IsInTableThisN(A-Z) ||
74  theCookShellCorrections.IsInTableThisZ(Z)) {
75  SCorrection = theCookShellCorrections.GetShellCorrection(A,Z);
76  } else if (theCameronGilbertShellCorrections.IsInTableThisN(A-Z) ||
77  theCameronGilbertShellCorrections.IsInTableThisZ(Z)) {
78  SCorrection = theCameronGilbertShellCorrections.GetShellCorrection(A,Z);
79  }
80  return SCorrection;
81  }
G4bool IsInTableThisZ(G4int Z) const
G4double GetShellCorrection(G4int A, G4int Z) const
G4bool IsInTableThisN(G4int N) const
double G4double
Definition: G4Types.hh:76
G4double GetShellCorrection(G4int A, G4int Z) const

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