G4IonsSihverCrossSection.cc

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // 18-Sep-2003 First version is written by T. Koi
00027 // 23-Dec-2006 Isotope dependence added by D. Wright
00028 // 14-Mar-2011 Moved constructor, destructor and virtual methods to source by V.Ivanchenko
00029 // 19-Aug-2011 V.Ivanchenko move to new design and make x-section per element
00030 //
00031 
00032 #include "G4IonsSihverCrossSection.hh"
00033 #include "G4PhysicalConstants.hh"
00034 #include "G4SystemOfUnits.hh"
00035 #include "G4DynamicParticle.hh"
00036 #include "G4HadTmpUtil.hh"
00037 #include "G4NistManager.hh"
00038 #include "G4Pow.hh"
00039 
00040 G4IonsSihverCrossSection::G4IonsSihverCrossSection()
00041   : G4VCrossSectionDataSet("IonsSihver"), square_r0 ( (1.36*fermi) * (1.36*fermi) )
00042 {}
00043 
00044 G4IonsSihverCrossSection::~G4IonsSihverCrossSection()
00045 {}
00046 
00047 void
00048 G4IonsSihverCrossSection::CrossSectionDescription(std::ostream& outFile) const
00049 {
00050   outFile << "G4IonsSihverCrossSection calculates the total reaction cross\n"
00051           << "section for nucleus-nucleus scattering using the Sihver\n"
00052           << "parameterization.  It is valid for projectiles and targets of\n"
00053           << "all Z, and for all projectile energies above 100 MeV/n.\n"; 
00054 }
00055    
00056 G4bool 
00057 G4IonsSihverCrossSection::IsElementApplicable(const G4DynamicParticle* aDP, 
00058                                               G4int, const G4Material*)
00059 {
00060   G4int BaryonNumber = aDP->GetDefinition()->GetBaryonNumber();
00061   G4double KineticEnergy = aDP->GetKineticEnergy(); 
00062   if ( KineticEnergy / BaryonNumber >= 100*MeV && BaryonNumber > 1 ) { return true; }
00063   return false;
00064 }
00065 
00066 G4double 
00067 G4IonsSihverCrossSection::GetElementCrossSection(
00068       const G4DynamicParticle* aParticle, G4int Z, const G4Material*)
00069 {
00070   G4double xsection = 0.0;
00071   G4int At = G4lrint(G4NistManager::Instance()->GetAtomicMassAmu(Z));
00072 
00073   G4int Ap = aParticle->GetDefinition()->GetBaryonNumber();
00074  
00075   G4Pow* g4pow = G4Pow::GetInstance();
00076   
00077   G4double cubicrAt = g4pow->Z13(At);
00078   G4double cubicrAp = g4pow->Z13(Ap);
00079  
00080   G4double b0 = 1.581 - 0.876 * (1.0/cubicrAp + 1.0/cubicrAt);
00081 
00082   G4double xr = cubicrAp + cubicrAt - b0 * (1.0/cubicrAp + 1.0/cubicrAt);
00083   xsection = pi * square_r0 * xr * xr;
00084   
00085   return xsection; 
00086 }
00087 

Generated on Mon May 27 17:48:40 2013 for Geant4 by  doxygen 1.4.7