- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/stopping/src/G4PiMinusStopMaterial.cc
r1196 r1347 54 54 55 55 G4PiMinusStopMaterial::G4PiMinusStopMaterial() 56 57 56 { 58 57 _definitions = 0; … … 60 59 _distributionE = 0; 61 60 _distributionAngle = 0; 62 61 theR = 0.5; 63 62 } 64 63 … … 68 67 G4PiMinusStopMaterial::~G4PiMinusStopMaterial() 69 68 { 70 // _definitions->clear();71 69 if (_definitions != 0) delete _definitions; 72 70 _definitions = 0; 73 71 74 for (unsigned int i=0; i<_momenta->size(); i++) delete(*_momenta)[i];72 for (unsigned int i=0; i<_momenta->size(); i++) delete(*_momenta)[i]; 75 73 if (_momenta != 0) delete _momenta; 76 74 … … 94 92 } 95 93 96 std::vector<G4LorentzVector*>* G4PiMinusStopMaterial::P4Vector(const G4double binding, 97 const G4double massNucleus) 94 std::vector<G4LorentzVector*>* 95 G4PiMinusStopMaterial::P4Vector(const G4double binding, 96 const G4double massNucleus) 98 97 { 99 100 // Generate energy of direct absorption products according to experimental data 101 // The energy distribution of the two nucleons is assumed to be the same 102 // for protons and neutrons 103 98 // Generate energy of direct absorption products according to experimental 99 // data. The energy distribution of the two nucleons is assumed to be the 100 // same for protons and neutrons. 104 101 105 102 G4double eKin1; … … 191 188 } 192 189 193 194 195 196 197 198 199 200 201
Note: See TracChangeset
for help on using the changeset viewer.