Changeset 1055 for trunk/source/processes/cuts/src
- Timestamp:
- May 28, 2009, 4:26:57 PM (15 years ago)
- Location:
- trunk/source/processes/cuts/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/cuts/src/G4ProductionCutsTable.cc
r1007 r1055 25 25 // 26 26 // 27 // $Id: G4ProductionCutsTable.cc,v 1.1 8 2008/03/02 10:52:55kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4ProductionCutsTable.cc,v 1.19 2009/04/02 02:43:42 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 29 29 // 30 30 // … … 623 623 if (aMaterial ==0 ) continue; 624 624 625 G4double ratio = std:: abs(density/aMaterial->GetDensity() );625 G4double ratio = std::fabs(density/aMaterial->GetDensity() ); 626 626 if ((0.999>ratio) || (ratio>1.001) ){ 627 627 #ifdef G4VERBOSE -
trunk/source/processes/cuts/src/G4RToEConvForElectron.cc
r1007 r1055 25 25 // 26 26 // 27 // $Id: G4RToEConvForElectron.cc,v 1. 5 2006/06/29 19:30:22 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForElectron.cc,v 1.6 2009/04/02 02:43:42 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 29 29 // 30 30 // … … 74 74 G4double Mass = theParticle->GetPDGMass(); 75 75 // calculate dE/dx for electrons 76 if( std:: abs(AtomicNumber-Z)>0.1 ) {76 if( std::fabs(AtomicNumber-Z)>0.1 ) { 77 77 Z = AtomicNumber; 78 78 taul = Tlow/Mass; -
trunk/source/processes/cuts/src/G4RToEConvForPositron.cc
r1007 r1055 25 25 // 26 26 // 27 // $Id: G4RToEConvForPositron.cc,v 1. 5 2006/06/29 19:30:28 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4RToEConvForPositron.cc,v 1.6 2009/04/02 02:43:42 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 29 29 // 30 30 // … … 76 76 G4double Mass = theParticle->GetPDGMass(); 77 77 // calculate dE/dx for electrons 78 if( std:: abs(AtomicNumber-Z)>0.1 ) {78 if( std::fabs(AtomicNumber-Z)>0.1 ) { 79 79 Z = AtomicNumber; 80 80 taul = Tlow/Mass; -
trunk/source/processes/cuts/src/G4VRangeToEnergyConverter.cc
r1007 r1055 25 25 // 26 26 // 27 // $Id: G4VRangeToEnergyConverter.cc,v 1. 9 2008/03/02 10:52:56kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 2$27 // $Id: G4VRangeToEnergyConverter.cc,v 1.10 2009/04/02 02:43:42 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ 29 29 // 30 30 // … … 313 313 if (z2Particle < 0.1) return 0.0; 314 314 315 if( std:: abs(AtomicNumber-Z)>0.1 ){315 if( std::fabs(AtomicNumber-Z)>0.1 ){ 316 316 // recalculate constants 317 317 Z = AtomicNumber; … … 470 470 G4double T3 = std::sqrt(T1*T2); 471 471 G4double r3 = rangeVector->GetValue(T3,isOut); 472 while ( std:: abs(1.-r3/theCutInLength)>epsilon ) {472 while ( std::fabs(1.-r3/theCutInLength)>epsilon ) { 473 473 if ( theCutInLength <= r3 ) { 474 474 T2 = T3;
Note: See TracChangeset
for help on using the changeset viewer.