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

#include <G4CameronTruranHilfPairingCorrections.hh>

Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 39 of file G4CameronTruranHilfPairingCorrections.hh.

Member Enumeration Documentation

Constructor & Destructor Documentation

G4CameronTruranHilfPairingCorrections::G4CameronTruranHilfPairingCorrections ( )
explicit

Definition at line 75 of file G4CameronTruranHilfPairingCorrections.cc.

76 {
77  for(size_t i=0; i<ZTableSize; ++i) { PairingZTable[i] *= CLHEP::MeV; }
78  for(size_t i=0; i<NTableSize; ++i) { PairingNTable[i] *= CLHEP::MeV; }
79 }
static constexpr double MeV

Member Function Documentation

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

Definition at line 45 of file G4CameronTruranHilfPairingCorrections.hh.

46  {
47  G4bool res = false;
48  if(Z >= ZTableMin && Z <= ZTableMax && N >= NTableMin && N <= NTableMax) {
49  result = PairingZTable[Z-ZTableMin] + PairingNTable[N-NTableMin];
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: