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 | // by V. Lara |
---|
27 | |
---|
28 | |
---|
29 | #ifndef G4HETCNeutron_h |
---|
30 | #define G4HETCNeutron_h 1 |
---|
31 | |
---|
32 | #include "G4HETCFragment.hh" |
---|
33 | #include "G4ReactionProduct.hh" |
---|
34 | #include "G4Neutron.hh" |
---|
35 | #include "G4PreCompoundParameters.hh" |
---|
36 | #include "Randomize.hh" |
---|
37 | |
---|
38 | #include "G4NeutronCoulombBarrier.hh" |
---|
39 | |
---|
40 | |
---|
41 | class G4HETCNeutron : public G4HETCFragment |
---|
42 | { |
---|
43 | public: |
---|
44 | // default constructor |
---|
45 | G4HETCNeutron() : G4HETCFragment(1,0,&theNeutronCoulomBarrier,"Neutron") {} |
---|
46 | |
---|
47 | // copy constructor |
---|
48 | G4HETCNeutron(const G4HETCNeutron &right): G4HETCFragment(right) {} |
---|
49 | |
---|
50 | // destructor |
---|
51 | ~G4HETCNeutron() {} |
---|
52 | |
---|
53 | // operators |
---|
54 | const G4HETCNeutron & operator=(const G4HETCNeutron &right) { |
---|
55 | if (&right != this) this->G4HETCFragment::operator=(right); |
---|
56 | return *this; |
---|
57 | } |
---|
58 | |
---|
59 | G4bool operator==(const G4HETCNeutron &right) const |
---|
60 | { return G4HETCFragment::operator==(right);} |
---|
61 | |
---|
62 | G4bool operator!=(const G4HETCNeutron &right) const |
---|
63 | { return G4HETCFragment::operator!=(right);} |
---|
64 | |
---|
65 | |
---|
66 | G4ReactionProduct * GetReactionProduct() const |
---|
67 | { |
---|
68 | G4ReactionProduct * theReactionProduct = |
---|
69 | new G4ReactionProduct(G4Neutron::NeutronDefinition()); |
---|
70 | theReactionProduct->SetMomentum(GetMomentum().vect()); |
---|
71 | theReactionProduct->SetTotalEnergy(GetMomentum().e()); |
---|
72 | #ifdef PRECOMPOUND_TEST |
---|
73 | theReactionProduct->SetCreatorModel("G4PrecompoundModel"); |
---|
74 | #endif |
---|
75 | return theReactionProduct; |
---|
76 | } |
---|
77 | |
---|
78 | virtual G4double GetKineticEnergy(const G4Fragment & aFragment); |
---|
79 | |
---|
80 | private: |
---|
81 | virtual G4double GetAlpha() |
---|
82 | { |
---|
83 | return 0.76+2.2/std::pow(GetRestA(),1.0/3.0); |
---|
84 | } |
---|
85 | |
---|
86 | virtual G4double GetBeta() |
---|
87 | { |
---|
88 | return (2.12/std::pow(GetRestA(),2.0/3.0)-0.05)*MeV/GetAlpha(); |
---|
89 | } |
---|
90 | |
---|
91 | virtual G4double GetSpinFactor() |
---|
92 | { |
---|
93 | // (2s+1) |
---|
94 | return 2.0; |
---|
95 | } |
---|
96 | |
---|
97 | virtual G4double K(const G4Fragment& aFragment); |
---|
98 | |
---|
99 | private: |
---|
100 | |
---|
101 | G4NeutronCoulombBarrier theNeutronCoulomBarrier; |
---|
102 | |
---|
103 | }; |
---|
104 | |
---|
105 | #endif |
---|
106 | |
---|
107 | |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | |
---|