[819] | 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 | // $Id: G4VFermiFragment.hh,v 1.3 2006/06/29 20:12:37 gunter Exp $ |
---|
[962] | 28 | // GEANT4 tag $Name: geant4-09-02-ref-02 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Nuclear De-excitations |
---|
| 31 | // by V. Lara (Nov 1998) |
---|
| 32 | |
---|
| 33 | #ifndef G4VFermiFragment_h |
---|
| 34 | #define G4VFermiFragment_h 1 |
---|
| 35 | |
---|
| 36 | #include "G4FragmentVector.hh" |
---|
| 37 | #include "G4NucleiProperties.hh" |
---|
| 38 | #include "G4ParticleTable.hh" |
---|
| 39 | #include "G4IonTable.hh" |
---|
| 40 | |
---|
| 41 | class G4VFermiFragment |
---|
| 42 | { |
---|
| 43 | public: |
---|
| 44 | G4VFermiFragment(const G4int anA, const G4int aZ, const G4int Pol, const G4double ExE): |
---|
| 45 | A(anA), |
---|
| 46 | Z(aZ), |
---|
| 47 | Polarization(Pol), |
---|
| 48 | ExcitEnergy(ExE) |
---|
| 49 | {} |
---|
| 50 | |
---|
| 51 | virtual ~G4VFermiFragment() {}; |
---|
| 52 | |
---|
| 53 | protected: |
---|
| 54 | G4VFermiFragment() {}; |
---|
| 55 | |
---|
| 56 | private: |
---|
| 57 | |
---|
| 58 | G4VFermiFragment(const G4VFermiFragment &right); |
---|
| 59 | |
---|
| 60 | const G4VFermiFragment & operator=(const G4VFermiFragment &right); |
---|
| 61 | G4bool operator==(const G4VFermiFragment &right) const; |
---|
| 62 | G4bool operator!=(const G4VFermiFragment &right) const; |
---|
| 63 | |
---|
| 64 | public: |
---|
| 65 | |
---|
| 66 | virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0; |
---|
| 67 | |
---|
| 68 | G4int GetA(void) const |
---|
| 69 | { |
---|
| 70 | return A; |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | G4int GetZ(void) const |
---|
| 74 | { |
---|
| 75 | return Z; |
---|
| 76 | } |
---|
| 77 | |
---|
| 78 | G4int GetPolarization(void) const |
---|
| 79 | { |
---|
| 80 | return Polarization; |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | G4double GetExcitationEnergy(void) const |
---|
| 84 | { |
---|
| 85 | return ExcitEnergy; |
---|
| 86 | } |
---|
| 87 | |
---|
| 88 | G4double GetFragmentMass(void) const |
---|
| 89 | { |
---|
| 90 | return G4ParticleTable::GetParticleTable()->GetIonTable()->GetIonMass(Z,A); |
---|
| 91 | } |
---|
| 92 | |
---|
| 93 | G4double GetTotalEnergy(void) const |
---|
| 94 | { |
---|
| 95 | return this->GetFragmentMass() + this->GetExcitationEnergy(); |
---|
| 96 | } |
---|
| 97 | |
---|
| 98 | protected: |
---|
| 99 | |
---|
| 100 | G4int A; |
---|
| 101 | |
---|
| 102 | G4int Z; |
---|
| 103 | |
---|
| 104 | G4int Polarization; |
---|
| 105 | |
---|
| 106 | G4double ExcitEnergy; |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | }; |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | #endif |
---|
| 113 | |
---|
| 114 | |
---|