[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 | |
---|
| 27 | #ifndef G4IonsShenCrossSection_h |
---|
| 28 | #define G4IonsShenCrossSection_h |
---|
| 29 | // |
---|
| 30 | // Class Description |
---|
| 31 | // Implementation of formulas |
---|
| 32 | // Shen et al. Nuc. Phys. A 491 130 (1989); |
---|
| 33 | // Total Reaction Cross Section for Heavy-Ion Collisions |
---|
| 34 | // |
---|
| 35 | // Class Description - End |
---|
| 36 | // 18-Sep-2003 First version is written by T. Koi |
---|
| 37 | // 12-Nov-2003 Set upper limit at 10 GeV/n |
---|
| 38 | // 12-Nov-2003 Insted of the lower limit, |
---|
| 39 | // 0 is returned to a partilce with energy lowae than 10 MeV/n |
---|
| 40 | // 15-Nov-2006 Change upper limit to 1 TeV/n |
---|
| 41 | // However above 10GeV/n XS become constant. |
---|
| 42 | // 23-Dec-2006 Isotope dependence added by D. Wright |
---|
| 43 | // |
---|
| 44 | |
---|
| 45 | #include "globals.hh" |
---|
| 46 | #include "G4Proton.hh" |
---|
| 47 | |
---|
| 48 | #include "G4VCrossSectionDataSet.hh" |
---|
| 49 | |
---|
| 50 | class G4IonsShenCrossSection : public G4VCrossSectionDataSet |
---|
| 51 | { |
---|
| 52 | public: |
---|
| 53 | G4IonsShenCrossSection (): |
---|
| 54 | upperLimit ( 1 * TeV ), |
---|
| 55 | lowerLimit ( 10 * MeV ), |
---|
| 56 | r0 ( 1.1 ) |
---|
| 57 | { |
---|
| 58 | } |
---|
| 59 | |
---|
| 60 | virtual |
---|
| 61 | G4bool IsApplicable(const G4DynamicParticle* aDP, const G4Element*) |
---|
| 62 | { |
---|
| 63 | return IsZAApplicable(aDP, 0., 0.); |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | virtual |
---|
| 67 | G4bool IsZAApplicable(const G4DynamicParticle* aDP, |
---|
| 68 | G4double /*ZZ*/, G4double /*AA*/) |
---|
| 69 | { |
---|
| 70 | G4int baryonNumber = aDP->GetDefinition()->GetBaryonNumber(); |
---|
| 71 | G4double kineticEnergy = aDP->GetKineticEnergy(); |
---|
| 72 | if ( kineticEnergy / baryonNumber <= upperLimit ) |
---|
| 73 | return true; |
---|
| 74 | return false; |
---|
| 75 | } |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | virtual |
---|
| 79 | G4double GetCrossSection(const G4DynamicParticle*, |
---|
| 80 | const G4Element*, G4double aTemperature); |
---|
| 81 | |
---|
| 82 | virtual |
---|
| 83 | G4double GetIsoZACrossSection(const G4DynamicParticle*, G4double ZZ, |
---|
| 84 | G4double AA, G4double aTemperature); |
---|
| 85 | |
---|
| 86 | virtual |
---|
| 87 | void BuildPhysicsTable(const G4ParticleDefinition&) |
---|
| 88 | {} |
---|
| 89 | |
---|
| 90 | virtual |
---|
| 91 | void DumpPhysicsTable(const G4ParticleDefinition&) |
---|
| 92 | {G4cout << "G4IonsShenCrossSection: uses Shen formula"<<G4endl;} |
---|
| 93 | |
---|
| 94 | private: |
---|
| 95 | const G4double upperLimit; |
---|
| 96 | const G4double lowerLimit; |
---|
| 97 | const G4double r0; |
---|
| 98 | |
---|
| 99 | G4double calEcmValue ( const G4double , const G4double , const G4double ); |
---|
| 100 | G4double calCeValue ( const G4double ); |
---|
| 101 | }; |
---|
| 102 | |
---|
| 103 | #endif |
---|