Changeset 962 for trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4Evaporation.cc
- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4Evaporation.cc
r819 r962 25 25 // 26 26 // 27 // $Id: G4Evaporation.cc,v 1. 7 2007/02/14 13:37:49ahoward Exp $28 // GEANT4 tag $Name: $27 // $Id: G4Evaporation.cc,v 1.12 2008/12/09 17:57:36 ahoward Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // Hadronic Process: Nuclear De-excitations … … 33 33 // Alex Howard - added protection for negative probabilities in the sum, 14/2/07 34 34 // 35 // Modif (03 September 2008) by J. M. Quesada for external choice of inverse 36 // cross section option 37 // JMQ (06 September 2008) Also external choices have been added for 38 // superimposed Coulomb barrier (if useSICBis set true, by default is false) 39 35 40 #include "G4Evaporation.hh" 36 41 #include "G4EvaporationFactory.hh" … … 89 94 } 90 95 91 92 96 G4FragmentVector * G4Evaporation::BreakItUp(const G4Fragment &theNucleus) 93 97 { … … 105 109 // Number of channels 106 110 G4int TotNumberOfChannels = theChannels->size(); 107 108 111 109 112 // Starts loop over evaporated particles 110 113 for (;;) 111 { 114 115 { 112 116 // loop over evaporation channels 113 117 std::vector<G4VEvaporationChannel*>::iterator i; 114 118 for (i=theChannels->begin(); i != theChannels->end(); i++) 115 119 { 120 // for inverse cross section choice 121 (*i)->SetOPTxs(OPTxs); 122 // for superimposed Coulomb Barrier for inverse cross sections 123 (*i)->UseSICB(useSICB); 124 116 125 (*i)->Initialize(theResidualNucleus); 117 126 } … … 172 181 if( j >= TotNumberOfChannels ) 173 182 { 183 G4cerr << " Residual A: " << theResidualNucleus.GetA() << " Residual Z: " << theResidualNucleus.GetZ() << " Excitation Energy: " << theResidualNucleus.GetExcitationEnergy() << G4endl; 184 G4cerr << " j has not chosen a channel, j = " << j << " TotNumberOfChannels " << TotNumberOfChannels << " Total Probability: " << TotalProbability << G4endl; 185 for (j=0; j < TotNumberOfChannels; j++) 186 { 187 G4cerr << " j: " << j << " EmissionProbChannel: " << EmissionProbChannel[j] << " and shoot: " << shoot << " (<ProbChannel?) " << G4endl; 188 } 174 189 throw G4HadronicException(__FILE__, __LINE__, "G4Evaporation::BreakItUp: Can't define emission probability of the channels!" ); 175 190 } … … 216 231 theResidualNucleus.SetCreatorModel(G4String("ResidualNucleus")); 217 232 #endif 233 218 234 } 219 235 }
Note: See TracChangeset
for help on using the changeset viewer.