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

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

update ti head

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