Ignore:
Timestamp:
Jan 8, 2010, 11:56:51 AM (15 years ago)
Author:
garnier
Message:

update geant4.9.3 tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/standard/src/G4CoulombScatteringModel.cc

    r1196 r1228  
    2424// ********************************************************************
    2525//
    26 // $Id: G4CoulombScatteringModel.cc,v 1.43 2009/10/28 10:14:13 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: G4CoulombScatteringModel.cc,v 1.44 2009/12/03 09:59:07 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03 $
    2828//
    2929// -------------------------------------------------------------------
     
    108108
    109109  //invbeta2 = 1.0 +  m12/mom2;
    110  
    111   G4double fm = m2/(mass + m2);
    112   invbeta2 = 1.0 +  m12*fm*fm/mom2;
     110  //  G4double fm = m2/(mass + m2); 
     111
     112  // 03.09.2009 C.Consaldi
     113  G4double Ecm=sqrt(m12 + m2*m2 + 2.0*etot*m2);
     114  G4double mu_rel=mass*m2/Ecm;
     115
     116  invbeta2 = 1.0 +  mu_rel*mu_rel/mom2;
     117  //
    113118
    114119  SetupTarget(Z, tkin);
     
    158163
    159164  // a correction for heavy projectile
    160   G4double fm = m2/(mass + m2);
    161   invbeta2 = 1.0 +  m12*fm*fm/mom2;
     165  //  G4double fm = m2/(mass + m2);
     166  //  invbeta2 = 1.0 +  m12*fm*fm/mom2;
     167
     168  // 03.09.2009 C.Consaldi
     169  G4double Ecm=sqrt(m12 + m2*m2 + 2.0*etot*m2);
     170  G4double mu_rel=mass*m2/Ecm;
     171
     172  invbeta2 = 1.0 +  mu_rel*mu_rel/mom2;
     173  //
    162174
    163175  // sample scattering angle in CM system
     
    181193  fParticleChange->ProposeMomentumDirection(newDirection);   
    182194
    183   //  G4double elab = gam*(eCM + bet*pzCM);
    184 
    185   G4double Ecm  = sqrt(mass*mass + m2*m2 + 2.0*etot*m2);
     195 //   G4double elab = gam*(eCM + bet*pzCM);
     196
     197 // G4double Ecm  = sqrt(mass*mass + m2*m2 + 2.0*etot*m2);
    186198  G4double elab = etot - m2*(ptot/Ecm)*(ptot/Ecm)*(1.-cost) ;
    187199
     
    211223//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    212224
    213 
Note: See TracChangeset for help on using the changeset viewer.