[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: G4PreCompoundIon.hh,v 1.8 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 | // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added |
---|
| 34 | // G4ParticleDefinition to constructor, |
---|
| 35 | // moved constructor and destructor to source, |
---|
| 36 | // added inline methods |
---|
[819] | 37 | |
---|
| 38 | #ifndef G4PreCompoundIon_h |
---|
| 39 | #define G4PreCompoundIon_h 1 |
---|
| 40 | |
---|
| 41 | #include "G4PreCompoundFragment.hh" |
---|
| 42 | |
---|
| 43 | class G4PreCompoundIon : public G4PreCompoundFragment |
---|
| 44 | { |
---|
[1340] | 45 | public: |
---|
| 46 | |
---|
| 47 | G4PreCompoundIon(const G4ParticleDefinition*, |
---|
| 48 | G4VCoulombBarrier * aCoulombBarrier); |
---|
| 49 | |
---|
| 50 | virtual ~G4PreCompoundIon(); |
---|
| 51 | |
---|
[819] | 52 | protected: |
---|
[1340] | 53 | |
---|
| 54 | virtual G4double |
---|
| 55 | ProbabilityDistributionFunction(G4double eKin, |
---|
| 56 | const G4Fragment& aFragment); |
---|
[819] | 57 | |
---|
[1340] | 58 | virtual G4double CrossSection(G4double ekin) = 0; |
---|
[819] | 59 | |
---|
[1340] | 60 | virtual G4double |
---|
| 61 | GetRj(G4int NumberParticles, G4int NumberCharged) = 0; |
---|
[819] | 62 | |
---|
[1340] | 63 | virtual G4double FactorialFactor(G4int N, G4int P) = 0; |
---|
[962] | 64 | |
---|
[1340] | 65 | virtual G4double CoalescenceFactor(G4int A) = 0; |
---|
[962] | 66 | |
---|
[1340] | 67 | virtual G4double GetAlpha() = 0; |
---|
[962] | 68 | |
---|
[1340] | 69 | inline G4double GetBeta(); |
---|
[962] | 70 | |
---|
[1340] | 71 | inline G4double GetOpt0(G4double ekin); |
---|
[962] | 72 | |
---|
[1340] | 73 | private: |
---|
[819] | 74 | |
---|
[1340] | 75 | // default constructor |
---|
| 76 | G4PreCompoundIon(); |
---|
| 77 | // operators |
---|
| 78 | G4PreCompoundIon(const G4PreCompoundIon &right); |
---|
| 79 | const G4PreCompoundIon& |
---|
| 80 | operator= (const G4PreCompoundIon &right); |
---|
| 81 | G4int operator==(const G4PreCompoundIon &right) const; |
---|
| 82 | G4int operator!=(const G4PreCompoundIon &right) const; |
---|
[962] | 83 | |
---|
[1340] | 84 | G4double fact; |
---|
| 85 | }; |
---|
| 86 | |
---|
| 87 | inline G4double G4PreCompoundIon::GetBeta() |
---|
| 88 | { |
---|
| 89 | return -GetCoulombBarrier(); |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | // *********************** OPT=0 : Dostrovski's cross section *************** |
---|
| 93 | inline G4double G4PreCompoundIon::GetOpt0(G4double K) |
---|
| 94 | { |
---|
| 95 | G4double r0 = theParameters->Getr0()*ResidualA13(); |
---|
| 96 | // cross section is now given in mb (r0 is in mm) for the sake of consistency |
---|
| 97 | //with the rest of the options |
---|
| 98 | return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K); |
---|
| 99 | } |
---|
| 100 | |
---|
[819] | 101 | #endif |
---|