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

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 3.4 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: G4NeutronInelasticXS.hh,v 1.3 2009/11/19 11:52:27 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
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//
40 
41
42#ifndef G4NeutronInelasticXS_h
43#define G4NeutronInelasticXS_h 1
44
45#include "G4VCrossSectionDataSet.hh"
46#include "globals.hh"
47
48class G4DynamicParticle;
49class G4ParticleDefinition;
50class G4Element;
51class G4PhysicsVector;
52class G4GlauberGribovCrossSection;
53
54class G4NeutronInelasticXS : public G4VCrossSectionDataSet
55{
56public: // With Description
57
58  G4int Z;
59  G4NeutronInelasticXS();
60
61  virtual ~G4NeutronInelasticXS();
62
63  // The following methods need to be implemented for each new data set.
64  virtual
65  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
66
67  virtual
68  G4bool IsZAApplicable(const G4DynamicParticle*, 
69                        G4double /*Z*/, G4double /*A*/);
70
71  virtual
72  G4double GetCrossSection(const G4DynamicParticle*, 
73                           const G4Element*, 
74                           G4double aTemperature = 0.);
75
76  virtual
77  void BuildPhysicsTable(const G4ParticleDefinition&);
78
79  virtual
80  void DumpPhysicsTable(const G4ParticleDefinition&);
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, G4DynamicParticle* dp = 0, const char* = 0);
96
97  G4NeutronInelasticXS & operator=(const G4NeutronInelasticXS &right);
98  G4NeutronInelasticXS(const G4NeutronInelasticXS&);
99 
100  G4GlauberGribovCrossSection* ggXsection;
101
102  G4PhysicsVector* data[93];
103  G4double         coeff[93];
104
105  G4bool  isInitialized;
106
107};
108
109#endif
Note: See TracBrowser for help on using the repository browser.