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: G4PhotonEvaporation.hh,v 1.8 2010/11/17 16:50:53 vnivanch Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-04-ref-00 $ |
---|
28 | // |
---|
29 | // ------------------------------------------------------------------- |
---|
30 | // GEANT 4 class file |
---|
31 | // |
---|
32 | // CERN, Geneva, Switzerland |
---|
33 | // |
---|
34 | // File name: G4PhotonEvaporation |
---|
35 | // |
---|
36 | // Author: Maria Grazia Pia (pia@genova.infn.it) |
---|
37 | // |
---|
38 | // Creation date: 23 October 1998 |
---|
39 | // |
---|
40 | //Modifications: |
---|
41 | // |
---|
42 | // 18 October 2002, Fan Lei (flei@space.qinetiq.com) |
---|
43 | // |
---|
44 | // Implementation of Internal Convertion process in discrete deexcitation |
---|
45 | // The following public methods have been added. |
---|
46 | // |
---|
47 | // void SetICM (G4bool); |
---|
48 | // void RDMForced(G4bool); |
---|
49 | // void SetMaxHalfLife(G4double) ; |
---|
50 | // void SetEOccupancy( G4ElectronOccupancy eOccupancy) ; |
---|
51 | // G4ElectronOccupancy GetEOccupancy () ; |
---|
52 | // G4int GetVacantShellNumber () { return _vShellNumber;}; |
---|
53 | // |
---|
54 | // and the following priivate menbers |
---|
55 | // |
---|
56 | // G4ElectronOccupancy _eOccupancy; |
---|
57 | // G4int _vShellNumber; |
---|
58 | // |
---|
59 | // 11 May 2010, V.Ivanchenko added EmittedFragment and BreakUpFragment |
---|
60 | // methods |
---|
61 | // |
---|
62 | // ------------------------------------------------------------------- |
---|
63 | |
---|
64 | #ifndef G4PHOTONEVAPORATION_HH |
---|
65 | #define G4PHOTONEVAPORATION_HH 1 |
---|
66 | |
---|
67 | #include "globals.hh" |
---|
68 | #include "G4VEvaporationChannel.hh" |
---|
69 | #include "G4VEmissionProbability.hh" |
---|
70 | #include "G4VGammaDeexcitation.hh" |
---|
71 | #include "G4ElectronOccupancy.hh" |
---|
72 | |
---|
73 | class G4Fragment; |
---|
74 | |
---|
75 | class G4PhotonEvaporation : public G4VEvaporationChannel { |
---|
76 | |
---|
77 | public: |
---|
78 | |
---|
79 | G4PhotonEvaporation(); |
---|
80 | |
---|
81 | virtual ~G4PhotonEvaporation(); |
---|
82 | |
---|
83 | virtual void Initialize(const G4Fragment & fragment); |
---|
84 | |
---|
85 | virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus); |
---|
86 | |
---|
87 | virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus); |
---|
88 | |
---|
89 | virtual G4FragmentVector * BreakItUp(const G4Fragment & nucleus); |
---|
90 | |
---|
91 | virtual G4FragmentVector * BreakUp(const G4Fragment & nucleus); |
---|
92 | |
---|
93 | virtual G4double GetEmissionProbability() const; |
---|
94 | |
---|
95 | virtual void SetEmissionStrategy(G4VEmissionProbability * probAlgorithm); |
---|
96 | |
---|
97 | void SetVerboseLevel(G4int verbose); |
---|
98 | |
---|
99 | void SetICM (G4bool); |
---|
100 | |
---|
101 | void RDMForced (G4bool); |
---|
102 | |
---|
103 | void SetMaxHalfLife(G4double) ; |
---|
104 | |
---|
105 | void SetEOccupancy( G4ElectronOccupancy eOccupancy) ; |
---|
106 | |
---|
107 | G4ElectronOccupancy GetEOccupancy () { return _eOccupancy;} ; |
---|
108 | |
---|
109 | G4int GetVacantShellNumber () { return _vShellNumber;}; |
---|
110 | |
---|
111 | private: |
---|
112 | |
---|
113 | G4int _verbose; |
---|
114 | G4bool _myOwnProbAlgorithm; |
---|
115 | G4VEmissionProbability * _probAlgorithm; |
---|
116 | G4VGammaDeexcitation * _discrDeexcitation; |
---|
117 | G4VGammaDeexcitation * _contDeexcitation; |
---|
118 | |
---|
119 | G4ElectronOccupancy _eOccupancy; |
---|
120 | G4int _vShellNumber; |
---|
121 | |
---|
122 | G4Fragment* _nucleus; |
---|
123 | G4double _gammaE; |
---|
124 | |
---|
125 | G4PhotonEvaporation(const G4PhotonEvaporation & right); |
---|
126 | const G4PhotonEvaporation & operator = (const G4PhotonEvaporation & right); |
---|
127 | |
---|
128 | G4bool operator == (const G4PhotonEvaporation & right) const; |
---|
129 | G4bool operator != (const G4PhotonEvaporation & right) const; |
---|
130 | |
---|
131 | //#ifdef debug |
---|
132 | // void CheckConservation(const G4Fragment & theInitialState, G4FragmentVector * Result) const; |
---|
133 | //#endif |
---|
134 | |
---|
135 | |
---|
136 | }; |
---|
137 | |
---|
138 | #endif |
---|
139 | |
---|
140 | |
---|
141 | |
---|