ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bindingEnergyAsymptotic.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file bindingEnergyAsymptotic.cc
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // 20100202 M. Kelsey -- Eliminate unnecessary use of std::pow()
28 // 20100914 M. Kelsey -- Migrate to integer A and Z; discard unused verbose
29 // 20150622 M. Kelsey -- For integer G4cbrt, move Z^4 outside.
30 
32 
34  // calculates the nuclei binding energy
35  // using smooth liquid high energy formula
36  G4double X = (1.0 - 2.0*Z/A); X *= X;
37  G4double X1 = G4cbrt(A);
38  G4double X2 = X1 * X1;
39  G4double X3 = 1.0 / X1;
40  G4double X4 = 1.0 / X2;
41  G4double X5 = (1.0 - 0.62025 * X4); X5 *= X5;
42  G4double Z13 = G4cbrt(Z);
43 
44  G4double DM = 17.035 * (1.0 - 1.846 * X) * A -
45  25.8357 * (1.0 - 1.712 * X) * X2 * X5 -
46  0.779 * Z * (Z - 1) * X3 *
47  (1.0 - 1.5849 * X4 + 1.2273 / A + 1.5772 * X4 * X4) +
48  0.4328 * Z13*Z13*Z13*Z13 * X3 *
49  (1.0 - 0.57811 * X3 - 0.14518 * X4 + 0.496 / A);
50 
51  return DM;
52 }