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

en test de gl2ps. Problemes de libraries

Location:
trunk/source/particles/leptons/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/particles/leptons/src/G4Electron.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4Electron.cc,v 1.15 2008/03/06 15:41:57 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4Electron.cc,v 1.17 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    7777              );
    7878    // Bohr Magnetron
    79    G4double muB =  -0.5*eplus*hbar_Planck/(0.51099906*MeV/c_squared) ;
     79   G4double muB =  -0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ;
    8080   
    81    anInstance->SetPDGMagneticMoment( muB * 1.0011596521859 );
     81   anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
    8282
    8383  }
  • trunk/source/particles/leptons/src/G4MuonMinus.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4MuonMinus.cc,v 1.13 2007/03/15 06:53:57 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4MuonMinus.cc,v 1.15 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    6868  //             shortlived      subType    anti_encoding
    6969  anInstance = new G4ParticleDefinition(
    70                  name,   0.1056584*GeV, 2.99591e-16*MeV,  -1.*eplus,
     70                 name,   0.1056584*GeV, 3.01594e-16*MeV,  -1.*eplus,
    7171                    1,               0,             0,         
    7272                    0,               0,             0,             
     
    7878   G4double muB =  -0.5*eplus*hbar_Planck/(0.1056584*GeV/c_squared) ;
    7979   
    80    anInstance->SetPDGMagneticMoment( muB * 1.0011659208);
     80   anInstance->SetPDGMagneticMoment( muB * 2. * 1.0011659208);
    8181
    8282  //create Decay Table
  • trunk/source/particles/leptons/src/G4MuonPlus.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4MuonPlus.cc,v 1.13 2007/03/15 06:53:58 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4MuonPlus.cc,v 1.15 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    6868  //             shortlived      subType    anti_encoding
    6969  anInstance = new G4ParticleDefinition(
    70                  name,   0.1056584*GeV, 2.99591e-16*MeV,   +1.*eplus,
     70                 name,   0.1056584*GeV, 3.01594e-16*MeV,   +1.*eplus,
    7171                    1,               0,             0,         
    7272                    0,               0,             0,             
     
    7878   G4double muB =  0.5*eplus*hbar_Planck/(0.1056584*GeV/c_squared) ;
    7979   
    80    anInstance->SetPDGMagneticMoment( muB * 1.0011659208);
     80   anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011659208);
    8181
    8282  //create Decay Table
  • trunk/source/particles/leptons/src/G4Positron.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4Positron.cc,v 1.14 2008/03/06 15:41:57 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4Positron.cc,v 1.16 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    7777 
    7878    // Bohr Magnetron
    79    G4double muB =  0.5*eplus*hbar_Planck/(0.51099906*MeV/c_squared) ;
     79   G4double muB =  0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ;
    8080   
    81    anInstance->SetPDGMagneticMoment( muB * 1.0011596521859 );
     81   anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
    8282
    8383  }
  • trunk/source/particles/leptons/src/G4TauMinus.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4TauMinus.cc,v 1.16 2007/03/15 06:53:58 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4TauMinus.cc,v 1.18 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    7070  //             shortlived      subType    anti_encoding
    7171   anInstance = new G4ParticleDefinition(
    72                  name,     1.77699*GeV,  2.265e-9*MeV,    -1.*eplus,
     72                 name,     1.77699*GeV,  2.280e-9*MeV,    -1.*eplus,
    7373                    1,               0,             0,         
    7474                    0,               0,             0,             
     
    8181   G4double muB =  -0.5*eplus*hbar_Planck/(1.77699*GeV/c_squared) ;
    8282   
    83    anInstance->SetPDGMagneticMoment( muB * 1.00116);
     83   anInstance->SetPDGMagneticMoment( muB * 2. * 1.00116);
    8484
    8585  //create Decay Table
  • trunk/source/particles/leptons/src/G4TauPlus.cc

    r850 r921  
    2525//
    2626//
    27 // $Id: G4TauPlus.cc,v 1.16 2007/03/15 06:53:58 kurasige Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4TauPlus.cc,v 1.18 2008/11/13 08:23:12 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    7070  //             shortlived      subType    anti_encoding
    7171   anInstance = new G4ParticleDefinition(
    72                  name,     1.77699*GeV,  2.265e-9*MeV,     1.*eplus,
     72                 name,     1.77699*GeV,  2.280e-9*MeV,     1.*eplus,
    7373                    1,               0,             0,         
    7474                    0,               0,             0,             
     
    8080   G4double muB =  0.5*eplus*hbar_Planck/(1.77699*GeV/c_squared) ;
    8181   
    82    anInstance->SetPDGMagneticMoment( muB * 1.00116);
     82   anInstance->SetPDGMagneticMoment( muB * 2.* 1.00116);
    8383
    8484  //create Decay Table
Note: See TracChangeset for help on using the changeset viewer.