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

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

update ti head

File size: 3.7 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// by JPW, working, but to be cleaned up. @@@@
27// G.Folger, 29-sept-2006: extend to 1TeV, using a constant above 20GeV
28// D. Wright, 23-Dec-2006: added isotope dependence
29// G.Folger, 25-Nov-2009: extend to 100TeV, using a constant above 20GeV
30//
31
32#ifndef G4ProtonInelasticCrossSection_h
33#define G4ProtonInelasticCrossSection_h
34
35// Class Description
36// Cross-sections for proton nuclear scattering up to 20 GeV, getting the low
37// energy threshold behaviour right.
38// H.P. Wellisch (TRIUMF), D. Axen (British Columbia U.). 1996.
39// Published in Phys.Rev.C54:1329-1332,1996
40// Implements corrected parameterization from
41// http://laws.lanl.gov/XCI/PEOPLE/rep/pdf/RPS96.pdf
42// Class Description - End
43
44
45#include "globals.hh"
46#include "G4Proton.hh"
47
48#include "G4VCrossSectionDataSet.hh"
49
50class G4ProtonInelasticCrossSection : public G4VCrossSectionDataSet
51{
52 public:
53
54 virtual
55 G4bool IsApplicable(const G4DynamicParticle* aPart, const G4Element* aEle)
56 {
57 G4bool result = false;
58 if ( (aPart->GetDefinition()==G4Proton::Proton()) &&
59 ( aPart->GetKineticEnergy()<100*TeV) ) result = true;
60 if(aEle->GetZ()<3) result = false;
61 return result;
62 }
63
64
65 G4bool
66 IsIsoApplicable(const G4DynamicParticle* aParticle, G4int ZZ, G4int /*AA*/)
67 {
68 G4bool result = false;
69 if (( aParticle->GetDefinition() == G4Proton::Proton()) &&
70 ( aParticle->GetKineticEnergy() < 100*TeV) ) result = true;
71 if (ZZ < 3) result = false;
72 return result;
73 }
74
75
76 virtual
77 G4double GetCrossSection(const G4DynamicParticle*,
78 const G4Element*, G4double aTemperature);
79
80
81 G4double
82 GetZandACrossSection(const G4DynamicParticle* aParticle,
83 G4int ZZ, G4int AA, G4double /*aTemperature*/)
84 {
85 return GetCrossSection(aParticle->GetKineticEnergy(), AA, ZZ);
86 }
87
88
89 G4double GetCrossSection(G4double anEnergy, G4int anA, G4int aZ);
90
91
92 virtual
93 void BuildPhysicsTable(const G4ParticleDefinition&)
94 {}
95
96
97 virtual
98 void DumpPhysicsTable(const G4ParticleDefinition&)
99 {G4cout << "G4ProtonInelasticCrossSection: uses formula"<<G4endl;}
100
101};
102
103#endif
Note: See TracBrowser for help on using the repository browser.