[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 | // |
---|
[1347] | 27 | // $Id: G4VFermiFragment.hh,v 1.4 2010/10/29 17:35:03 vnivanch Exp $ |
---|
| 28 | // GEANT4 tag $Name: geant4-09-04-ref-00 $ |
---|
[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" |
---|
[1347] | 37 | #include "globals.hh" |
---|
[819] | 38 | |
---|
| 39 | class G4VFermiFragment |
---|
| 40 | { |
---|
| 41 | public: |
---|
[1347] | 42 | G4VFermiFragment(G4int anA, G4int aZ, G4int Pol, G4double ExE); |
---|
[819] | 43 | |
---|
[1347] | 44 | virtual ~G4VFermiFragment(); |
---|
[819] | 45 | |
---|
| 46 | protected: |
---|
[1347] | 47 | G4VFermiFragment(); |
---|
[819] | 48 | |
---|
| 49 | private: |
---|
| 50 | |
---|
| 51 | G4VFermiFragment(const G4VFermiFragment &right); |
---|
| 52 | |
---|
| 53 | const G4VFermiFragment & operator=(const G4VFermiFragment &right); |
---|
| 54 | G4bool operator==(const G4VFermiFragment &right) const; |
---|
| 55 | G4bool operator!=(const G4VFermiFragment &right) const; |
---|
| 56 | |
---|
| 57 | public: |
---|
| 58 | |
---|
| 59 | virtual G4FragmentVector * GetFragment(const G4LorentzVector & aMomentum) const = 0; |
---|
| 60 | |
---|
[1347] | 61 | inline G4int GetA(void) const |
---|
[819] | 62 | { |
---|
| 63 | return A; |
---|
| 64 | } |
---|
| 65 | |
---|
[1347] | 66 | inline G4int GetZ(void) const |
---|
[819] | 67 | { |
---|
| 68 | return Z; |
---|
| 69 | } |
---|
| 70 | |
---|
[1347] | 71 | inline G4int GetPolarization(void) const |
---|
[819] | 72 | { |
---|
| 73 | return Polarization; |
---|
| 74 | } |
---|
| 75 | |
---|
[1347] | 76 | inline G4double GetExcitationEnergy(void) const |
---|
[819] | 77 | { |
---|
| 78 | return ExcitEnergy; |
---|
| 79 | } |
---|
| 80 | |
---|
[1347] | 81 | inline G4double GetFragmentMass(void) const |
---|
[819] | 82 | { |
---|
[1347] | 83 | return fragmentMass; |
---|
[819] | 84 | } |
---|
| 85 | |
---|
[1347] | 86 | inline G4double GetTotalEnergy(void) const |
---|
[819] | 87 | { |
---|
[1347] | 88 | return (GetFragmentMass() + GetExcitationEnergy()); |
---|
[819] | 89 | } |
---|
| 90 | |
---|
| 91 | protected: |
---|
| 92 | |
---|
| 93 | G4int A; |
---|
| 94 | |
---|
| 95 | G4int Z; |
---|
| 96 | |
---|
| 97 | G4int Polarization; |
---|
| 98 | |
---|
| 99 | G4double ExcitEnergy; |
---|
| 100 | |
---|
[1347] | 101 | G4double fragmentMass; |
---|
[819] | 102 | |
---|
| 103 | }; |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | #endif |
---|
| 107 | |
---|
| 108 | |
---|