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: G4PreCompoundEmission.hh,v 1.6 2008/09/22 10:18:36 ahoward Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-02 $ |
---|
28 | // |
---|
29 | // Hadronic Process: Nuclear Preequilibrium |
---|
30 | // by V. Lara |
---|
31 | // |
---|
32 | // Modif (03 September 2008) by J. M. Quesada for external choice of inverse |
---|
33 | // cross section option |
---|
34 | // JMQ (06 September 2008) Also external choice has been added for: |
---|
35 | // - superimposed Coulomb barrier (if useSICB=true) |
---|
36 | |
---|
37 | #ifndef G4PreCompoundEmission_h |
---|
38 | #define G4PreCompoundEmission_h 1 |
---|
39 | |
---|
40 | #include "G4VPreCompoundFragment.hh" |
---|
41 | #include "G4ReactionProduct.hh" |
---|
42 | #include "G4Fragment.hh" |
---|
43 | #include "Randomize.hh" |
---|
44 | #include "G4PreCompoundParameters.hh" |
---|
45 | #include "G4PreCompoundFragmentVector.hh" |
---|
46 | |
---|
47 | class G4VPreCompoundEmissionFactory; |
---|
48 | |
---|
49 | |
---|
50 | class G4PreCompoundEmission |
---|
51 | { |
---|
52 | public: |
---|
53 | G4PreCompoundEmission(); |
---|
54 | ~G4PreCompoundEmission(); |
---|
55 | |
---|
56 | private: |
---|
57 | G4PreCompoundEmission(const G4PreCompoundEmission &right); |
---|
58 | const G4PreCompoundEmission& operator=(const G4PreCompoundEmission &right); |
---|
59 | G4bool operator==(const G4PreCompoundEmission &right) const; |
---|
60 | G4bool operator!=(const G4PreCompoundEmission &right) const; |
---|
61 | |
---|
62 | public: |
---|
63 | |
---|
64 | inline void SetUp(const G4Fragment & aFragment); |
---|
65 | inline void Initialize(const G4Fragment & aFragment); |
---|
66 | |
---|
67 | inline G4double GetTotalProbability(const G4Fragment & aFragment); |
---|
68 | |
---|
69 | G4ReactionProduct * PerformEmission(G4Fragment & aFragment); |
---|
70 | |
---|
71 | void SetDefaultModel(); |
---|
72 | void SetHETCModel(); |
---|
73 | |
---|
74 | private: |
---|
75 | |
---|
76 | G4ThreeVector AngularDistribution(G4VPreCompoundFragment * theFragment, |
---|
77 | const G4Fragment& aFragment, |
---|
78 | const G4double KineticEnergy) const; |
---|
79 | |
---|
80 | |
---|
81 | |
---|
82 | G4double rho(const G4double p, const G4double h, const G4double g, |
---|
83 | const G4double E, const G4double Ef) const; |
---|
84 | |
---|
85 | G4double factorial(G4double a) const; |
---|
86 | |
---|
87 | //for inverse cross section choice |
---|
88 | public: |
---|
89 | inline void SetOPTxs(G4int); |
---|
90 | //for superimposed CoulomBarrier for inverse cross sections |
---|
91 | inline void UseSICB(G4bool); |
---|
92 | |
---|
93 | |
---|
94 | //============== |
---|
95 | // Data Members |
---|
96 | //============== |
---|
97 | |
---|
98 | // A vector with the allowed emission fragments |
---|
99 | G4PreCompoundFragmentVector * theFragmentsVector; |
---|
100 | G4VPreCompoundEmissionFactory * theFragmentsFactory; |
---|
101 | |
---|
102 | // Projectile energy |
---|
103 | G4double ProjEnergy; |
---|
104 | |
---|
105 | // Projectile direction |
---|
106 | G4ThreeVector theIncidentDirection; |
---|
107 | |
---|
108 | }; |
---|
109 | |
---|
110 | #include "G4PreCompoundEmission.icc" |
---|
111 | |
---|
112 | #endif |
---|