// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // Calculation of the nucleus-nucleus total, inelastic, production, // elastic and quasi-elastic cross-sections // based on parametrisations of nucleon-nucleon // cross-sections in // the framework of simplified Glauber-Gribov approach // // // 24.11.08 V. Grichine - first implementation based on G4GlauberGribovCrossSection // // #ifndef G4ComponentGGNuclNuclXsc_h #define G4ComponentGGNuclNuclXsc_h #include "globals.hh" #include "G4Proton.hh" #include "G4Nucleus.hh" #include "G4NistManager.hh" #include "G4VComponentCrossSection.hh" class G4ParticleDefinition; class G4HadronNucleonXsc; class G4ComponentGGNuclNuclXsc : public G4VComponentCrossSection { public: G4ComponentGGNuclNuclXsc (); virtual ~G4ComponentGGNuclNuclXsc (); // virtual interface methods virtual G4double GetTotalIsotopeCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4int A); virtual G4double GetTotalElementCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4double A); virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4int A); virtual G4double GetInelasticElementCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4double A); virtual G4double GetElasticElementCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4double A); virtual G4double GetElasticIsotopeCrossSection(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4int A); virtual G4double ComputeQuasiElasticRatio(const G4ParticleDefinition* aParticle, G4double kinEnergy, G4int Z, G4int A); // virtual G4bool IsElementApplicable(const G4DynamicParticle*, G4int Z, const G4Material*); // virtual G4double GetElementCrossSection(const G4DynamicParticle*, G4int Z, const G4Material*); G4double GetZandACrossSection(const G4DynamicParticle*, G4int Z, G4int A); G4double GetCoulombBarier(const G4DynamicParticle*, G4double Z, G4double A, G4double pR, G4double tR); virtual void BuildPhysicsTable(const G4ParticleDefinition&) {} virtual void DumpPhysicsTable(const G4ParticleDefinition&) {G4cout << "G4NuclNuclCrossSection: uses Glauber-Gribov formula"<