Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:32

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 
0027 #ifndef G4IonsShenCrossSection_h
0028 #define G4IonsShenCrossSection_h
0029 //
0030 // Class Description
0031 // Implementation of formulas 
0032 // Shen et al. Nuc. Phys. A 491 130 (1989); 
0033 // Total Reaction Cross Section for Heavy-Ion Collisions 
0034 //
0035 // Class Description - End
0036 // 18-Sep-2003 First version is written by T. Koi
0037 // 12-Nov-2003 Set upper limit at 10 GeV/n
0038 // 12-Nov-2003 Insted of the lower limit,
0039 //             0 is returned to a partilce with energy lowae than 10 MeV/n
0040 // 15-Nov-2006 Change upper limit to 1 TeV/n
0041 //             However above 10GeV/n XS become constant.
0042 // 23-Dec-2006 Isotope dependence added by D. Wright
0043 // 19-Aug-2011 V.Ivanchenko move to new design and make x-section per element
0044 //
0045 
0046 #include "globals.hh"
0047 #include "G4Proton.hh"
0048 
0049 #include "G4VCrossSectionDataSet.hh"
0050 
0051 class G4IonsShenCrossSection : public G4VCrossSectionDataSet
0052 {
0053 public:
0054 
0055   G4IonsShenCrossSection();
0056 
0057   virtual ~G4IonsShenCrossSection();
0058    
0059   virtual
0060   G4bool IsElementApplicable(const G4DynamicParticle* aDP, 
0061                  G4int Z, const G4Material*);
0062 
0063   virtual
0064   G4double GetElementCrossSection(const G4DynamicParticle*, 
0065                  G4int Z, const G4Material*);
0066 
0067   virtual
0068   G4double GetIsoCrossSection(const G4DynamicParticle*, G4int Z, G4int A,  
0069                   const G4Isotope* iso = 0,
0070                   const G4Element* elm = 0,
0071                   const G4Material* mat = 0);
0072 
0073   virtual void CrossSectionDescription(std::ostream&) const;
0074 
0075 private:
0076   const G4double upperLimit;
0077 //  const G4double lowerLimit; 
0078   const G4double r0;
0079 
0080   G4double calEcmValue(const G4double, const G4double, const G4double); 
0081   G4double calCeValue(const G4double); 
0082 };
0083 
0084 #endif