Changeset 1340 for trunk/source/processes/electromagnetic/lowenergy/include/G4IonParametrisedLossModel.icc
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/lowenergy/include/G4IonParametrisedLossModel.icc
r1196 r1340 24 24 // ******************************************************************** 25 25 // 26 // 26 // $Id: G4IonParametrisedLossModel.icc,v 1.7 2010/11/04 12:21:47 vnivanch Exp $ 27 // GEANT4 tag $Name: emlowen-V09-03-54 $ 27 28 // 28 29 // =========================================================================== … … 43 44 // Minor bug fix in ComputeDEDXPerVolume (AL) 44 45 // 20. 11. 2009 - Added set-method for energy loss limit (AL) 46 // 04. 11. 2010 - Moved virtual methods to the source (VI) 45 47 // 46 48 // Class description: … … 54 56 // 55 57 // =========================================================================== 56 57 58 58 59 inline G4double G4IonParametrisedLossModel::DeltaRayMeanEnergyTransferRate( … … 116 117 } 117 118 118 119 inline120 G4double G4IonParametrisedLossModel::MaxSecondaryEnergy(121 const G4ParticleDefinition* particle,122 G4double kineticEnergy) {123 124 // ############## Maximum energy of secondaries ##########################125 // Function computes maximum energy of secondary electrons which are126 // released by an ion127 //128 // See Geant4 physics reference manual (version 9.1), section 9.1.1129 //130 // Ref.: W.M. Yao et al, Jour. of Phys. G 33 (2006) 1.131 // C.Caso et al. (Part. Data Group), Europ. Phys. Jour. C 3 1 (1998).132 // B. Rossi, High energy particles, New York, NY: Prentice-Hall (1952).133 //134 // (Implementation adapted from G4BraggIonModel)135 136 if(particle != cacheParticle) UpdateCache(particle);137 138 G4double tau = kineticEnergy/cacheMass;139 G4double tmax = 2.0 * electron_mass_c2 * tau * (tau + 2.) /140 (1. + 2.0 * (tau + 1.) * cacheElecMassRatio +141 cacheElecMassRatio * cacheElecMassRatio);142 143 return tmax;144 }145 146 147 119 inline 148 120 void G4IonParametrisedLossModel::UpdateCache( … … 155 127 cacheChargeSquare = q * q; 156 128 } 157 158 159 inline160 G4double G4IonParametrisedLossModel::GetChargeSquareRatio(161 const G4ParticleDefinition* particle,162 const G4Material* material,163 G4double kineticEnergy) { // Kinetic energy164 165 G4double chargeSquareRatio = corrections ->166 EffectiveChargeSquareRatio(particle,167 material,168 kineticEnergy);169 corrFactor = chargeSquareRatio *170 corrections -> EffectiveChargeCorrection(particle,171 material,172 kineticEnergy);173 return corrFactor;174 }175 176 177 inline178 G4double G4IonParametrisedLossModel::GetParticleCharge(179 const G4ParticleDefinition* particle,180 const G4Material* material,181 G4double kineticEnergy) { // Kinetic energy182 183 return corrections -> GetParticleCharge(particle, material, kineticEnergy);184 }185 186 129 187 130 inline
Note: See TracChangeset
for help on using the changeset viewer.