- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/incl/src/G4AblaEvaporation.cc
r962 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4AblaEvaporation.cc,v 1. 4 2008/10/24 21:07:40 dennisExp $26 // $Id: G4AblaEvaporation.cc,v 1.6 2010/10/26 02:47:59 kaitanie Exp $ 27 27 // 28 28 #include <numeric> … … 82 82 hazard->igraine[17] = 33759; 83 83 hazard->igraine[18] = 13227; 84 85 G4VarNtp *evaporationResult = new G4VarNtp(); 86 G4Volant *volant = new G4Volant(); 87 88 // Initialize evaporation. 89 abla = new G4Abla(hazard, volant, evaporationResult); 90 abla->initEvapora(); 84 91 } 85 92 … … 108 115 } 109 116 110 G4FragmentVector * G4AblaEvaporation::BreakItUp(const G4Fragment &theNucleus) { 111 112 113 G4VarNtp *varntp = new G4VarNtp(); 114 G4Volant *volant = new G4Volant(); 115 116 G4Abla *abla = new G4Abla(hazard, volant, varntp); 117 G4cout <<"Initializing evaporation..." << G4endl; 118 abla->initEvapora(); 119 G4cout <<"Initialization complete!" << G4endl; 120 121 G4double nucleusA = theNucleus.GetA(); 122 G4double nucleusZ = theNucleus.GetZ(); 117 G4FragmentVector * G4AblaEvaporation::BreakItUp(const G4Fragment &theNucleus) { 118 G4int nucleusA = theNucleus.GetA_asInt(); 119 G4int nucleusZ = theNucleus.GetZ_asInt(); 123 120 G4double nucleusMass = G4NucleiProperties::GetNuclearMass(nucleusA, nucleusZ); 124 121 G4double excitationEnergy = theNucleus.GetExcitationEnergy(); … … 137 134 138 135 varntp->ntrack = -1; 139 varntp->massini = theNucleus.GetA ();140 varntp->mzini = theNucleus.GetZ ();136 varntp->massini = theNucleus.GetA_asInt(); 137 varntp->mzini = theNucleus.GetZ_asInt(); 141 138 142 139 std::vector<G4DynamicParticle*> cascadeParticles;
Note: See TracChangeset
for help on using the changeset viewer.