[824] | 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 | // |
---|
[1196] | 27 | // $Id: G4NucleiProperties.hh,v 1.20 2009/05/02 11:58:17 kurasige Exp $ |
---|
[1337] | 28 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
[824] | 29 | // |
---|
| 30 | // |
---|
| 31 | // ------------------------------------------------------------ |
---|
| 32 | // GEANT 4 class header file |
---|
| 33 | // |
---|
| 34 | // ------------------------------------------------------------ |
---|
| 35 | // Hadronic Process: Nuclear De-excitations by V. Lara (Oct 1998) |
---|
| 36 | // Migrate into particles category by H.Kurashige (17 Nov. 98) |
---|
| 37 | // Added Shell-Pairing corrections to the Cameron mass |
---|
| 38 | // excess formula by V.Lara (9 May 99) |
---|
| 39 | // |
---|
[1196] | 40 | // 090331 Migrate to AME03 by Koi, Tatsumi |
---|
[824] | 41 | |
---|
| 42 | #ifndef G4NucleiProperties_h |
---|
| 43 | #define G4NucleiProperties_h 1 |
---|
| 44 | |
---|
| 45 | #include "globals.hh" |
---|
| 46 | #include "G4ios.hh" |
---|
[1196] | 47 | #include "G4NucleiPropertiesTableAME03.hh" |
---|
[824] | 48 | #include "G4NucleiPropertiesTheoreticalTable.hh" |
---|
| 49 | #include "G4ParticleTable.hh" |
---|
| 50 | |
---|
| 51 | class G4NucleiProperties |
---|
| 52 | { |
---|
| 53 | // Class Description |
---|
| 54 | // G4NucleiProperties is an utility class to provide mass formula of nuclei |
---|
| 55 | // (i.e. it has static member function only) |
---|
| 56 | |
---|
| 57 | public: |
---|
| 58 | |
---|
| 59 | // Destructor |
---|
| 60 | ~G4NucleiProperties() { }; |
---|
| 61 | |
---|
| 62 | // Default constructor () |
---|
| 63 | G4NucleiProperties(){}; |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | public: // With Description |
---|
| 67 | |
---|
[890] | 68 | // Give mass of nucleus A,Z |
---|
| 69 | static G4double GetNuclearMass(const G4double A, const G4double Z); |
---|
[1196] | 70 | static G4double GetNuclearMass(const G4int A, const G4int Z); |
---|
[824] | 71 | |
---|
[890] | 72 | // return 'true' if the nucleus in the stable table |
---|
| 73 | // (i.e.in G4NucleiPropertiesTable) |
---|
| 74 | static bool IsInStableTable(const G4double A, const G4double Z); |
---|
[1196] | 75 | static bool IsInStableTable(const G4int A, const G4int Z); |
---|
[824] | 76 | |
---|
[890] | 77 | // Give binding energy |
---|
| 78 | static G4double GetBindingEnergy(const G4int A, const G4int Z); |
---|
| 79 | static G4double GetBindingEnergy(const G4double A, const G4double Z); |
---|
| 80 | |
---|
| 81 | // Calculate Mass Excess of nucleus A,Z |
---|
| 82 | static G4double GetMassExcess(const G4int A, const G4int Z); |
---|
| 83 | static G4double GetMassExcess(const G4double A, const G4double Z); |
---|
| 84 | |
---|
[824] | 85 | private: |
---|
[890] | 86 | // hidie methods to enforce using GetNuclearMass |
---|
| 87 | // Give mass of Atom A,Z |
---|
| 88 | static G4double GetAtomicMass(const G4double A, const G4double Z); |
---|
| 89 | |
---|
| 90 | private: |
---|
| 91 | |
---|
| 92 | static G4double AtomicMass(G4double A, G4double Z); |
---|
| 93 | |
---|
[1196] | 94 | static G4double NuclearMass(G4double A, G4double Z); |
---|
| 95 | |
---|
[890] | 96 | static G4double BindingEnergy(G4double A, G4double Z); |
---|
| 97 | |
---|
| 98 | static G4double MassExcess(G4double A, G4double Z); |
---|
[824] | 99 | |
---|
[890] | 100 | private: |
---|
| 101 | // table of orbit electrons mass - binding energy |
---|
| 102 | enum {MaxZ = 120}; |
---|
| 103 | static G4double electronMass[MaxZ]; |
---|
[824] | 104 | |
---|
[890] | 105 | private: |
---|
| 106 | static G4bool isIntialized; |
---|
| 107 | static G4double mass_proton; |
---|
| 108 | static G4double mass_neutron; |
---|
| 109 | static G4double mass_deuteron; |
---|
| 110 | static G4double mass_triton; |
---|
| 111 | static G4double mass_alpha; |
---|
| 112 | static G4double mass_He3; |
---|
| 113 | |
---|
[824] | 114 | }; |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | #endif |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | |
---|