source: trunk/source/processes/hadronic/cross_sections/include/G4NeutronInelasticCrossSection.hh@ 1347

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

update ti head

File size: 3.7 KB
RevLine 
[819]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// D. Wright, 23-Dec-2006 Added isotope dependence
[1228]28// G.Folger, 25-Nov-2009: extend to 100TeV, using a constant above 20GeV
[819]29//
30
31#ifndef G4NeutronInelasticCrossSection_h
32#define G4NeutronInelasticCrossSection_h
33
34#include "globals.hh"
35#include "G4Neutron.hh"
36
37// Class Description
38// Cross-sections for neutron nuclear scattering from 14 MeV up to 20 GeV, getting the
39// low energy threshold behaviour right.
40// H.P. Wellisch (TRIUMF), M. Laidlaw (British Columbia U.). 1996.
41// Class Description - End
42
43#include "G4VCrossSectionDataSet.hh"
44
45class G4NeutronInelasticCrossSection : public G4VCrossSectionDataSet
46{
47 public:
48
49 virtual
50 G4bool IsApplicable(const G4DynamicParticle* aPart, const G4Element* aEle)
51 {
52 G4bool result = false;
53 if(( aPart->GetDefinition()==G4Neutron::Neutron()) &&
[1228]54 ( aPart->GetKineticEnergy()<100*TeV) &&
[819]55 aPart->GetKineticEnergy()>19.9*MeV) result = true;
56 if(aEle->GetZ()<2) result = false;
57 return result;
58 }
59
[1340]60 G4bool IsIsoApplicable(const G4DynamicParticle* aPart,
61 G4int ZZ, G4int /*AA*/)
[819]62 {
63 G4bool result = false;
64 if(( aPart->GetDefinition() == G4Neutron::Neutron()) &&
[1228]65 ( aPart->GetKineticEnergy() < 100*TeV) &&
[819]66 aPart->GetKineticEnergy() > 19.9*MeV) result = true;
67 if(ZZ < 2) result = false;
68 return result;
69 }
70
71
72 virtual
73 G4double GetCrossSection(const G4DynamicParticle*,
74 const G4Element*, G4double aTemperature);
75
[1340]76 G4double GetZandACrossSection(const G4DynamicParticle* aParticle,
77 G4int ZZ, G4int AA,
[819]78 G4double /*aTemperature*/)
79 {
80 return GetCrossSection(aParticle->GetKineticEnergy(), AA, ZZ);
81 }
82
83
[1340]84 G4double GetCrossSection(G4double anEnergy, G4int anA, G4int aZ);
[819]85
[1340]86
[819]87 virtual
88 void BuildPhysicsTable(const G4ParticleDefinition&)
89 {}
90
91 virtual
92 void DumpPhysicsTable(const G4ParticleDefinition&)
93 {G4cout << "G4NeutronInelasticCrossSection: uses formula"<<G4endl;}
94
95};
96
97#endif
Note: See TracBrowser for help on using the repository browser.