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

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

update ti head

File size: 3.2 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.4 2010/10/15 22:32:40 dennis Exp $
27// GEANT4 tag $Name: hadr-cross-V09-03-12 $
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// Class Description:
42// This is a base class for neutron radiative capture cross section based on
43// data files from G4NEUTRONXSDATA data set
44// Class Description - End
45 
46#ifndef G4NeutronCaptureXS_h
47#define G4NeutronCaptureXS_h 1
48
49#include "G4VCrossSectionDataSet.hh"
50#include "globals.hh"
51#include <vector>
52
53class G4DynamicParticle;
54class G4ParticleDefinition;
55class G4Element;
56class G4PhysicsVector;
57
58class G4NeutronCaptureXS : public G4VCrossSectionDataSet
59{
60public: // With Description
61
62  G4NeutronCaptureXS();
63
64  virtual ~G4NeutronCaptureXS();
65
66  virtual
67  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
68
69  virtual
70  G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/);
71
72  virtual
73  G4double GetCrossSection(const G4DynamicParticle*, 
74                           const G4Element*, 
75                           G4double aTemperature = 0.);
76
77  virtual
78  void BuildPhysicsTable(const G4ParticleDefinition&);
79
80  virtual
81  void DumpPhysicsTable(const G4ParticleDefinition&);
82
83private: 
84
85  void Initialise(G4int Z, const char* = 0);
86
87  G4NeutronCaptureXS & operator=(const G4NeutronCaptureXS &right);
88  G4NeutronCaptureXS(const G4NeutronCaptureXS&);
89
90  G4double emax;
91  G4int    maxZ;
92  std::vector<G4PhysicsVector*> data;
93
94  G4bool  isInitialized;
95
96};
97
98#endif
Note: See TracBrowser for help on using the repository browser.