[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 | // |
---|
[962] | 26 | //J. M. Quesada (August 2008). |
---|
| 27 | //Based on previous work by V. Lara |
---|
| 28 | // |
---|
[819] | 29 | |
---|
[962] | 30 | |
---|
[819] | 31 | #ifndef G4PreCompoundNucleon_h |
---|
| 32 | #define G4PreCompoundNucleon_h 1 |
---|
| 33 | |
---|
| 34 | #include "G4PreCompoundFragment.hh" |
---|
| 35 | |
---|
| 36 | class G4PreCompoundNucleon : public G4PreCompoundFragment |
---|
| 37 | { |
---|
| 38 | private: |
---|
| 39 | // default constructor |
---|
| 40 | G4PreCompoundNucleon() {}; |
---|
| 41 | |
---|
| 42 | public: |
---|
| 43 | |
---|
| 44 | // copy constructor |
---|
| 45 | G4PreCompoundNucleon(const G4PreCompoundNucleon &right): |
---|
| 46 | G4PreCompoundFragment(right) {} |
---|
| 47 | |
---|
| 48 | // constructor |
---|
| 49 | G4PreCompoundNucleon(const G4double anA, |
---|
| 50 | const G4double aZ, |
---|
[962] | 51 | G4VCoulombBarrier* aCoulombBarrier, |
---|
| 52 | const G4String & aName) : |
---|
| 53 | G4PreCompoundFragment(anA,aZ,aCoulombBarrier,aName) {} |
---|
| 54 | |
---|
| 55 | |
---|
[819] | 56 | virtual ~G4PreCompoundNucleon() {} |
---|
| 57 | |
---|
| 58 | // operators |
---|
| 59 | const G4PreCompoundNucleon & |
---|
| 60 | operator=(const G4PreCompoundNucleon &right) |
---|
| 61 | { |
---|
| 62 | if (&right != this) this->G4PreCompoundFragment::operator=(right); |
---|
| 63 | return *this; |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | G4bool operator==(const G4PreCompoundNucleon &right) const |
---|
| 67 | { |
---|
| 68 | return G4PreCompoundFragment::operator==(right); |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | G4bool operator!=(const G4PreCompoundNucleon &right) const |
---|
| 72 | { |
---|
| 73 | return G4PreCompoundFragment::operator!=(right); |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | virtual G4double ProbabilityDistributionFunction(const G4double eKin, |
---|
| 77 | const G4Fragment& aFragment); |
---|
[962] | 78 | |
---|
| 79 | private: |
---|
[819] | 80 | |
---|
[962] | 81 | G4bool IsItPossible(const G4Fragment&) ; |
---|
[819] | 82 | |
---|
[962] | 83 | protected: |
---|
[819] | 84 | |
---|
[962] | 85 | virtual G4double CrossSection(const G4double ekin)=0; |
---|
| 86 | |
---|
[819] | 87 | virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) = 0; |
---|
| 88 | |
---|
[962] | 89 | }; |
---|
| 90 | |
---|
[819] | 91 | #endif |
---|