- Timestamp:
- Jan 8, 2010, 11:56:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4CoulombScatteringModel.cc
r1196 r1228 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4CoulombScatteringModel.cc,v 1.4 3 2009/10/28 10:14:13vnivanch 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 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 108 108 109 109 //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 // 113 118 114 119 SetupTarget(Z, tkin); … … 158 163 159 164 // 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 // 162 174 163 175 // sample scattering angle in CM system … … 181 193 fParticleChange->ProposeMomentumDirection(newDirection); 182 194 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); 186 198 G4double elab = etot - m2*(ptot/Ecm)*(ptot/Ecm)*(1.-cost) ; 187 199 … … 211 223 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 212 224 213
Note: See TracChangeset
for help on using the changeset viewer.