Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/lowenergy/include/G4IonParametrisedLossModel.icc

    r1196 r1340  
    2424// ********************************************************************
    2525//
    26 //
     26// $Id: G4IonParametrisedLossModel.icc,v 1.7 2010/11/04 12:21:47 vnivanch Exp $
     27// GEANT4 tag $Name: emlowen-V09-03-54 $
    2728//
    2829// ===========================================================================
     
    4344//                               Minor bug fix in ComputeDEDXPerVolume (AL)
    4445//                20. 11. 2009 - Added set-method for energy loss limit (AL)
     46//                04. 11. 2010 - Moved virtual methods to the source (VI)
    4547//
    4648// Class description:
     
    5456//
    5557// ===========================================================================
    56 
    5758
    5859inline G4double G4IonParametrisedLossModel::DeltaRayMeanEnergyTransferRate(
     
    116117}
    117118
    118 
    119 inline
    120 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 are
    126   // released by an ion
    127   //
    128   // See Geant4 physics reference manual (version 9.1), section 9.1.1
    129   //
    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 
    147119inline
    148120void G4IonParametrisedLossModel::UpdateCache(
     
    155127  cacheChargeSquare = q * q;
    156128}
    157 
    158 
    159 inline
    160 G4double G4IonParametrisedLossModel::GetChargeSquareRatio(
    161                              const G4ParticleDefinition* particle,
    162                              const G4Material* material,
    163                              G4double kineticEnergy) {    // Kinetic energy
    164 
    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 inline
    178 G4double G4IonParametrisedLossModel::GetParticleCharge(
    179                              const G4ParticleDefinition* particle,
    180                              const G4Material* material,
    181                              G4double kineticEnergy) {   // Kinetic energy
    182 
    183   return corrections -> GetParticleCharge(particle, material, kineticEnergy);
    184 }
    185 
    186129
    187130inline
Note: See TracChangeset for help on using the changeset viewer.