source: trunk/source/processes/hadronic/cross_sections/include/G4NeutronInelasticXS.hh@ 1344

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

update ti head

File size: 3.4 KB
RevLine 
[1197]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//
[1340]26// $Id: G4NeutronInelasticXS.hh,v 1.6 2010/10/15 22:33:22 dennis Exp $
27// GEANT4 tag $Name: hadr-cross-V09-03-12 $
[1197]28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name: G4NeutronInelasticXS
35//
36// Author Ivantchenko, Geant4, 3-AUG-09
37//
38// Modifications:
39//
[1340]40
41// Class Description:
42// This is a base class for neutron inelastic hadronic cross section based on
43// data files from G4NEUTRONXSDATA data set
44// Class Description - End
[1197]45
46#ifndef G4NeutronInelasticXS_h
47#define G4NeutronInelasticXS_h 1
48
49#include "G4VCrossSectionDataSet.hh"
50#include "globals.hh"
[1340]51#include <vector>
[1197]52
53class G4DynamicParticle;
54class G4ParticleDefinition;
55class G4Element;
56class G4PhysicsVector;
57class G4GlauberGribovCrossSection;
[1340]58class G4HadronNucleonXsc;
[1197]59
60class G4NeutronInelasticXS : public G4VCrossSectionDataSet
61{
[1340]62public:
[1197]63
64 G4NeutronInelasticXS();
65
66 virtual ~G4NeutronInelasticXS();
67
68 virtual
69 G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
70
71 virtual
[1340]72 G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/);
[1197]73
74 virtual
[1340]75 G4double GetCrossSection(const G4DynamicParticle*, const G4Element*,
[1197]76 G4double aTemperature = 0.);
77
78 virtual
79 void BuildPhysicsTable(const G4ParticleDefinition&);
80
81 virtual
82 void DumpPhysicsTable(const G4ParticleDefinition&);
83
[1340]84private:
[1197]85
86 void Initialise(G4int Z, G4DynamicParticle* dp = 0, const char* = 0);
87
88 G4NeutronInelasticXS & operator=(const G4NeutronInelasticXS &right);
89 G4NeutronInelasticXS(const G4NeutronInelasticXS&);
90
91 G4GlauberGribovCrossSection* ggXsection;
[1340]92 G4HadronNucleonXsc* fNucleon;
[1197]93
[1340]94 const G4ParticleDefinition* proton;
[1197]95
[1340]96 std::vector<G4PhysicsVector*> data;
97 std::vector<G4double> coeff;
98 G4int maxZ;
99
[1197]100 G4bool isInitialized;
101
102};
103
104#endif
Note: See TracBrowser for help on using the repository browser.