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

#include <G4CameronShellPlusPairingCorrections.hh>

Public Types

enum  { TableSize = 200 }
 

Public Member Functions

 G4CameronShellPlusPairingCorrections ()
 
 ~G4CameronShellPlusPairingCorrections ()
 
G4double GetShellPlusPairingZ (G4int Z) const
 
G4double GetShellPlusPairingN (G4int N) const
 

Detailed Description

Definition at line 39 of file G4CameronShellPlusPairingCorrections.hh.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

G4CameronShellPlusPairingCorrections::G4CameronShellPlusPairingCorrections ( )

Definition at line 86 of file G4CameronShellPlusPairingCorrections.cc.

References TableSize.

87 {
88  for(size_t i=0; i<TableSize; ++i) { SPZTable[i] *= CLHEP::MeV; }
89  for(size_t i=0; i<TableSize; ++i) { SPNTable[i] *= CLHEP::MeV; }
90 }
G4CameronShellPlusPairingCorrections::~G4CameronShellPlusPairingCorrections ( )

Definition at line 92 of file G4CameronShellPlusPairingCorrections.cc.

93 {}

Member Function Documentation

G4double G4CameronShellPlusPairingCorrections::GetShellPlusPairingN ( G4int  N) const
inline

Definition at line 56 of file G4CameronShellPlusPairingCorrections.hh.

57  {
58  G4double res = 0.0;
59  if (N <= TableSize && N > 0) { res = SPNTable[N-1]; }
60  return res;
61  }
**D E S C R I P T I O N
double G4double
Definition: G4Types.hh:76
G4double G4CameronShellPlusPairingCorrections::GetShellPlusPairingZ ( G4int  Z) const
inline

Definition at line 48 of file G4CameronShellPlusPairingCorrections.hh.

49  {
50  G4double res = 0.0;
51  if (Z <= TableSize && Z > 1) { res = SPZTable[Z-1]; }
52  return res;
53  }
double G4double
Definition: G4Types.hh:76

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