Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoE.cc,v 1.15 2006/06/29 19:20:48 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoMu.cc,v 1.15 2006/06/29 19:20:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoTau.cc,v 1.15 2006/06/29 19:20:55 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Electron.cc,v 1.14 2007/03/15 06:53:57 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4Electron.cc,v 1.17 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -63,18 +63,22 @@ G4Electron* G4Electron::Definition()
|
||||
// type lepton number baryon number PDG encoding
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 0.51099906*MeV, 0.0*MeV, -1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", 1, 0, 11,
|
||||
true, -1.0, NULL,
|
||||
false, "e"
|
||||
|
||||
// use constants in CLHEP
|
||||
// static const double electron_mass_c2 = 0.51099906 * MeV;
|
||||
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, electron_mass_c2, 0.0*MeV, -1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", 1, 0, 11,
|
||||
true, -1.0, NULL,
|
||||
false, "e"
|
||||
);
|
||||
// Bohr Magnetron
|
||||
G4double muB = -0.5*eplus*hbar_Planck/(0.51099906*MeV/c_squared) ;
|
||||
G4double muB = -0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.0011596521859 );
|
||||
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
|
||||
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Electron*>(anInstance);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4LeptonConstructor.cc,v 1.5 2006/06/29 19:21:31 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonMinus.cc,v 1.13 2007/03/15 06:53:57 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4MuonMinus.cc,v 1.15 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -67,7 +67,7 @@ G4MuonMinus* G4MuonMinus::Definition()
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 0.1056584*GeV, 2.99591e-16*MeV, -1.*eplus,
|
||||
name, 0.1056584*GeV, 3.01594e-16*MeV, -1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", 1, 0, 13,
|
||||
@@ -77,7 +77,7 @@ G4MuonMinus* G4MuonMinus::Definition()
|
||||
// Bohr Magnetron
|
||||
G4double muB = -0.5*eplus*hbar_Planck/(0.1056584*GeV/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.0011659208);
|
||||
anInstance->SetPDGMagneticMoment( muB * 2. * 1.0011659208);
|
||||
|
||||
//create Decay Table
|
||||
G4DecayTable* table = new G4DecayTable();
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonPlus.cc,v 1.13 2007/03/15 06:53:58 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4MuonPlus.cc,v 1.15 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -67,7 +67,7 @@ G4MuonPlus* G4MuonPlus::Definition()
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 0.1056584*GeV, 2.99591e-16*MeV, +1.*eplus,
|
||||
name, 0.1056584*GeV, 3.01594e-16*MeV, +1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", -1, 0, -13,
|
||||
@@ -77,7 +77,7 @@ G4MuonPlus* G4MuonPlus::Definition()
|
||||
// Bohr Magnetron
|
||||
G4double muB = 0.5*eplus*hbar_Planck/(0.1056584*GeV/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.0011659208);
|
||||
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011659208);
|
||||
|
||||
//create Decay Table
|
||||
G4DecayTable* table = new G4DecayTable();
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoE.cc,v 1.15 2006/06/29 19:21:54 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoMu.cc,v 1.16 2006/06/29 19:22:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoTau.cc,v 1.15 2006/06/29 19:22:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Positron.cc,v 1.13 2007/03/15 06:53:58 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4Positron.cc,v 1.16 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -63,19 +63,22 @@ G4Positron* G4Positron::Definition()
|
||||
// type lepton number baryon number PDG encoding
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
// use constants in CLHEP
|
||||
// static const double electron_mass_c2 = 0.51099906 * MeV;
|
||||
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 0.51099906*MeV, 0.0*MeV, +1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", -1, 0, -11,
|
||||
true, -1.0, NULL,
|
||||
false, "e"
|
||||
name, electron_mass_c2, 0.0*MeV, +1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", -1, 0, -11,
|
||||
true, -1.0, NULL,
|
||||
false, "e"
|
||||
);
|
||||
|
||||
// Bohr Magnetron
|
||||
G4double muB = 0.5*eplus*hbar_Planck/(0.51099906*MeV/c_squared) ;
|
||||
G4double muB = 0.5*eplus*hbar_Planck/(electron_mass_c2/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.0011596521859 );
|
||||
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
|
||||
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Positron*>(anInstance);
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauMinus.cc,v 1.16 2007/03/15 06:53:58 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4TauMinus.cc,v 1.18 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -69,7 +69,7 @@ G4TauMinus* G4TauMinus::Definition()
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 1.77699*GeV, 2.265e-9*MeV, -1.*eplus,
|
||||
name, 1.77699*GeV, 2.280e-9*MeV, -1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", 1, 0, 15,
|
||||
@@ -80,7 +80,7 @@ G4TauMinus* G4TauMinus::Definition()
|
||||
// Bohr Magnetron
|
||||
G4double muB = -0.5*eplus*hbar_Planck/(1.77699*GeV/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.00116);
|
||||
anInstance->SetPDGMagneticMoment( muB * 2. * 1.00116);
|
||||
|
||||
//create Decay Table
|
||||
G4DecayTable* table = new G4DecayTable();
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauPlus.cc,v 1.16 2007/03/15 06:53:58 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4TauPlus.cc,v 1.18 2008/11/13 08:23:12 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -69,7 +69,7 @@ G4TauPlus* G4TauPlus::Definition()
|
||||
// stable lifetime decay table
|
||||
// shortlived subType anti_encoding
|
||||
anInstance = new G4ParticleDefinition(
|
||||
name, 1.77699*GeV, 2.265e-9*MeV, 1.*eplus,
|
||||
name, 1.77699*GeV, 2.280e-9*MeV, 1.*eplus,
|
||||
1, 0, 0,
|
||||
0, 0, 0,
|
||||
"lepton", -1, 0, -15,
|
||||
@@ -79,7 +79,7 @@ G4TauPlus* G4TauPlus::Definition()
|
||||
// Bohr Magnetron
|
||||
G4double muB = 0.5*eplus*hbar_Planck/(1.77699*GeV/c_squared) ;
|
||||
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.00116);
|
||||
anInstance->SetPDGMagneticMoment( muB * 2.* 1.00116);
|
||||
|
||||
//create Decay Table
|
||||
G4DecayTable* table = new G4DecayTable();
|
||||
|
||||
Reference in New Issue
Block a user