Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/particles/management/include/G4ParticleDefinition.icc

    r890 r921  
    2525//
    2626//
    27 // $Id: G4ParticleDefinition.icc,v 1.13 2008/11/14 16:26:30 kurasige Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4ParticleDefinition.icc,v 1.12 2007/03/11 07:17:35 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030
     
    155155}
    156156
    157 inline
    158   G4double G4ParticleDefinition::CalculateAnomaly()  const
    159 {
    160    // gives the anomaly of magnetic moment for spin 1/2 particles
    161    if (thePDGiSpin==1) {
    162      G4double muB = 0.5*eplus*hbar_Planck/(thePDGMass/c_squared);
    163      return 0.5*fabs(thePDGMagneticMoment/muB - 2.*thePDGCharge/eplus);   
    164    } else {     
    165      return 0.0;
    166    }
    167 }
     157
Note: See TracChangeset for help on using the changeset viewer.