Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

Location:
trunk/source/processes/cuts/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/cuts/src/G4ProductionCutsTable.cc

    r1007 r1055  
    2525//
    2626//
    27 // $Id: G4ProductionCutsTable.cc,v 1.18 2008/03/02 10:52:55 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     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 $
    2929//
    3030//
     
    623623    if (aMaterial ==0 ) continue;
    624624
    625     G4double ratio = std::abs(density/aMaterial->GetDensity() );
     625    G4double ratio = std::fabs(density/aMaterial->GetDensity() );
    626626    if ((0.999>ratio) || (ratio>1.001) ){
    627627#ifdef G4VERBOSE
  • trunk/source/processes/cuts/src/G4RToEConvForElectron.cc

    r1007 r1055  
    2525//
    2626//
    27 // $Id: G4RToEConvForElectron.cc,v 1.5 2006/06/29 19:30:22 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     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 $
    2929//
    3030//
     
    7474  G4double Mass = theParticle->GetPDGMass();       
    7575  //  calculate dE/dx for electrons
    76   if( std::abs(AtomicNumber-Z)>0.1 ) {
     76  if( std::fabs(AtomicNumber-Z)>0.1 ) {
    7777    Z = AtomicNumber;
    7878    taul = Tlow/Mass;
  • trunk/source/processes/cuts/src/G4RToEConvForPositron.cc

    r1007 r1055  
    2525//
    2626//
    27 // $Id: G4RToEConvForPositron.cc,v 1.5 2006/06/29 19:30:28 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     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 $
    2929//
    3030//
     
    7676  G4double Mass = theParticle->GetPDGMass();       
    7777  //  calculate dE/dx for electrons
    78   if( std::abs(AtomicNumber-Z)>0.1 ) {
     78  if( std::fabs(AtomicNumber-Z)>0.1 ) {
    7979    Z = AtomicNumber;
    8080    taul = Tlow/Mass;
  • trunk/source/processes/cuts/src/G4VRangeToEnergyConverter.cc

    r1007 r1055  
    2525//
    2626//
    27 // $Id: G4VRangeToEnergyConverter.cc,v 1.9 2008/03/02 10:52:56 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     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 $
    2929//
    3030//
     
    313313  if (z2Particle < 0.1) return 0.0;
    314314
    315   if( std::abs(AtomicNumber-Z)>0.1 ){
     315  if( std::fabs(AtomicNumber-Z)>0.1 ){
    316316    // recalculate constants
    317317    Z = AtomicNumber;
     
    470470  G4double T3 = std::sqrt(T1*T2);
    471471  G4double r3 = rangeVector->GetValue(T3,isOut);
    472   while ( std::abs(1.-r3/theCutInLength)>epsilon ) {
     472  while ( std::fabs(1.-r3/theCutInLength)>epsilon ) {
    473473    if ( theCutInLength <= r3 ) {
    474474      T2 = T3;
Note: See TracChangeset for help on using the changeset viewer.