- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4BraggModel.cc
r961 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BraggModel.cc,v 1.2 1 2009/02/20 12:06:37vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4BraggModel.cc,v 1.20 2008/10/22 16:01:46 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 111 111 { 112 112 if(p != particle) SetParticle(p); 113 114 // always false before the run115 SetDeexcitationFlag(false);116 113 117 114 if(!isInitialised) { … … 340 337 341 338 vdp->push_back(delta); 342 }343 344 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......345 346 G4double G4BraggModel::MaxSecondaryEnergy(const G4ParticleDefinition* pd,347 G4double kinEnergy)348 {349 if(pd != particle) SetParticle(pd);350 G4double tau = kinEnergy/mass;351 G4double tmax = 2.0*electron_mass_c2*tau*(tau + 2.) /352 (1. + 2.0*(tau + 1.)*ratio + ratio*ratio);353 return tmax;354 339 } 355 340
Note: See TracChangeset
for help on using the changeset viewer.