Changeset 1315 for trunk/source/processes/hadronic/models/de_excitation/handler/include/G4ExcitationHandler.hh
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/handler/include/G4ExcitationHandler.hh
r1228 r1315 24 24 // ******************************************************************** 25 25 // 26 // 27 // $Id: G4ExcitationHandler.hh,v 1.10 2009/11/24 11:18:48 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 26 // $Id: G4ExcitationHandler.hh,v 1.12 2010/04/27 14:00:23 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 28 // 30 29 // Hadronic Process: Nuclear De-excitations … … 55 54 #include "G4VEvaporation.hh" 56 55 #include "G4VPhotonEvaporation.hh" 56 #include "G4VEvaporationChannel.hh" 57 57 #include "G4Fragment.hh" 58 58 #include "G4DynamicParticle.hh" … … 68 68 #include "G4IonConstructor.hh" 69 69 70 //#define debug71 72 70 class G4ExcitationHandler 73 71 { … … 75 73 G4ExcitationHandler(); 76 74 ~G4ExcitationHandler(); 75 77 76 private: 77 78 78 G4ExcitationHandler(const G4ExcitationHandler &right); 79 80 79 const G4ExcitationHandler & operator=(const G4ExcitationHandler &right); 81 80 G4bool operator==(const G4ExcitationHandler &right) const; 82 81 G4bool operator!=(const G4ExcitationHandler &right) const; 83 82 84 85 83 public: 84 86 85 G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState) const; 87 86 … … 92 91 void SetFermiModel(G4VFermiBreakUp *const value); 93 92 94 void SetPhotonEvaporation(G4V PhotonEvaporation* const value);93 void SetPhotonEvaporation(G4VEvaporationChannel * const value); 95 94 96 95 void SetMaxZForFermiBreakUp(G4int aZ); … … 99 98 void SetMinEForMultiFrag(G4double anE); 100 99 101 // for inverse cross section choice102 inline void SetOPTxs(G4int opt) { OPTxs = opt;}103 // for superimposed Coulomb Barrir for inverse cross sections104 inline void UseSICB() {useSICB=true;}100 // for inverse cross section choice 101 inline void SetOPTxs(G4int opt); 102 // for superimposed Coulomb Barrir for inverse cross sections 103 inline void UseSICB(); 105 104 106 105 private: 107 106 107 void SetParameters(); 108 108 109 G4ReactionProductVector * Transform(G4FragmentVector * theFragmentVector) const; 109 110 … … 114 115 const G4VFermiBreakUp * GetFermiModel() const; 115 116 116 const G4V PhotonEvaporation* GetPhotonEvaporation() const;117 const G4VEvaporationChannel * GetPhotonEvaporation() const; 117 118 118 119 G4int GetMaxZ() const; … … 124 125 G4FragmentVector * Result) const; 125 126 #endif 127 126 128 private: 127 129 … … 132 134 G4VFermiBreakUp *theFermiModel; 133 135 134 G4V PhotonEvaporation* thePhotonEvaporation;136 G4VEvaporationChannel * thePhotonEvaporation; 135 137 136 138 G4int maxZForFermiBreakUp; 137 139 G4int maxAForFermiBreakUp; 138 140 G4double minEForMultiFrag; 141 G4double minExcitation; 139 142 140 143 G4ParticleTable *theTableOfParticles; … … 147 150 G4int OPTxs; 148 151 G4bool useSICB; 149 152 150 153 struct DeleteFragment 151 154 { … … 156 159 } 157 160 }; 158 159 161 160 162 }; 161 163 162 164 inline void G4ExcitationHandler::SetOPTxs(G4int opt) 165 { 166 OPTxs = opt; 167 SetParameters(); 168 } 169 170 inline void G4ExcitationHandler::UseSICB() 171 { 172 useSICB = true; 173 SetParameters(); 174 } 163 175 164 176 inline const G4VEvaporation * G4ExcitationHandler::GetEvaporation() const … … 172 184 MyOwnEvaporationClass = false; 173 185 theEvaporation = value; 186 SetParameters(); 174 187 } 175 188 … … 199 212 200 213 201 inline const G4V PhotonEvaporation* G4ExcitationHandler::GetPhotonEvaporation() const214 inline const G4VEvaporationChannel * G4ExcitationHandler::GetPhotonEvaporation() const 202 215 { 203 216 return thePhotonEvaporation; 204 217 } 205 218 206 inline void G4ExcitationHandler::SetPhotonEvaporation(G4V PhotonEvaporation*const value)219 inline void G4ExcitationHandler::SetPhotonEvaporation(G4VEvaporationChannel *const value) 207 220 { 208 221 if (thePhotonEvaporation != 0 && MyOwnPhotonEvaporationClass) delete thePhotonEvaporation;
Note: See TracChangeset
for help on using the changeset viewer.