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

#include <G4CameronTruranHilfShellCorrections.hh>

Public Types

enum  {
  ZTableSize = 93, NTableSize = 146, ZTableMin = 10, ZTableMax = 102,
  NTableMin = 10, NTableMax = 155
}
 

Public Member Functions

 G4CameronTruranHilfShellCorrections ()
 
 ~G4CameronTruranHilfShellCorrections ()
 
G4double GetShellCorrection (G4int A, G4int Z) const
 
G4double GetShellZ (G4int Z) const
 
G4bool IsInTableThisZ (G4int Z) const
 
G4double GetShellN (G4int N) const
 
G4bool IsInTableThisN (G4int N) const
 

Detailed Description

Definition at line 39 of file G4CameronTruranHilfShellCorrections.hh.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

G4CameronTruranHilfShellCorrections::G4CameronTruranHilfShellCorrections ( )

Definition at line 78 of file G4CameronTruranHilfShellCorrections.cc.

References NTableSize, and ZTableSize.

79 {
80  for(size_t i=0; i<ZTableSize; ++i) { ShellZTable[i] *= CLHEP::MeV; }
81  for(size_t i=0; i<NTableSize; ++i) { ShellNTable[i] *= CLHEP::MeV; }
82 }
G4CameronTruranHilfShellCorrections::~G4CameronTruranHilfShellCorrections ( )

Definition at line 84 of file G4CameronTruranHilfShellCorrections.cc.

85 {}

Member Function Documentation

G4double G4CameronTruranHilfShellCorrections::GetShellCorrection ( G4int  A,
G4int  Z 
) const
inline

Definition at line 48 of file G4CameronTruranHilfShellCorrections.hh.

References GetShellN(), and GetShellZ().

49  {
50  return GetShellZ(Z) + GetShellN(A-Z);
51  }
G4double G4CameronTruranHilfShellCorrections::GetShellN ( G4int  N) const
inline

Definition at line 68 of file G4CameronTruranHilfShellCorrections.hh.

References IsInTableThisN(), and NTableMin.

Referenced by GetShellCorrection().

69  {
70  G4double res = 0.0;
71  if (IsInTableThisN(N)) { res = ShellNTable[N-NTableMin]; }
72  return res;
73  }
**D E S C R I P T I O N
double G4double
Definition: G4Types.hh:76
G4double G4CameronTruranHilfShellCorrections::GetShellZ ( G4int  Z) const
inline

Definition at line 54 of file G4CameronTruranHilfShellCorrections.hh.

References IsInTableThisZ(), and ZTableMin.

Referenced by GetShellCorrection().

55  {
56  G4double res = 0.0;
57  if (IsInTableThisZ(Z)) { res = ShellZTable[Z-ZTableMin]; }
58  return res;
59  }
double G4double
Definition: G4Types.hh:76
G4bool G4CameronTruranHilfShellCorrections::IsInTableThisN ( G4int  N) const
inline
G4bool G4CameronTruranHilfShellCorrections::IsInTableThisZ ( G4int  Z) const
inline

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