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

#include <G4PairingCorrection.hh>

Public Member Functions

 ~G4PairingCorrection ()
 
G4double GetPairingCorrection (G4int A, G4int Z) const
 
G4double GetFissionPairingCorrection (G4int A, G4int Z) const
 

Static Public Member Functions

static G4PairingCorrectionGetInstance ()
 

Detailed Description

Definition at line 42 of file G4PairingCorrection.hh.

Constructor & Destructor Documentation

G4PairingCorrection::~G4PairingCorrection ( )

Definition at line 42 of file G4PairingCorrection.cc.

43 {}

Member Function Documentation

G4double G4PairingCorrection::GetFissionPairingCorrection ( G4int  A,
G4int  Z 
) const

Definition at line 71 of file G4PairingCorrection.cc.

72 {
73  static const G4double PairingConstant = 14.0*MeV;
74  G4int N = A - Z;
75  G4double pairCorr = ((1 - Z + 2*(Z/2)) + (1 - N + 2*(N/2)))
76  *PairingConstant/std::sqrt(static_cast<G4double>(A));
77  return pairCorr;
78 }
int G4int
Definition: G4Types.hh:78
double A(double temperature)
**D E S C R I P T I O N
Definition: HEPEvtcom.cc:77
static constexpr double MeV
Definition: G4SIunits.hh:214
double G4double
Definition: G4Types.hh:76

Here is the caller graph for this function:

G4PairingCorrection * G4PairingCorrection::GetInstance ( void  )
static

Definition at line 45 of file G4PairingCorrection.cc.

46 {
47  if (!theInstance) {
48  static G4PairingCorrection theCorrections;
49  theInstance = &theCorrections;
50  }
51  return theInstance;
52 }

Here is the caller graph for this function:

G4double G4PairingCorrection::GetPairingCorrection ( G4int  A,
G4int  Z 
) const

Definition at line 54 of file G4PairingCorrection.cc.

55 {
56  G4double pairCorr = 0.0;
57  G4int N = A - Z;
58  if(!theCookPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
59 
60  if(!theCameronGilbertPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
61 
62  static const G4double PairingConstant = 12.0*CLHEP::MeV;
63  pairCorr = ((1 - Z + 2*(Z/2)) + (1 - N + 2*(N/2)))
64  *PairingConstant/std::sqrt(static_cast<G4double>(A));
65  }
66  }
67  return std::max(pairCorr, 0.0);
68 }
int G4int
Definition: G4Types.hh:78
double A(double temperature)
static constexpr double MeV
G4bool GetPairingCorrection(G4int N, G4int Z, G4double &result) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
**D E S C R I P T I O N
Definition: HEPEvtcom.cc:77
G4bool GetPairingCorrection(G4int N, G4int Z, G4double &result) const
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:


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