- Timestamp:
- Apr 20, 2009, 5:54:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4hIonisation.cc
r1005 r1007 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4hIonisation.cc,v 1.8 2 2009/02/20 12:06:37vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4hIonisation.cc,v 1.81 2008/10/22 16:02:20 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 122 122 {} 123 123 124 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....125 126 G4bool G4hIonisation::IsApplicable(const G4ParticleDefinition& p)127 {128 return (p.GetPDGCharge() != 0.0 && p.GetPDGMass() > 10.0*MeV &&129 !p.IsShortLived());130 }131 132 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....133 134 G4double G4hIonisation::MinPrimaryEnergy(const G4ParticleDefinition*,135 const G4Material*,136 G4double cut)137 {138 G4double x = 0.5*cut/electron_mass_c2;139 G4double g = x*ratio + std::sqrt((1. + x)*(1. + x*ratio*ratio));140 return mass*(g - 1.0);141 }142 143 124 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 144 125
Note: See TracChangeset
for help on using the changeset viewer.