Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4LCapture.hh
Go to the documentation of this file.
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//
27// $Id$
28//
29//
30// G4 Low energy model: neutron capture -- header file
31// F.W. Jones, TRIUMF, 03-DEC-96
32//
33// For further comments see G4LCapture.cc.
34//
35// use -scheme for elastic scattering: HPW, 20th June 1997
36// most of the code comes from the old Low-energy Capture class
37//
38
39// Class Description
40// Final state production model for capture of neutral hadrons in nuclei;
41// To be used in your physics list in case you need this physics.
42// In this case you want to register an object of this class with
43// the corresponding process.
44// Class Description - End
45
46
47#ifndef G4LCapture_h
48#define G4LCapture_h 1
49
51
52#include "globals.hh"
53#include "Randomize.hh"
54#include "G4Element.hh"
55#include "G4ElementVector.hh"
56#include "G4ElementTable.hh"
57#include "G4PhysicsTable.hh"
58#include "G4PhysicsVector.hh"
60#include "G4Gamma.hh"
61#include "G4Step.hh"
62#include "G4TrackStatus.hh"
63#include "G4LFission.hh"
65
66
68{
69 public:
70
71 G4LCapture(const G4String& name = "G4LCapture");
72
74
76 G4Nucleus& targetNucleus);
77
78 // void Description() const;
79 virtual void ModelDescription(std::ostream& outFile) const;
80
81 virtual const std::pair<G4double, G4double> GetFatalEnergyCheckLevels() const;
82
83 private:
84
85 // Computes atomic mass in GeV using method from G4LFission
86 inline
87 G4double Atomas(const G4double A, const G4double Z)
88 {
89 return G4LFission::Atomas(A, Z)/CLHEP::GeV;
90 }
91};
92#endif
double G4double
Definition: G4Types.hh:64
virtual void ModelDescription(std::ostream &outFile) const
Definition: G4LCapture.cc:66
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
Definition: G4LCapture.cc:195
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
Definition: G4LCapture.cc:80
static G4double Atomas(const G4double A, const G4double Z)
Definition: G4LFission.cc:243