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: G4LCapture.hh,v 1.11 2006/06/29 20:43:26 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-03-ref-09 $ |
---|
29 | // |
---|
30 | // |
---|
31 | // G4 Low energy model: neutron capture -- header file |
---|
32 | // F.W. Jones, TRIUMF, 03-DEC-96 |
---|
33 | // |
---|
34 | // For further comments see G4LCapture.cc. |
---|
35 | // |
---|
36 | // use -scheme for elastic scattering: HPW, 20th June 1997 |
---|
37 | // most of the code comes from the old Low-energy Capture class |
---|
38 | // |
---|
39 | |
---|
40 | // Class Description |
---|
41 | // Final state production model for capture of neutral hadrons in nuclei; |
---|
42 | // To be used in your physics list in case you need this physics. |
---|
43 | // In this case you want to register an object of this class with |
---|
44 | // the corresponding process. |
---|
45 | // Class Description - End |
---|
46 | |
---|
47 | |
---|
48 | #ifndef G4LCapture_h |
---|
49 | #define G4LCapture_h 1 |
---|
50 | |
---|
51 | #include "globals.hh" |
---|
52 | #include "Randomize.hh" |
---|
53 | #include "G4Element.hh" |
---|
54 | #include "G4ElementVector.hh" |
---|
55 | #include "G4ElementTable.hh" |
---|
56 | #include "G4PhysicsTable.hh" |
---|
57 | #include "G4PhysicsVector.hh" |
---|
58 | #include "G4LPhysicsFreeVector.hh" |
---|
59 | #include "G4Gamma.hh" |
---|
60 | #include "G4Step.hh" |
---|
61 | #include "G4TrackStatus.hh" |
---|
62 | #include "G4LFission.hh" |
---|
63 | #include "G4HadronicInteraction.hh" |
---|
64 | |
---|
65 | |
---|
66 | class G4LCapture : public G4HadronicInteraction |
---|
67 | { |
---|
68 | public: |
---|
69 | |
---|
70 | G4LCapture(); |
---|
71 | |
---|
72 | ~G4LCapture(); |
---|
73 | |
---|
74 | G4HadFinalState * ApplyYourself(const G4HadProjectile& aTrack, |
---|
75 | G4Nucleus& targetNucleus); |
---|
76 | |
---|
77 | private: |
---|
78 | |
---|
79 | // Computes atomic mass in GeV using method from G4LFission |
---|
80 | inline |
---|
81 | G4double Atomas(const G4double A, const G4double Z) |
---|
82 | { |
---|
83 | return G4LFission::Atomas(A, Z)/GeV; |
---|
84 | } |
---|
85 | }; |
---|
86 | #endif |
---|