Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CameronShellPlusPairingCorrections Class Reference

#include <G4CameronShellPlusPairingCorrections.hh>

Public Types

enum  { TableSize = 200 }
 

Public Member Functions

 G4CameronShellPlusPairingCorrections ()
 
G4bool GetPairingCorrection (G4int N, G4int Z, G4double &result) const
 

Detailed Description

Definition at line 39 of file G4CameronShellPlusPairingCorrections.hh.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

G4CameronShellPlusPairingCorrections::G4CameronShellPlusPairingCorrections ( )
explicit

Definition at line 86 of file G4CameronShellPlusPairingCorrections.cc.

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 }
static constexpr double MeV

Member Function Documentation

G4bool G4CameronShellPlusPairingCorrections::GetPairingCorrection ( G4int  N,
G4int  Z,
G4double result 
) const
inline

Definition at line 45 of file G4CameronShellPlusPairingCorrections.hh.

46  {
47  G4bool res = false;
48  if(Z <= TableSize && N <= TableSize) {
49  result = SPZTable[Z-1] + SPNTable[N-1];
50  res = true;
51  }
52  return res;
53  }
G4double G4ParticleHPJENDLHEData::G4double result
bool G4bool
Definition: G4Types.hh:79
**D E S C R I P T I O N
Definition: HEPEvtcom.cc:77

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