[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 | #ifndef G4IonsSihverCrossSection_h |
---|
| 27 | #define G4IonsSihverCrossSection_h |
---|
| 28 | // |
---|
| 29 | // Class Description |
---|
| 30 | // Implementation of formulas |
---|
| 31 | // Sihver et al. Phys. Rev. C 47 1225 (1993); |
---|
| 32 | // Total Reaction Cross Section for Nucleus-nucles reactions. |
---|
| 33 | // Energy independent |
---|
| 34 | // Valid for 100>MeV/nucleon |
---|
| 35 | // Class Description - End |
---|
| 36 | // |
---|
| 37 | // 23-Dec-2006 Isotope dependence added by D. Wright |
---|
| 38 | // |
---|
| 39 | |
---|
| 40 | #include "globals.hh" |
---|
| 41 | #include "G4Proton.hh" |
---|
| 42 | |
---|
| 43 | #include "G4VCrossSectionDataSet.hh" |
---|
| 44 | |
---|
| 45 | class G4IonsSihverCrossSection : public G4VCrossSectionDataSet |
---|
| 46 | { |
---|
| 47 | public: |
---|
| 48 | G4IonsSihverCrossSection (): |
---|
| 49 | square_r0 ( ( 1.36 * fermi ) * ( 1.36 * fermi ) ) |
---|
| 50 | { |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | virtual |
---|
| 54 | G4bool IsApplicable(const G4DynamicParticle* aDP, const G4Element*) |
---|
| 55 | { |
---|
| 56 | return IsZAApplicable(aDP, 0., 0.); |
---|
| 57 | } |
---|
| 58 | |
---|
| 59 | virtual |
---|
| 60 | G4bool IsZAApplicable(const G4DynamicParticle* aDP, G4double /*ZZ*/, |
---|
| 61 | G4double /*AA*/) |
---|
| 62 | { |
---|
| 63 | G4int BaryonNumber = aDP->GetDefinition()->GetBaryonNumber(); |
---|
| 64 | G4double KineticEnergy = aDP->GetKineticEnergy(); |
---|
| 65 | if ( KineticEnergy / BaryonNumber >= 100*MeV && BaryonNumber > 1 ) |
---|
| 66 | return true; |
---|
| 67 | return false; |
---|
| 68 | } |
---|
| 69 | |
---|
| 70 | virtual |
---|
| 71 | G4double GetCrossSection(const G4DynamicParticle*, |
---|
| 72 | const G4Element*, G4double aTemperature); |
---|
| 73 | |
---|
| 74 | virtual |
---|
| 75 | G4double GetIsoZACrossSection(const G4DynamicParticle*, G4double ZZ, |
---|
| 76 | G4double AA, G4double aTemperature); |
---|
| 77 | |
---|
| 78 | virtual |
---|
| 79 | void BuildPhysicsTable(const G4ParticleDefinition&) |
---|
| 80 | {} |
---|
| 81 | |
---|
| 82 | virtual |
---|
| 83 | void DumpPhysicsTable(const G4ParticleDefinition&) |
---|
| 84 | {G4cout << "tG4GIonCrossSection: uses formula"<<G4endl;} |
---|
| 85 | |
---|
| 86 | private: |
---|
| 87 | const G4double square_r0; |
---|
| 88 | |
---|
| 89 | }; |
---|
| 90 | |
---|
| 91 | #endif |
---|