[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 | // |
---|
| 29 | // Modif (03 September 2008) by J. M. Quesada for external choice of inverse |
---|
| 30 | // cross section option (default OPTxs=2) |
---|
| 31 | // JMQ (06 September 2008) Also external choice has been added for |
---|
| 32 | // superimposed Coulomb barrier (if useSICB=true, default false) |
---|
[819] | 33 | |
---|
[962] | 34 | |
---|
[819] | 35 | #ifndef G4PreCompoundFragment_h |
---|
| 36 | #define G4PreCompoundFragment_h 1 |
---|
| 37 | |
---|
| 38 | #include "G4VPreCompoundFragment.hh" |
---|
| 39 | |
---|
| 40 | class G4PreCompoundFragment : public G4VPreCompoundFragment |
---|
| 41 | { |
---|
| 42 | protected: |
---|
| 43 | // default constructor |
---|
| 44 | G4PreCompoundFragment() {}; |
---|
| 45 | |
---|
| 46 | public: |
---|
| 47 | // copy constructor |
---|
| 48 | G4PreCompoundFragment(const G4PreCompoundFragment &right); |
---|
| 49 | |
---|
| 50 | // constructor |
---|
| 51 | G4PreCompoundFragment(const G4double anA, const G4double aZ, |
---|
| 52 | G4VCoulombBarrier * aCoulombBarrier, |
---|
| 53 | const G4String & aName); |
---|
| 54 | |
---|
| 55 | virtual ~G4PreCompoundFragment(); |
---|
| 56 | |
---|
| 57 | // ========== |
---|
| 58 | // operators |
---|
| 59 | // ========== |
---|
| 60 | |
---|
| 61 | const G4PreCompoundFragment& |
---|
| 62 | operator= (const G4PreCompoundFragment &right); |
---|
| 63 | |
---|
| 64 | G4int operator==(const G4PreCompoundFragment &right) const; |
---|
| 65 | |
---|
| 66 | G4int operator!=(const G4PreCompoundFragment &right) const; |
---|
| 67 | |
---|
| 68 | public: |
---|
| 69 | |
---|
| 70 | // Initialization method |
---|
[962] | 71 | // void Initialize(const G4Fragment & aFragment); |
---|
[819] | 72 | |
---|
| 73 | // ================================================ |
---|
| 74 | // Methods for calculating the emission probability |
---|
| 75 | // ================================================ |
---|
| 76 | |
---|
| 77 | // Calculates the total (integrated over kinetic energy) emission |
---|
| 78 | // probability of a fragment |
---|
| 79 | G4double CalcEmissionProbability(const G4Fragment & aFragment); |
---|
| 80 | |
---|
| 81 | G4double GetKineticEnergy(const G4Fragment & aFragment); |
---|
| 82 | |
---|
| 83 | private: |
---|
| 84 | // This method performs integration for probability function over |
---|
| 85 | // fragment kinetic energy |
---|
| 86 | G4double IntegrateEmissionProbability(const G4double & Low, |
---|
| 87 | const G4double & Up, |
---|
| 88 | const G4Fragment & aFragment); |
---|
| 89 | protected: |
---|
| 90 | |
---|
| 91 | virtual G4double |
---|
| 92 | ProbabilityDistributionFunction(const G4double K, |
---|
[962] | 93 | const G4Fragment & aFragment) = 0; |
---|
| 94 | |
---|
[819] | 95 | }; |
---|
| 96 | |
---|
| 97 | #endif |
---|