source: trunk/source/processes/hadronic/cross_sections/include/G4IonsKoxCrossSection.hh@ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 15 years ago

update ti head

File size: 3.6 KB
Line 
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 G4IonsKoxCrossSection_h
27#define G4IonsKoxCrossSection_h
28//
29// Class Description
30// Implementation of Kox formulas
31// Kox et al. Phys. Rev. C 35 1678 (1987);
32// Total Reaction Cross Section for Nucleus-nucles reactions.
33//
34// Class Description - End
35// 18-Sep-2003 First version is written by T. Koi
36// 12-Nov-2003 Set upper limit at 10 GeV/n
37// 12-Nov-2003 Insted of the lower limit,
38// 0 is returned to a partilce with energy lowae than 10 MeV/n
39
40#include "globals.hh"
41#include "G4Proton.hh"
42
43#include "G4VCrossSectionDataSet.hh"
44
45class G4IonsKoxCrossSection : public G4VCrossSectionDataSet
46{
47 public:
48 G4IonsKoxCrossSection():
49 upperLimit ( 10 * GeV ),
50 lowerLimit ( 10 * MeV ),
51 r0 ( 1.1 * fermi ),
52 rc ( 1.3 * fermi )
53 {
54 }
55
56 virtual
57 G4bool IsApplicable(const G4DynamicParticle* aDP, const G4Element*)
58 {
59 return IsIsoApplicable(aDP, 0, 0);
60 }
61
62
63 virtual
64 G4bool IsIsoApplicable(const G4DynamicParticle* aDP,
65 G4int /*ZZ*/, G4int /*AA*/)
66 {
67 G4int baryonNumber = aDP->GetDefinition()->GetBaryonNumber();
68 G4double kineticEnergy = aDP->GetKineticEnergy();
69 if ( kineticEnergy / baryonNumber <= upperLimit )
70 return true;
71 return false;
72 }
73
74
75 virtual
76 G4double GetCrossSection(const G4DynamicParticle*,
77 const G4Element*, G4double aTemperature);
78
79
80 virtual
81 G4double GetZandACrossSection(const G4DynamicParticle*, G4int ZZ,
82 G4int AA, G4double aTemperature);
83
84 virtual
85 void BuildPhysicsTable(const G4ParticleDefinition&)
86 {}
87
88 virtual
89 void DumpPhysicsTable(const G4ParticleDefinition&)
90 {G4cout << "G4IonsKoxCrossSection: uses Kox formula"<<G4endl;}
91
92 private:
93 const G4double upperLimit;
94 const G4double lowerLimit;
95 const G4double r0;
96 const G4double rc;
97
98 G4double calEcm ( G4double , G4double , G4double );
99 G4double calCeValue ( G4double );
100};
101
102#endif
Note: See TracBrowser for help on using the repository browser.