[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 | // |
---|
[1340] | 26 | // $Id: G4PreCompoundFragment.hh,v 1.6 2010/08/28 15:16:55 vnivanch Exp $ |
---|
| 27 | // GEANT4 tag $Name: geant4-09-03-ref-09 $ |
---|
[962] | 28 | // |
---|
[1340] | 29 | // J. M. Quesada (August 2008). |
---|
| 30 | // Based on previous work by V. Lara |
---|
| 31 | // |
---|
| 32 | // Modified: |
---|
| 33 | // 03.09.2008 by J. M. Quesada for external choice of inverse |
---|
| 34 | // cross section option (default OPTxs=2) |
---|
| 35 | // 06.09.2008 by JMQ Also external choice has been added for |
---|
| 36 | // superimposed Coulomb barrier (if useSICB=true, default false) |
---|
| 37 | // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added |
---|
| 38 | // G4ParticleDefinition to constructor |
---|
[819] | 39 | |
---|
| 40 | #ifndef G4PreCompoundFragment_h |
---|
| 41 | #define G4PreCompoundFragment_h 1 |
---|
| 42 | |
---|
| 43 | #include "G4VPreCompoundFragment.hh" |
---|
| 44 | |
---|
| 45 | class G4PreCompoundFragment : public G4VPreCompoundFragment |
---|
| 46 | { |
---|
| 47 | public: |
---|
[1340] | 48 | |
---|
| 49 | G4PreCompoundFragment(const G4ParticleDefinition*, |
---|
| 50 | G4VCoulombBarrier * aCoulombBarrier); |
---|
[819] | 51 | |
---|
| 52 | virtual ~G4PreCompoundFragment(); |
---|
| 53 | |
---|
| 54 | // ================================================ |
---|
| 55 | // Methods for calculating the emission probability |
---|
| 56 | // ================================================ |
---|
| 57 | |
---|
| 58 | // Calculates the total (integrated over kinetic energy) emission |
---|
| 59 | // probability of a fragment |
---|
| 60 | G4double CalcEmissionProbability(const G4Fragment & aFragment); |
---|
| 61 | |
---|
| 62 | G4double GetKineticEnergy(const G4Fragment & aFragment); |
---|
| 63 | |
---|
[1340] | 64 | protected: |
---|
| 65 | |
---|
| 66 | virtual G4double |
---|
| 67 | ProbabilityDistributionFunction(G4double K, |
---|
| 68 | const G4Fragment & aFragment) = 0; |
---|
| 69 | |
---|
[819] | 70 | private: |
---|
| 71 | // This method performs integration for probability function over |
---|
| 72 | // fragment kinetic energy |
---|
[1340] | 73 | G4double IntegrateEmissionProbability(G4double Low, |
---|
| 74 | G4double Up, |
---|
[819] | 75 | const G4Fragment & aFragment); |
---|
| 76 | |
---|
[1340] | 77 | // default constructor |
---|
| 78 | G4PreCompoundFragment(); |
---|
| 79 | // operators |
---|
| 80 | G4PreCompoundFragment(const G4PreCompoundFragment &right); |
---|
| 81 | const G4PreCompoundFragment& |
---|
| 82 | operator= (const G4PreCompoundFragment &right); |
---|
| 83 | G4int operator==(const G4PreCompoundFragment &right) const; |
---|
| 84 | G4int operator!=(const G4PreCompoundFragment &right) const; |
---|
[962] | 85 | |
---|
[819] | 86 | }; |
---|
| 87 | |
---|
| 88 | #endif |
---|