- Timestamp:
- Apr 17, 2009, 12:17:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/include/G4BraggIonModel.hh
r961 r991 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4BraggIonModel.hh,v 1.1 2 2009/02/20 12:06:37 vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4BraggIonModel.hh,v 1.11 2008/10/22 16:00:57 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 77 77 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&); 78 78 79 virtualG4double MinEnergyCut(const G4ParticleDefinition*,80 79 G4double MinEnergyCut(const G4ParticleDefinition*, 80 const G4MaterialCutsCouple*); 81 81 82 82 virtual G4double ComputeCrossSectionPerElectron( … … 128 128 protected: 129 129 130 virtualG4double MaxSecondaryEnergy(const G4ParticleDefinition*,131 130 G4double MaxSecondaryEnergy(const G4ParticleDefinition*, 131 G4double kinEnergy); 132 132 133 133 private: … … 180 180 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 181 181 182 inline G4double G4BraggIonModel::MaxSecondaryEnergy( 183 const G4ParticleDefinition* pd, 184 G4double kinEnergy) 185 { 186 if(pd != particle) SetParticle(pd); 187 G4double tau = kinEnergy/mass; 188 G4double tmax = 2.0*electron_mass_c2*tau*(tau + 2.) / 189 (1. + 2.0*(tau + 1.)*ratio + ratio*ratio); 190 return tmax; 191 } 192 193 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 194 182 195 inline void G4BraggIonModel::SetParticle(const G4ParticleDefinition* p) 183 196 {
Note: See TracChangeset
for help on using the changeset viewer.