source: trunk/source/processes/hadronic/cross_sections/include/G4NeutronCaptureXS.hh@ 1330

Last change on this file since 1330 was 1228, checked in by garnier, 16 years ago

update geant4.9.3 tag

File size: 3.3 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// $Id: G4NeutronCaptureXS.hh,v 1.1 2009/11/12 00:36:01 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name: G4NeutronCaptureXS
35//
36// Author Ivantchenko, Geant4, 3-AUG-09
37//
38// Modifications:
39//
40
41
42#ifndef G4NeutronCaptureXS_h
43#define G4NeutronCaptureXS_h 1
44
45#include "G4VCrossSectionDataSet.hh"
46#include "globals.hh"
47
48class G4DynamicParticle;
49class G4ParticleDefinition;
50class G4Element;
51class G4PhysicsVector;
52
53class G4NeutronCaptureXS : public G4VCrossSectionDataSet
54{
55public: // With Description
56
57 G4int Z;
58 G4NeutronCaptureXS();
59
60 virtual ~G4NeutronCaptureXS();
61
62 // The following methods need to be implemented for each new data set.
63 virtual
64 G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
65
66 virtual
67 G4bool IsZAApplicable(const G4DynamicParticle*,
68 G4double /*Z*/, G4double /*A*/);
69
70 virtual
71 G4double GetCrossSection(const G4DynamicParticle*,
72 const G4Element*,
73 G4double aTemperature = 0.);
74
75 virtual
76 void BuildPhysicsTable(const G4ParticleDefinition&);
77
78 virtual
79 void DumpPhysicsTable(const G4ParticleDefinition&);
80
81
82public: // Without Description
83
84 inline void SetVerboseLevel(G4int value)
85 {
86 verboseLevel = value;
87 }
88 inline G4int GetVerboseLevel()
89 {
90 return verboseLevel;
91 }
92
93private: // Without Description
94
95 void Initialise(G4int Z, const char* = 0);
96
97 G4NeutronCaptureXS & operator=(const G4NeutronCaptureXS &right);
98 G4NeutronCaptureXS(const G4NeutronCaptureXS&);
99
100 G4double emax;
101 G4PhysicsVector* data[93];
102
103 G4bool isInitialized;
104
105};
106
107#endif
Note: See TracBrowser for help on using the repository browser.