Changeset 1340 for trunk/source/particles
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (15 years ago)
- Location:
- trunk/source/particles
- Files:
-
- 111 edited
-
History (modified) (2 diffs)
-
adjoint/GNUmakefile (modified) (1 diff)
-
bosons/GNUmakefile (modified) (1 diff)
-
hadrons/barions/GNUmakefile (modified) (1 diff)
-
hadrons/barions/src/G4AntiLambda.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiLambdacPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiNeutron.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiOmegacZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiSigmaMinus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiSigmaPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiSigmaZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiXiMinus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiXiZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiXicPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4AntiXicZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4Lambda.cc (modified) (2 diffs)
-
hadrons/barions/src/G4LambdacPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4Neutron.cc (modified) (2 diffs)
-
hadrons/barions/src/G4OmegacZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4SigmaMinus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4SigmaPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4SigmaZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4XiMinus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4XiZero.cc (modified) (2 diffs)
-
hadrons/barions/src/G4XicPlus.cc (modified) (2 diffs)
-
hadrons/barions/src/G4XicZero.cc (modified) (2 diffs)
-
hadrons/ions/GNUmakefile (modified) (1 diff)
-
hadrons/ions/src/G4Alpha.cc (modified) (2 diffs)
-
hadrons/ions/src/G4Deuteron.cc (modified) (3 diffs)
-
hadrons/ions/src/G4He3.cc (modified) (3 diffs)
-
hadrons/ions/src/G4IonConstructor.cc (modified) (3 diffs)
-
hadrons/ions/src/G4Triton.cc (modified) (3 diffs)
-
hadrons/mesons/GNUmakefile (modified) (1 diff)
-
hadrons/mesons/src/G4AntiBMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4AntiBsMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4AntiDMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4BMesonMinus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4BMesonPlus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4BMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4BsMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4DMesonMinus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4DMesonPlus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4DMesonZero.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4DsMesonMinus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4DsMesonPlus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4EtaPrime.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4JPsi.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4KaonMinus.cc (modified) (3 diffs)
-
hadrons/mesons/src/G4KaonPlus.cc (modified) (3 diffs)
-
hadrons/mesons/src/G4KaonZeroLong.cc (modified) (3 diffs)
-
hadrons/mesons/src/G4KaonZeroShort.cc (modified) (3 diffs)
-
hadrons/mesons/src/G4PionMinus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4PionPlus.cc (modified) (2 diffs)
-
hadrons/mesons/src/G4PionZero.cc (modified) (2 diffs)
-
leptons/GNUmakefile (modified) (1 diff)
-
leptons/src/G4MuonMinus.cc (modified) (2 diffs)
-
leptons/src/G4MuonPlus.cc (modified) (2 diffs)
-
leptons/src/G4TauMinus.cc (modified) (2 diffs)
-
leptons/src/G4TauPlus.cc (modified) (2 diffs)
-
management/GNUmakefile (modified) (1 diff)
-
management/include/G4DecayProducts.hh (modified) (1 diff)
-
management/include/G4DynamicParticle.hh (modified) (4 diffs)
-
management/include/G4DynamicParticle.icc (modified) (2 diffs)
-
management/include/G4ElectronOccupancy.hh (modified) (1 diff)
-
management/include/G4IonTable.hh (modified) (6 diffs)
-
management/include/G4KL3DecayChannel.hh (modified) (2 diffs)
-
management/include/G4ParticleDefinition.hh (modified) (3 diffs)
-
management/include/G4ParticleDefinition.icc (modified) (2 diffs)
-
management/include/G4ParticleTable.hh (modified) (2 diffs)
-
management/include/G4PrimaryParticle.hh (modified) (5 diffs)
-
management/include/G4PrimaryVertex.hh (modified) (1 diff)
-
management/include/G4ShortLivedTable.hh (modified) (5 diffs)
-
management/include/G4VDecayChannel.hh (modified) (3 diffs)
-
management/src/G4DecayProducts.cc (modified) (3 diffs)
-
management/src/G4DynamicParticle.cc (modified) (7 diffs)
-
management/src/G4IonTable.cc (modified) (15 diffs)
-
management/src/G4Ions.cc (modified) (2 diffs)
-
management/src/G4KL3DecayChannel.cc (modified) (2 diffs)
-
management/src/G4MuonDecayChannelWithSpin.cc (modified) (2 diffs)
-
management/src/G4MuonRadiativeDecayChannelWithSpin.cc (modified) (1 diff)
-
management/src/G4NucleiProperties.cc (modified) (2 diffs)
-
management/src/G4NucleiPropertiesTableAME03.cc (modified) (2 diffs)
-
management/src/G4PDGCodeChecker.cc (modified) (5 diffs)
-
management/src/G4ParticleDefinition.cc (modified) (4 diffs)
-
management/src/G4ParticlePropertyData.cc (modified) (2 diffs)
-
management/src/G4ParticleTable.cc (modified) (2 diffs)
-
management/src/G4PrimaryParticle.cc (modified) (5 diffs)
-
management/src/G4ShortLivedTable.cc (modified) (4 diffs)
-
shortlived/GNUmakefile (modified) (1 diff)
-
shortlived/include/G4ExcitedBaryonConstructor.hh (modified) (2 diffs)
-
shortlived/include/G4ExcitedDeltaConstructor.hh (modified) (4 diffs)
-
shortlived/include/G4ExcitedLambdaConstructor.hh (modified) (4 diffs)
-
shortlived/include/G4ExcitedMesonConstructor.hh (modified) (1 diff)
-
shortlived/include/G4ExcitedNucleonConstructor.hh (modified) (4 diffs)
-
shortlived/include/G4ExcitedSigmaConstructor.hh (modified) (3 diffs)
-
shortlived/include/G4ExcitedXiConstructor.hh (modified) (3 diffs)
-
shortlived/src/G4ExcitedBaryonConstructor.cc (modified) (3 diffs)
-
shortlived/src/G4ExcitedDeltaConstructor.cc (modified) (2 diffs)
-
shortlived/src/G4ExcitedLambdaConstructor.cc (modified) (2 diffs)
-
shortlived/src/G4ExcitedMesonConstructor.cc (modified) (4 diffs)
-
shortlived/src/G4ExcitedNucleonConstructor.cc (modified) (1 diff)
-
shortlived/src/G4ExcitedSigmaConstructor.cc (modified) (3 diffs)
-
shortlived/src/G4ExcitedXiConstructor.cc (modified) (3 diffs)
-
shortlived/src/G4ShortLivedConstructor.cc (modified) (21 diffs)
-
utils/GNUmakefile (modified) (1 diff)
-
utils/include/G4HtmlPPReporter.hh (modified) (2 diffs)
-
utils/include/G4TextPPReporter.hh (modified) (2 diffs)
-
utils/include/G4TextPPRetriever.hh (modified) (2 diffs)
-
utils/src/G4HtmlPPReporter.cc (modified) (2 diffs)
-
utils/src/G4TextPPReporter.cc (modified) (2 diffs)
-
utils/src/G4TextPPRetriever.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/particles/History
r1337 r1340 1 $Id: History,v 1. 190 2010/06/17 01:46:36 gumExp $1 $Id: History,v 1.202 2010/10/30 07:55:00 kurasige Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 - October 30 2010 Hisaya Kurashige (particles-V09-03-15) 21 - Fix bugs of uninitialized variables (reported by Coverity) 22 23 - October 27 2010 Gabriele Cosmo (particles-V09-03-14) 24 - Restored DLL setup as originally. Withdrawn changes in last tag. 25 26 - October 19 2010 Gabriele Cosmo (particles-V09-03-13) 27 - Replaced G4PARTICLES_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported 28 symbols. 29 30 - October 16 2010 Hisaya Kurashige (particles-V09-03-12) 31 - Fix bugs in G4IonTable::IsIon 32 (anti nuclei were identified as normal ions and contained in the IonTable) 33 34 - October 11 2010 Hisaya Kurashige (particles-V09-03-11) 35 - Modify reporttParticleTable 36 - Fix particle type for anti_alpha 37 - Modify G4ParticleDefiniton::Dump to print AtomicNumber/Mass 38 - Fix a bug in G4PDGCodeChecker for anti_nuclei 39 40 - October 9 2010 Hisaya Kurashige (particles-V09-03-10) 41 - Remove anti_nuclei from shortlived 42 - Add anti_nuclei classes under hadrons/ions 43 - Fix G4IonTable::IsLightIon method (neutron,genericIon are not light ions) 44 - Add G4IonTable::IsLightAntiIon, G4IonTable::GetLightAntiIon 45 46 - October 1 2010 Hisaya Kurashige (particles-V09-03-09) 47 - Update mass/width of muons, taus, mesons, and baryons biased on PDG2010 48 - Fixed signature for std::pair in G4IonTable source code for compliance 49 to ISO/C++ Standard. (Sep. 3 by G.Cosmo) 50 51 - August 12 2010 Hisaya Kurashige (particles-V09-03-08) 52 - Add G4DynamicParticle::GetParticleDefinition giving 'const' pointer 53 54 - August 10 2010 Hisaya Kurashige (particles-V09-03-07) 55 - Clean up codes 56 (Use const pointer of G4ParticleDefinition as possible) 57 58 - July 20 2010 Hisaya Kurashige (particles-V09-03-06) 59 - Fix a bug in G4ExcitedMesonConstructor::Add3PiMode 19 60 20 61 - June 16 2010 Peter Gumplinger (particles-V09-03-05) -
trunk/source/particles/adjoint/GNUmakefile
r992 r1340 1 # $Id: GNUmakefile,v 1. 1 2008/11/06 13:17:36 kurasigeExp $1 # $Id: GNUmakefile,v 1.3 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for adjoint library. Hisaya Kurashige, 06/11/08. -
trunk/source/particles/bosons/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:22gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # ---------------------------------------------------------- 3 3 # GNUmakefile for bosons library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/hadrons/barions/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 3 2004/06/11 14:25:22gcosmo Exp $1 # $Id: GNUmakefile,v 1.5 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for barions library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/hadrons/barions/src/G4AntiLambda.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiLambda.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiLambda.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.115683*GeV, 2.5 18e-12*MeV, 0.0,72 name, 1.115683*GeV, 2.501e-12*MeV, 0.0, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiLambdacPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiLambdacPlus.cc,v 1.1 6 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiLambdacPlus.cc,v 1.17 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.28646*GeV, 3.3 2e-9*MeV, -1.*eplus,72 name, 2.28646*GeV, 3.30e-9*MeV, -1.*eplus, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiNeutron.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiNeutron.cc,v 1.2 3 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiNeutron.cc,v 1.24 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 69 69 70 70 anInstance = new G4ParticleDefinition( 71 name, neutron_mass_c2, 7.4 80e-28*GeV, 0.0,71 name, neutron_mass_c2, 7.432e-28*GeV, 0.0, 72 72 1, +1, 0, 73 73 1, +1, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiOmegacZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiOmegacZero.cc,v 1. 19 2006/10/12 10:59:45kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiOmegacZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.69 75*GeV, 9.6e-9*MeV, 0.*eplus,72 name, 2.6952*GeV, 9.6e-9*MeV, 0.*eplus, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiSigmaMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiSigmaMinus.cc,v 1.1 5 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiSigmaMinus.cc,v 1.16 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.197449*GeV, 4.4 8e-12*MeV, eplus,72 name, 1.197449*GeV, 4.45e-12*MeV, eplus, 73 73 1, +1, 0, 74 74 2, +2, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiSigmaPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiSigmaPlus.cc,v 1.1 5 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiSigmaPlus.cc,v 1.16 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.18937*GeV, 8.2 64e-12*MeV, -1.*eplus,72 name, 1.18937*GeV, 8.209e-12*MeV, -1.*eplus, 73 73 1, +1, 0, 74 74 2, -2, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiSigmaZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiSigmaZero.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiSigmaZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.192642*GeV, 9.0e-3*MeV, 0.0,72 name, 1.192642*GeV, 8.9e-3*MeV, 0.0, 73 73 1, +1, 0, 74 74 2, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiXiMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiXiMinus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiXiMinus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.32171*GeV, 4.0 4e-12*MeV, eplus,72 name, 1.32171*GeV, 4.02e-12*MeV, eplus, 73 73 1, +1, 0, 74 74 1, +1, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiXiZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiXiZero.cc,v 1.2 1 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiXiZero.cc,v 1.22 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.31486*GeV, 2.2 8e-12*MeV, 0.0,72 name, 1.31486*GeV, 2.27e-12*MeV, 0.0, 73 73 1, +1, 0, 74 74 1, -1, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiXicPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiXicPlus.cc,v 1.1 5 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiXicPlus.cc,v 1.16 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.467 9*GeV, 1.50e-9*MeV, -1.*eplus,72 name, 2.4678*GeV, 1.49e-9*MeV, -1.*eplus, 73 73 1, +1, 0, 74 74 1, -1, 0, -
trunk/source/particles/hadrons/barions/src/G4AntiXicZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiXicZero.cc,v 1.2 0 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiXicZero.cc,v 1.21 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.4710*GeV, 5.9e-9*MeV, 0.0,72 name, 2.47088*GeV, 5.9e-9*MeV, 0.0, 73 73 1, +1, 0, 74 74 1, +1, 0, -
trunk/source/particles/hadrons/barions/src/G4Lambda.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Lambda.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Lambda.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.115683*GeV, 2.5 18e-12*MeV, 0.0,72 name, 1.115683*GeV, 2.501e-12*MeV, 0.0, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4LambdacPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4LambdacPlus.cc,v 1.1 6 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4LambdacPlus.cc,v 1.17 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.28646*GeV, 3.3 2e-9*MeV, +1.*eplus,72 name, 2.28646*GeV, 3.30e-9*MeV, +1.*eplus, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4Neutron.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Neutron.cc,v 1.2 3 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Neutron.cc,v 1.24 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 73 73 74 74 anInstance = new G4Ions( 75 name, neutron_mass_c2, 7.4 80e-28*GeV, 0.0,75 name, neutron_mass_c2, 7.432e-28*GeV, 0.0, 76 76 1, +1, 0, 77 77 1, -1, 0, -
trunk/source/particles/hadrons/barions/src/G4OmegacZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4OmegacZero.cc,v 1. 19 2006/10/12 10:59:45kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4OmegacZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.69 75*GeV, 9.6e-9*MeV, 0.*eplus,72 name, 2.6952*GeV, 9.6e-9*MeV, 0.*eplus, 73 73 1, +1, 0, 74 74 0, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4SigmaMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4SigmaMinus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4SigmaMinus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.197449*GeV, 4.4 8e-12*MeV, -1*eplus,72 name, 1.197449*GeV, 4.45e-12*MeV, -1*eplus, 73 73 1, +1, 0, 74 74 2, -2, 0, -
trunk/source/particles/hadrons/barions/src/G4SigmaPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4SigmaPlus.cc,v 1.1 5 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4SigmaPlus.cc,v 1.16 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.18937*GeV, 8.2 64e-12*MeV, eplus,72 name, 1.18937*GeV, 8.209e-12*MeV, eplus, 73 73 1, +1, 0, 74 74 2, +2, 0, -
trunk/source/particles/hadrons/barions/src/G4SigmaZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4SigmaZero.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4SigmaZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.192642*GeV, 9.0e-3*MeV, 0.0,72 name, 1.192642*GeV, 8.9e-3*MeV, 0.0, 73 73 1, +1, 0, 74 74 2, 0, 0, -
trunk/source/particles/hadrons/barions/src/G4XiMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4XiMinus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4XiMinus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.32171*GeV, 4.0 4e-12*MeV, -1*eplus,72 name, 1.32171*GeV, 4.02e-12*MeV, -1*eplus, 73 73 1, +1, 0, 74 74 1, -1, 0, -
trunk/source/particles/hadrons/barions/src/G4XiZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4XiZero.cc,v 1.2 0 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4XiZero.cc,v 1.21 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.31486*GeV, 2.2 8e-12*MeV, 0.0,72 name, 1.31486*GeV, 2.27e-12*MeV, 0.0, 73 73 1, +1, 0, 74 74 1, +1, 0, -
trunk/source/particles/hadrons/barions/src/G4XicPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4XicPlus.cc,v 1.1 5 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4XicPlus.cc,v 1.16 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.467 9*GeV, 1.50e-9*MeV, +1.*eplus,72 name, 2.4678*GeV, 1.49e-9*MeV, +1.*eplus, 73 73 1, +1, 0, 74 74 1, +1, 0, -
trunk/source/particles/hadrons/barions/src/G4XicZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4XicZero.cc,v 1. 19 2006/10/12 10:59:45kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4XicZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 2.4710*GeV, 5.9e-9*MeV, 0.0,72 name, 2.47088*GeV, 5.9e-9*MeV, 0.0, 73 73 1, +1, 0, 74 74 1, -1, 0, -
trunk/source/particles/hadrons/ions/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:23gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for ions library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/hadrons/ions/src/G4Alpha.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Alpha.cc,v 1.1 5 2009/02/26 23:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Alpha.cc,v 1.16 2010/10/11 03:33:56 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 "nucleus", 0, +4, 1000020040, 73 73 true, -1.0, NULL, 74 false, "static", 0,74 false, "static", -1000020040, 75 75 0.0 76 76 ); 77 77 78 78 } 79 80 //No Anti particle registered81 anInstance->SetAntiPDGEncoding(0);82 79 83 80 theInstance = reinterpret_cast<G4Alpha*>(anInstance); -
trunk/source/particles/hadrons/ions/src/G4Deuteron.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Deuteron.cc,v 1.1 4 2007/03/11 07:17:35kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Deuteron.cc,v 1.15 2010/10/09 10:36:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 "nucleus", 0, +2, 1000010020, 73 73 true, -1.0, NULL, 74 false, "static",0,74 false, "static", -1000010020, 75 75 0.0 76 76 ); … … 81 81 82 82 } 83 //No Anti particle registered84 anInstance->SetAntiPDGEncoding(0);85 83 86 84 theInstance = reinterpret_cast<G4Deuteron*>(anInstance); -
trunk/source/particles/hadrons/ions/src/G4He3.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4He3.cc,v 1.1 5 2009/02/26 23:34:02 kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4He3.cc,v 1.16 2010/10/09 10:36:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 "nucleus", 0, +3, 1000020030, 73 73 true, -1.0, NULL, 74 false, "static", 0,74 false, "static", -1000020030, 75 75 0.0 76 76 ); … … 81 81 82 82 } 83 //No Anti particle registered84 anInstance->SetAntiPDGEncoding(0);85 83 86 84 theInstance = reinterpret_cast<G4He3*>(anInstance); -
trunk/source/particles/hadrons/ions/src/G4IonConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4IonConstructor.cc,v 1. 4 2006/06/29 19:18:02 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4IonConstructor.cc,v 1.5 2010/10/09 10:36:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 43 43 #include "G4He3.hh" 44 44 #include "G4GenericIon.hh" 45 // AntiNuclei 46 #include "G4AntiAlpha.hh" 47 #include "G4AntiDeuteron.hh" 48 #include "G4AntiTriton.hh" 49 #include "G4AntiHe3.hh" 45 50 46 51 G4IonConstructor::G4IonConstructor() … … 65 70 G4Triton::TritonDefinition(); 66 71 G4He3::He3Definition(); 72 // anti_nuclei 73 G4AntiAlpha::AntiAlphaDefinition(); 74 G4AntiDeuteron::AntiDeuteronDefinition(); 75 G4AntiTriton::AntiTritonDefinition(); 76 G4AntiHe3::AntiHe3Definition(); 67 77 // generic ion 68 78 G4GenericIon::GenericIonDefinition(); -
trunk/source/particles/hadrons/ions/src/G4Triton.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Triton.cc,v 1.1 6 2009/02/26 23:34:02 kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Triton.cc,v 1.17 2010/10/09 10:36:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 "nucleus", 0, +3, 1000010030, 73 73 true, -1.0, NULL, 74 false, "static", 0,74 false, "static", -1000010030, 75 75 0.0 76 76 ); … … 81 81 82 82 } 83 //No Anti particle registered84 anInstance->SetAntiPDGEncoding(0);85 83 86 84 theInstance = reinterpret_cast<G4Triton*>(anInstance); -
trunk/source/particles/hadrons/mesons/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:23gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for mesons library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/hadrons/mesons/src/G4AntiBMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiBMesonZero.cc,v 1.2 1 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiBMesonZero.cc,v 1.22 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 5.2795 3*GeV, 4.331e-10*MeV, 0.,68 name, 5.27950*GeV, 4.316e-10*MeV, 0., 69 69 0, -1, 0, 70 70 1, +1, 0, 71 71 "meson", 0, 0, -511, 72 false, 1.5 30e-3*ns, NULL,72 false, 1.525e-3*ns, NULL, 73 73 false, "B"); 74 74 } -
trunk/source/particles/hadrons/mesons/src/G4AntiBsMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiBsMesonZero.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiBsMesonZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 5.3663*GeV, 4. 65e-10*MeV, 0.,68 name, 5.3663*GeV, 4.47e-10*MeV, 0., 69 69 0, -1, 0, 70 70 0, 0, 0, 71 71 "meson", 0, 0, -531, 72 false, 1.47 0e-3*ns, NULL,72 false, 1.472e-3*ns, NULL, 73 73 false, "Bs"); 74 74 } -
trunk/source/particles/hadrons/mesons/src/G4AntiDMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4AntiDMesonZero.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4AntiDMesonZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 1.8648 4*GeV, 1.616e-9*MeV, 0.,68 name, 1.86483*GeV, 1.605e-9*MeV, 0., 69 69 0, -1, 0, 70 70 1, +1, 0, -
trunk/source/particles/hadrons/mesons/src/G4BMesonMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4BMesonMinus.cc,v 1.1 6 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4BMesonMinus.cc,v 1.17 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 67 67 68 68 anInstance = new G4ParticleDefinition( 69 name, 5.2791 5*GeV, 4.045e-10*MeV, -1.*eplus,69 name, 5.27917*GeV, 4.018e-10*MeV, -1.*eplus, 70 70 0, -1, 0, 71 71 1, -1, 0, -
trunk/source/particles/hadrons/mesons/src/G4BMesonPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4BMesonPlus.cc,v 1.1 6 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4BMesonPlus.cc,v 1.17 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 67 67 68 68 anInstance = new G4ParticleDefinition( 69 name, 5.2791 5*GeV, 4.045e-10*MeV, +1.*eplus,69 name, 5.27917*GeV, 4.018e-10*MeV, +1.*eplus, 70 70 0, -1, 0, 71 71 1, +1, 0, -
trunk/source/particles/hadrons/mesons/src/G4BMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4BMesonZero.cc,v 1.2 1 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4BMesonZero.cc,v 1.22 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 5.2795 3*GeV, 4.331e-10*MeV, 0.,68 name, 5.27950*GeV, 4.316e-10*MeV, 0., 69 69 0, -1, 0, 70 70 1, -1, 0, 71 71 "meson", 0, 0, 511, 72 false, 1.5 30e-3*ns, NULL,72 false, 1.525e-3*ns, NULL, 73 73 false, "B"); 74 74 } -
trunk/source/particles/hadrons/mesons/src/G4BsMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4BsMesonZero.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4BsMesonZero.cc,v 1.20 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 5.3663*GeV, 4. 65e-10*MeV, 0.,68 name, 5.3663*GeV, 4.47e-10*MeV, 0., 69 69 0, -1, 0, 70 70 0, 0, 0, 71 71 "meson", 0, 0, 531, 72 false, 1.47 0e-3*ns, NULL,72 false, 1.472e-3*ns, NULL, 73 73 false, "Bs"); 74 74 } -
trunk/source/particles/hadrons/mesons/src/G4DMesonMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DMesonMinus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DMesonMinus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 67 67 68 68 anInstance = new G4ParticleDefinition( 69 name, 1.8696 2*GeV, 6.37e-10*MeV, -1.*eplus,69 name, 1.86960*GeV, 6.33e-10*MeV, -1.*eplus, 70 70 0, -1, 0, 71 71 1, -1, 0, -
trunk/source/particles/hadrons/mesons/src/G4DMesonPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DMesonPlus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DMesonPlus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 67 67 68 68 anInstance = new G4ParticleDefinition( 69 name, 1.8696 2*GeV, 6.37e-10*MeV, +1.*eplus,69 name, 1.86960*GeV, 6.33e-10*MeV, +1.*eplus, 70 70 0, -1, 0, 71 71 1, +1, 0, -
trunk/source/particles/hadrons/mesons/src/G4DMesonZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DMesonZero.cc,v 1.2 0 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DMesonZero.cc,v 1.21 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 65 65 // shortlived subType anti_encoding 66 66 anInstance = new G4ParticleDefinition( 67 name, 1.8648 4*GeV, 1.616e-9*MeV, 0.,67 name, 1.86483*GeV, 1.605e-9*MeV, 0., 68 68 0, -1, 0, 69 69 1, -1, 0, -
trunk/source/particles/hadrons/mesons/src/G4DsMesonMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DsMesonMinus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DsMesonMinus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 // shortlived subType anti_encoding 67 67 anInstance = new G4ParticleDefinition( 68 name, 1.9684 9*GeV, 1.325e-9*MeV, -1.*eplus,68 name, 1.96847*GeV, 1.317e-9*MeV, -1.*eplus, 69 69 0, -1, 0, 70 70 0, 0, 0, -
trunk/source/particles/hadrons/mesons/src/G4DsMesonPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DsMesonPlus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DsMesonPlus.cc,v 1.15 2010/10/01 02:41:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 // shortlived subType anti_encoding 67 67 anInstance = new G4ParticleDefinition( 68 name, 1.9684 9*GeV, 1.325e-9*MeV, +1.*eplus,68 name, 1.96847*GeV, 1.317e-9*MeV, +1.*eplus, 69 69 0, -1, 0, 70 70 0, 0, 0, -
trunk/source/particles/hadrons/mesons/src/G4EtaPrime.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4EtaPrime.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4EtaPrime.cc,v 1.20 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 71 71 72 72 anInstance = new G4ParticleDefinition( 73 name, 0.95766*GeV, 0.205*MeV, 0.0,73 name, 0.95778*GeV, 0.194*MeV, 0.0, 74 74 0, -1, +1, 75 75 0, 0, +1, -
trunk/source/particles/hadrons/mesons/src/G4JPsi.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4JPsi.cc,v 1.1 8 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4JPsi.cc,v 1.19 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 66 66 67 67 anInstance = new G4ParticleDefinition( 68 name, 3.096916*GeV, 0.09 32*MeV, 0.,68 name, 3.096916*GeV, 0.0929*MeV, 0., 69 69 2, -1, -1, 70 70 0, 0, -1, -
trunk/source/particles/hadrons/mesons/src/G4KaonMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KaonMinus.cc,v 1.1 5 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KaonMinus.cc,v 1.16 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 73 73 anInstance = new G4ParticleDefinition( 74 name, 0.493677*GeV, 5.352e-14*MeV, -1.*eplus,74 name, 0.493677*GeV, 5.317e-14*MeV, -1.*eplus, 75 75 0, -1, 0, 76 76 1, -1, 0, 77 77 "meson", 0, 0, -321, 78 false, 12.3 785*ns, NULL,78 false, 12.380*ns, NULL, 79 79 false, "kaon"); 80 80 … … 85 85 G4VDecayChannel** mode = new G4VDecayChannel*[6]; 86 86 // kaon- -> mu- + anti_nu_mu 87 mode[0] = new G4PhaseSpaceDecayChannel("kaon-",0.63 39,2,"mu-","anti_nu_mu");87 mode[0] = new G4PhaseSpaceDecayChannel("kaon-",0.6355,2,"mu-","anti_nu_mu"); 88 88 // kaon- -> pi- + pi0 89 mode[1] = new G4PhaseSpaceDecayChannel("kaon-",0.2 103,2,"pi-","pi0");89 mode[1] = new G4PhaseSpaceDecayChannel("kaon-",0.2066,2,"pi-","pi0"); 90 90 // kaon- -> pi- + pi+ + pi- 91 91 mode[2] = new G4PhaseSpaceDecayChannel("kaon-",0.0559,3,"pi-","pi+","pi-"); 92 92 // kaon- -> pi- + pi0 + pi0 93 mode[3] = new G4PhaseSpaceDecayChannel("kaon-",0.017 57,3,"pi-","pi0","pi0");93 mode[3] = new G4PhaseSpaceDecayChannel("kaon-",0.01761,3,"pi-","pi0","pi0"); 94 94 // kaon- -> pi0 + e- + anti_nu_e (Ke3) 95 mode[4] = new G4KL3DecayChannel("kaon-",0.0 493,"pi0","e-","anti_nu_e");95 mode[4] = new G4KL3DecayChannel("kaon-",0.0507,"pi0","e-","anti_nu_e"); 96 96 // kaon- -> pi0 + mu- + anti_nu_mu (Kmu3) 97 mode[5] = new G4KL3DecayChannel("kaon-",0.033 0,"pi0","mu-","anti_nu_mu");97 mode[5] = new G4KL3DecayChannel("kaon-",0.0335,"pi0","mu-","anti_nu_mu"); 98 98 99 99 for (G4int index=0; index <6; index++ ) table->Insert(mode[index]); -
trunk/source/particles/hadrons/mesons/src/G4KaonPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KaonPlus.cc,v 1.1 4 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KaonPlus.cc,v 1.15 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 73 73 anInstance = new G4ParticleDefinition( 74 name, 0.493677*GeV, 5.352e-14*MeV, +1.*eplus,74 name, 0.493677*GeV, 5.317e-14*MeV, +1.*eplus, 75 75 0, -1, 0, 76 76 1, +1, 0, 77 77 "meson", 0, 0, 321, 78 false, 12.38 5*ns, NULL,78 false, 12.380*ns, NULL, 79 79 false, "kaon"); 80 80 … … 85 85 G4VDecayChannel** mode = new G4VDecayChannel*[6]; 86 86 // kaon+ -> mu+ + nu_mu 87 mode[0] = new G4PhaseSpaceDecayChannel("kaon+",0.63 39,2,"mu+","nu_mu");87 mode[0] = new G4PhaseSpaceDecayChannel("kaon+",0.6355,2,"mu+","nu_mu"); 88 88 // kaon+ -> pi+ + pi0 89 mode[1] = new G4PhaseSpaceDecayChannel("kaon+",0.2 103,2,"pi+","pi0");89 mode[1] = new G4PhaseSpaceDecayChannel("kaon+",0.2066,2,"pi+","pi0"); 90 90 // kaon+ -> pi+ + pi+ + pi- 91 91 mode[2] = new G4PhaseSpaceDecayChannel("kaon+",0.0559,3,"pi+","pi+","pi-"); 92 92 // kaon+ -> pi+ + pi0 + pi0 93 mode[3] = new G4PhaseSpaceDecayChannel("kaon+",0.017 57,3,"pi+","pi0","pi0");93 mode[3] = new G4PhaseSpaceDecayChannel("kaon+",0.01761,3,"pi+","pi0","pi0"); 94 94 // kaon+ -> pi0 + e+ + nu_e (Ke3) 95 mode[4] = new G4KL3DecayChannel("kaon+",0.0 493,"pi0","e+","nu_e");95 mode[4] = new G4KL3DecayChannel("kaon+",0.0507,"pi0","e+","nu_e"); 96 96 // kaon+ -> pi0 + mu+ + nu_mu (Kmu3) 97 mode[5] = new G4KL3DecayChannel("kaon+",0.033 0,"pi0","mu+","nu_mu");97 mode[5] = new G4KL3DecayChannel("kaon+",0.0335,"pi0","mu+","nu_mu"); 98 98 99 99 for (G4int index=0; index <6; index++ ) table->Insert(mode[index]); -
trunk/source/particles/hadrons/mesons/src/G4KaonZeroLong.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KaonZeroLong.cc,v 1. 19 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KaonZeroLong.cc,v 1.20 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 74 74 75 75 anInstance = new G4ParticleDefinition( 76 name, 0.497614*GeV, 1.2 95e-14*MeV, 0.0,76 name, 0.497614*GeV, 1.287e-14*MeV, 0.0, 77 77 0, -1, 0, 78 78 1, 0, 0, … … 87 87 G4VDecayChannel** mode = new G4VDecayChannel*[6]; 88 88 // kaon0L -> pi0 + pi0 + pi0 89 mode[0] = new G4PhaseSpaceDecayChannel("kaon0L",0.19 83,3,"pi0","pi0","pi0");89 mode[0] = new G4PhaseSpaceDecayChannel("kaon0L",0.1952,3,"pi0","pi0","pi0"); 90 90 // kaon0L -> pi0 + pi+ + pi- 91 mode[1] = new G4PhaseSpaceDecayChannel("kaon0L",0.12 47,3,"pi0","pi+","pi-");91 mode[1] = new G4PhaseSpaceDecayChannel("kaon0L",0.1254,3,"pi0","pi+","pi-"); 92 92 // kaon0L -> pi- + e+ + nu_e (Ke3) 93 mode[2] = new G4KL3DecayChannel("kaon0L",0.202 0,"pi-","e+","nu_e");93 mode[2] = new G4KL3DecayChannel("kaon0L",0.2027,"pi-","e+","nu_e"); 94 94 // kaon0L -> pi+ + e- + anti_nu_e (Ke3) 95 mode[3] = new G4KL3DecayChannel("kaon0L",0.202 0,"pi+","e-","anti_nu_e");95 mode[3] = new G4KL3DecayChannel("kaon0L",0.2027,"pi+","e-","anti_nu_e"); 96 96 // kaon0L -> pi- + mu+ + nu_mu (Kmu3) 97 mode[4] = new G4KL3DecayChannel("kaon0L",0.13 48,"pi-","mu+","nu_mu");97 mode[4] = new G4KL3DecayChannel("kaon0L",0.1352,"pi-","mu+","nu_mu"); 98 98 // kaon0L -> pi+ + mu- + anti_nu_mu (Kmu3) 99 mode[5] = new G4KL3DecayChannel("kaon0L",0.13 48,"pi+","mu-","anti_nu_mu");99 mode[5] = new G4KL3DecayChannel("kaon0L",0.1352,"pi+","mu-","anti_nu_mu"); 100 100 101 101 for (G4int index=0; index <6; index++ ) table->Insert(mode[index]); -
trunk/source/particles/hadrons/mesons/src/G4KaonZeroShort.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KaonZeroShort.cc,v 1.1 8 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KaonZeroShort.cc,v 1.19 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 71 71 72 72 anInstance = new G4ParticleDefinition( 73 name, 0.497614*GeV, 7.3 97e-12*MeV, 0.0,73 name, 0.497614*GeV, 7.352e-12*MeV, 0.0, 74 74 0, -1, 0, 75 75 1, 0, 0, … … 84 84 G4VDecayChannel** mode = new G4VDecayChannel*[2]; 85 85 // kaon0s -> pi+ + pi- 86 mode[0] = new G4PhaseSpaceDecayChannel("kaon0S",0.6 895,2,"pi+","pi-");86 mode[0] = new G4PhaseSpaceDecayChannel("kaon0S",0.6920,2,"pi+","pi-"); 87 87 // kaon0s -> pi0 + pi0 88 mode[1] = new G4PhaseSpaceDecayChannel("kaon0S",0.3 105,2,"pi0","pi0");88 mode[1] = new G4PhaseSpaceDecayChannel("kaon0S",0.3069,2,"pi0","pi0"); 89 89 90 90 for (G4int index=0; index <2; index++ ) table->Insert(mode[index]); -
trunk/source/particles/hadrons/mesons/src/G4PionMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PionMinus.cc,v 1.1 2 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PionMinus.cc,v 1.13 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 0.139570 0*GeV, 2.5452e-14*MeV, -1.*eplus,72 name, 0.1395701*GeV, 2.5284e-14*MeV, -1.*eplus, 73 73 0, -1, 0, 74 74 2, -2, -1, 75 75 "meson", 0, 0, -211, 76 false, 26.03 0*ns, NULL,76 false, 26.033*ns, NULL, 77 77 false, "pi"); 78 78 -
trunk/source/particles/hadrons/mesons/src/G4PionPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PionPlus.cc,v 1.1 3 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PionPlus.cc,v 1.14 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 71 71 anInstance = new G4ParticleDefinition( 72 name, 0.139570 0*GeV, 2.5452e-14*MeV, +1.*eplus,72 name, 0.1395701*GeV, 2.5284e-14*MeV, +1.*eplus, 73 73 0, -1, 0, 74 74 2, +2, -1, 75 75 "meson", 0, 0, 211, 76 false, 26.03 0*ns, NULL,76 false, 26.033*ns, NULL, 77 77 false, "pi"); 78 78 -
trunk/source/particles/hadrons/mesons/src/G4PionZero.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PionZero.cc,v 1.1 7 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PionZero.cc,v 1.18 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 73 73 anInstance = new G4ParticleDefinition( 74 name, 0.1349764*GeV, 7.9e-06*MeV, 0.0,74 name, 0.1349766*GeV, 7.8e-06*MeV, 0.0, 75 75 0, -1, +1, 76 76 2, 0, -1, -
trunk/source/particles/leptons/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:24 gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for leptons library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/leptons/src/G4MuonMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4MuonMinus.cc,v 1.1 5 2008/11/13 08:23:12kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4MuonMinus.cc,v 1.16 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 68 68 // shortlived subType anti_encoding 69 69 anInstance = new G4ParticleDefinition( 70 name, 0.1056584*GeV, 3.01594e-16*MeV, -1.*eplus,71 1, 0, 0,72 0, 0, 0,73 "lepton", 1, 0, 13,74 false, 2197.03*ns, NULL,70 name, 0.105658367*GeV, 2.995912e-16*MeV, -1.*eplus, 71 1, 0, 0, 72 0, 0, 0, 73 "lepton", 1, 0, 13, 74 false, 2197.03*ns, NULL, 75 75 false, "mu" 76 76 ); -
trunk/source/particles/leptons/src/G4MuonPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4MuonPlus.cc,v 1.1 5 2008/11/13 08:23:12kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4MuonPlus.cc,v 1.16 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 68 68 // shortlived subType anti_encoding 69 69 anInstance = new G4ParticleDefinition( 70 name, 0.1056584*GeV, 3.01594e-16*MeV,+1.*eplus,71 1, 0, 0,72 0, 0, 0,73 "lepton", -1, 0,-13,74 false, 2197.03*ns, NULL,70 name, 0.105658367*GeV, 2.995912e-16*MeV, +1.*eplus, 71 1, 0, 0, 72 0, 0, 0, 73 "lepton", -1, 0, -13, 74 false, 2197.03*ns, NULL, 75 75 false, "mu" 76 76 ); -
trunk/source/particles/leptons/src/G4TauMinus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4TauMinus.cc,v 1. 19 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4TauMinus.cc,v 1.20 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 // shortlived subType anti_encoding 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.7768 4*GeV, 2.280e-9*MeV, -1.*eplus,72 name, 1.77682*GeV, 2.265e-9*MeV, -1.*eplus, 73 73 1, 0, 0, 74 74 0, 0, 0, -
trunk/source/particles/leptons/src/G4TauPlus.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4TauPlus.cc,v 1. 19 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4TauPlus.cc,v 1.20 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 70 70 // shortlived subType anti_encoding 71 71 anInstance = new G4ParticleDefinition( 72 name, 1.7768 4*GeV, 2.280e-9*MeV, 1.*eplus,72 name, 1.77682*GeV, 2.265e-9*MeV, 1.*eplus, 73 73 1, 0, 0, 74 74 0, 0, 0, -
trunk/source/particles/management/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 6 2004/06/11 14:25:25gcosmo Exp $1 # $Id: GNUmakefile,v 1.8 2010/10/27 07:47:04 gcosmo Exp $ 2 2 # ---------------------------------------------------------------- 3 3 # GNUmakefile for particle management library. G.Cosmo, 4/4/97. -
trunk/source/particles/management/include/G4DecayProducts.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DecayProducts.hh,v 1.1 2 2006/06/29 19:22:45 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DecayProducts.hh,v 1.14 2010/10/27 07:47:04 gcosmo Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // -
trunk/source/particles/management/include/G4DynamicParticle.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DynamicParticle.hh,v 1.2 0 2010/04/20 00:50:18kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DynamicParticle.hh,v 1.22 2010/08/11 17:14:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 83 83 G4DynamicParticle(); 84 84 85 G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,85 G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 86 86 const G4ThreeVector& aMomentumDirection, 87 87 G4double aKineticEnergy); 88 G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,88 G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 89 89 const G4ThreeVector& aParticleMomentum); 90 G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,90 G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 91 91 const G4LorentzVector &aParticleMomentum); 92 G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,92 G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 93 93 G4double aTotalEnergy, 94 94 const G4ThreeVector &aParticleMomentum); … … 182 182 void RemoveElectron(G4int orbit, G4int number = 1); 183 183 184 185 const G4ParticleDefinition* GetParticleDefinition() const; 186 void SetDefinition(const G4ParticleDefinition * aParticleDefinition); 187 // Set/Get particle definition 188 // following method of GetDefinition remains 189 // because of backward compatiblity. It will be removed in future 184 190 G4ParticleDefinition* GetDefinition() const; 185 void SetDefinition(G4ParticleDefinition * aParticleDefinition); 186 // Set/Get particle definition 187 191 188 192 189 193 const G4DecayProducts *GetPreAssignedDecayProducts() const; … … 209 213 // The normalized momentum vector 210 214 211 G4ParticleDefinition *theParticleDefinition;215 const G4ParticleDefinition *theParticleDefinition; 212 216 // Contains the static information of this particle. 213 217 -
trunk/source/particles/management/include/G4DynamicParticle.icc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DynamicParticle.icc,v 1. 17 2010/04/19 00:23:08 kurasigeExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DynamicParticle.icc,v 1.21 2010/10/27 07:47:05 gcosmo Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 193 193 inline G4ParticleDefinition* G4DynamicParticle::GetDefinition() const 194 194 { 195 return theParticleDefinition; 195 return const_cast<G4ParticleDefinition*>(theParticleDefinition); 196 } 197 198 inline const G4ParticleDefinition* G4DynamicParticle::GetParticleDefinition() const 199 { 200 return const_cast<G4ParticleDefinition*>(theParticleDefinition); 196 201 } 197 202 -
trunk/source/particles/management/include/G4ElectronOccupancy.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ElectronOccupancy.hh,v 1.1 0 2009/10/21 12:50:31 kurasigeExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ElectronOccupancy.hh,v 1.12 2010/10/27 07:47:05 gcosmo Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // -
trunk/source/particles/management/include/G4IonTable.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4IonTable.hh,v 1. 28 2009/09/23 12:13:48kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4IonTable.hh,v 1.31 2010/10/16 06:04:51 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 51 51 #include "globals.hh" 52 52 #include "G4ParticleDefinition.hh" 53 #include "G4ParticleTable Iterator.hh"53 #include "G4ParticleTable.hh" 54 54 #include "G4Ions.hh" 55 55 … … 71 71 public: 72 72 // Use STL map as list of ions 73 typedef std::multimap<G4int, G4ParticleDefinition*> G4IonList;74 typedef std::multimap<G4int, G4ParticleDefinition*>::iterator G4IonListIterator;73 typedef std::multimap<G4int, const G4ParticleDefinition*> G4IonList; 74 typedef std::multimap<G4int, const G4ParticleDefinition*>::iterator G4IonListIterator; 75 75 76 76 public: … … 139 139 static G4bool IsIon(const G4ParticleDefinition*); 140 140 // return true if the particle is ion 141 142 static G4bool IsAntiIon(const G4ParticleDefinition*); 143 // return true if the particle is anti_ion 144 141 145 142 146 const G4String& GetIonName(G4int Z, G4int A, G4double E) const; … … 194 198 // Return 'true' if the ion exists 195 199 196 void Insert( G4ParticleDefinition* particle);197 void Remove( G4ParticleDefinition* particle);200 void Insert(const G4ParticleDefinition* particle); 201 void Remove(const G4ParticleDefinition* particle); 198 202 // Insert/Remove an ion in the table 199 203 … … 218 222 219 223 G4ParticleDefinition* GetLightIon(G4int Z, G4int A) const; 220 221 222 G4bool IsLightIon(G4ParticleDefinition*) const; 224 G4ParticleDefinition* GetLightAntiIon(G4int Z, G4int A) const; 225 226 G4bool IsLightIon(const G4ParticleDefinition*) const; 227 G4bool IsLightAntiIon(const G4ParticleDefinition*) const; 223 228 // return true if the particle is pre-defined ion 224 229 -
trunk/source/particles/management/include/G4KL3DecayChannel.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KL3DecayChannel.hh,v 1. 5 2006/06/29 19:23:33 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KL3DecayChannel.hh,v 1.6 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 90 90 G4double pLambda; 91 91 G4double pXi0; 92 G4double pNormalization;93 92 94 93 public: -
trunk/source/particles/management/include/G4ParticleDefinition.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleDefinition.hh,v 1.3 3 2008/11/14 16:26:30kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleDefinition.hh,v 1.34 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 161 161 162 162 public:// With Description 163 G4DecayTable* GetDecayTable() ;163 G4DecayTable* GetDecayTable() const; 164 164 void SetDecayTable(G4DecayTable* aDecayTable); 165 165 // Set/Get Decay Table … … 172 172 // !! Process Manager can be modified !! 173 173 174 G4ParticleTable* GetParticleTable() ;174 G4ParticleTable* GetParticleTable() const; 175 175 // get pointer to the particle table 176 176 -
trunk/source/particles/management/include/G4ParticleDefinition.icc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleDefinition.icc,v 1.1 4 2009/03/27 20:33:50 gumExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleDefinition.icc,v 1.15 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 31 31 inline 32 G4ParticleTable* G4ParticleDefinition::GetParticleTable() 32 G4ParticleTable* G4ParticleDefinition::GetParticleTable() const 33 33 { 34 34 return theParticleTable; … … 36 36 37 37 inline 38 G4DecayTable* G4ParticleDefinition::GetDecayTable() 38 G4DecayTable* G4ParticleDefinition::GetDecayTable() const 39 39 { 40 40 return theDecayTable; -
trunk/source/particles/management/include/G4ParticleTable.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleTable.hh,v 1.2 1 2008/03/22 06:03:40 kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleTable.hh,v 1.22 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 209 209 G4PTblDicIterator* fIterator; 210 210 G4PTblEncodingDictionary* fEncodingDictionary; 211 G4int DictionaryBucketSize;212 211 213 212 static G4ParticleTable* fgParticleTable; -
trunk/source/particles/management/include/G4PrimaryParticle.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PrimaryParticle.hh,v 1. 4 2006/09/28 14:29:43 kurasigeExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PrimaryParticle.hh,v 1.8 2010/10/27 07:47:05 gcosmo Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 77 77 G4PrimaryParticle(G4int Pcode, 78 78 G4double px,G4double py,G4double pz,G4double E); 79 G4PrimaryParticle( G4ParticleDefinition* Gcode);80 G4PrimaryParticle( G4ParticleDefinition* Gcode,79 G4PrimaryParticle(const G4ParticleDefinition* Gcode); 80 G4PrimaryParticle(const G4ParticleDefinition* Gcode, 81 81 G4double px,G4double py,G4double pz); 82 G4PrimaryParticle( G4ParticleDefinition* Gcode,82 G4PrimaryParticle(const G4ParticleDefinition* Gcode, 83 83 G4double px,G4double py,G4double pz,G4double E); 84 84 ~G4PrimaryParticle(); … … 94 94 private: 95 95 G4int PDGcode; 96 G4ParticleDefinition * G4code;96 const G4ParticleDefinition * G4code; 97 97 G4double Px; 98 98 G4double Py; … … 130 130 { return PDGcode; } 131 131 inline G4ParticleDefinition * GetG4code() const 132 { return const_cast<G4ParticleDefinition*>(G4code); } 133 inline const G4ParticleDefinition * GetParticleDefinition() const 132 134 { return G4code; } 133 135 inline G4ThreeVector GetMomentum() const … … 162 164 // Followings are available Set methods. 163 165 void SetPDGcode(G4int Pcode); 164 void SetG4code(G4ParticleDefinition * Gcode); 166 void SetG4code(const G4ParticleDefinition * Gcode); 167 void SetParticleDefinition(const G4ParticleDefinition * pdef); 165 168 inline void SetMomentum(G4double px, G4double py, G4double pz) 166 169 { -
trunk/source/particles/management/include/G4PrimaryVertex.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PrimaryVertex.hh,v 1. 4 2006/07/20 15:14:43gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PrimaryVertex.hh,v 1.6 2010/10/27 07:47:05 gcosmo Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // -
trunk/source/particles/management/include/G4ShortLivedTable.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ShortLivedTable.hh,v 1.1 3 2008/03/20 02:23:31kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ShortLivedTable.hh,v 1.14 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 58 58 public: 59 59 // Use STL Vector as list of shortlives 60 typedef std::vector< G4ParticleDefinition*> G4ShortLivedList;60 typedef std::vector<const G4ParticleDefinition*> G4ShortLivedList; 61 61 62 62 public: … … 69 69 virtual ~G4ShortLivedTable(); 70 70 71 G4bool IsShortLived( G4ParticleDefinition*) const;71 G4bool IsShortLived(const G4ParticleDefinition*) const; 72 72 // return true if the particle is shortlived particle 73 73 … … 81 81 // return true if the list contains the specified particle 82 82 83 void Insert( G4ParticleDefinition* particle);83 void Insert(const G4ParticleDefinition* particle); 84 84 // add the particle in the list 85 85 86 void Remove( G4ParticleDefinition* particle);86 void Remove(const G4ParticleDefinition* particle); 87 87 // remove the particle (not delete) from the list 88 88 … … 132 132 { 133 133 if ( (index >=0 ) && (index < Entries()) ) { 134 return (*fShortLivedList)[index];134 return const_cast<G4ParticleDefinition*>( (*fShortLivedList)[index] ); 135 135 } else { 136 136 return 0; -
trunk/source/particles/management/include/G4VDecayChannel.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4VDecayChannel.hh,v 1.1 2 2006/06/29 19:24:50 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4VDecayChannel.hh,v 1.13 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 87 87 public: // With Description 88 88 //get kinematics name 89 G4StringGetKinematicsName() const;89 const G4String& GetKinematicsName() const; 90 90 //get branching ratio 91 91 G4double GetBR() const; … … 261 261 262 262 inline 263 G4StringG4VDecayChannel::GetKinematicsName() const { return kinematics_name; }263 const G4String& G4VDecayChannel::GetKinematicsName() const { return kinematics_name; } 264 264 265 265 inline -
trunk/source/particles/management/src/G4DecayProducts.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DecayProducts.cc,v 1.1 8 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DecayProducts.cc,v 1.19 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 51 51 :numberOfProducts(0),theParentParticle(0) 52 52 { 53 53 //clear theProductVector 54 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 55 theProductVector[i]=0; 56 } 54 57 } 55 58 56 59 G4DecayProducts::G4DecayProducts(const G4DynamicParticle &aParticle) 57 :numberOfProducts(0),theParentParticle(0)60 :numberOfProducts(0),theParentParticle(0) 58 61 { 59 62 theParentParticle = new G4DynamicParticle(aParticle); 63 //clear theProductVector 64 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 65 theProductVector[i]=0; 66 } 60 67 } 61 68 … … 63 70 :numberOfProducts(0) 64 71 { 72 //clear theProductVector 73 for (size_t i=0;i<MaxNumberOfProducts; i+=1){ 74 theProductVector[i]=0; 75 } 76 65 77 // copy parent (Deep Copy) 66 78 theParentParticle = new G4DynamicParticle(*right.theParentParticle); -
trunk/source/particles/management/src/G4DynamicParticle.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4DynamicParticle.cc,v 1. 29 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4DynamicParticle.cc,v 1.30 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 94 94 // -- constructors ---- 95 95 //////////////////// 96 G4DynamicParticle::G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,96 G4DynamicParticle::G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 97 97 const G4ThreeVector& aMomentumDirection, 98 98 G4double aKineticEnergy): … … 113 113 114 114 //////////////////// 115 G4DynamicParticle::G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,115 G4DynamicParticle::G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 116 116 const G4ThreeVector& aParticleMomentum): 117 117 theParticleDefinition(aParticleDefinition), … … 134 134 135 135 //////////////////// 136 G4DynamicParticle::G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,136 G4DynamicParticle::G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 137 137 const G4LorentzVector &aParticleMomentum): 138 138 theParticleDefinition(aParticleDefinition), … … 154 154 } 155 155 156 G4DynamicParticle::G4DynamicParticle( G4ParticleDefinition * aParticleDefinition,156 G4DynamicParticle::G4DynamicParticle(const G4ParticleDefinition * aParticleDefinition, 157 157 G4double totalEnergy, 158 158 const G4ThreeVector &aParticleMomentum): … … 267 267 268 268 //////////////////// 269 void G4DynamicParticle::SetDefinition( G4ParticleDefinition * aParticleDefinition)269 void G4DynamicParticle::SetDefinition(const G4ParticleDefinition * aParticleDefinition) 270 270 { 271 271 // remove preassigned decay … … 318 318 void G4DynamicParticle::AllocateElectronOccupancy() 319 319 { 320 G4ParticleDefinition* particle = GetDefinition();320 const G4ParticleDefinition* particle = GetDefinition(); 321 321 322 322 if (G4IonTable::IsIon(particle)) { -
trunk/source/particles/management/src/G4IonTable.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4IonTable.cc,v 1.6 1 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4IonTable.cc,v 1.65 2010/10/16 06:04:51 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 367 367 // Search ions with A, Z ,E 368 368 // !! J is omitted now !! 369 G4ParticleDefinition* ion=0;369 const G4ParticleDefinition* ion=0; 370 370 G4bool isFound = false; 371 371 … … 386 386 387 387 if ( isFound ){ 388 return ion;388 return const_cast<G4ParticleDefinition*>(ion); 389 389 } else { 390 390 return 0; … … 414 414 // Search ions with A, Z ,E 415 415 // !! J is omitted now !! 416 G4ParticleDefinition* ion=0;416 const G4ParticleDefinition* ion=0; 417 417 G4bool isFound = false; 418 418 … … 435 435 436 436 if ( isFound ){ 437 return ion;437 return const_cast<G4ParticleDefinition*>(ion); 438 438 } else { 439 439 return 0; … … 599 599 600 600 // neutron is not ion 601 if ((particle->GetAtomicMass() >0) && (particle->GetAtomicNumber()>0)) return true; 601 if ((particle->GetAtomicMass()>0) && 602 (particle->GetAtomicNumber()>0) ){ 603 if (particle->GetBaryonNumber()>0) return true; 604 else return false; 605 } 606 602 607 603 // particles derived from G4 VIon and G4Ions608 // particles derived from G4Ions 604 609 if (particle->GetParticleType() == nucleus) return true; 605 610 … … 611 616 612 617 ///////////////// 618 G4bool G4IonTable::IsAntiIon(const G4ParticleDefinition* particle) 619 { 620 // return true if the particle is ion 621 622 static G4String anti_nucleus("anti_nucleus"); 623 static G4String anti_proton("anti_proton"); 624 625 // anti_neutron is not ion 626 if ((particle->GetAtomicMass()>0) && 627 (particle->GetAtomicNumber()>0) ){ 628 if (particle->GetBaryonNumber()<0) return true; 629 else return false; 630 } 631 632 // particles derived from G4Ions 633 if (particle->GetParticleType() == anti_nucleus) return true; 634 635 // anti_proton (Anti_Hydrogen nucleus) 636 if (particle->GetParticleName() == anti_proton) return true; 637 638 return false; 639 } 640 641 ///////////////// 613 642 #include <algorithm> 614 643 615 G4bool G4IonTable::IsLightIon( G4ParticleDefinition* particle) const616 { 617 static const std::string names[] = { "proton", " neutron", "alpha", "deuteron",618 "triton", "He3" , "GenericIon"};644 G4bool G4IonTable::IsLightIon(const G4ParticleDefinition* particle) const 645 { 646 static const std::string names[] = { "proton", "alpha", "deuteron", 647 "triton", "He3"}; 619 648 620 649 // return true if the particle is pre-defined ion 621 return std::find(names, names+7, particle->GetParticleName())!=names+7; 650 return std::find(names, names+5, particle->GetParticleName())!=names+5; 651 } 652 653 G4bool G4IonTable::IsLightAntiIon(const G4ParticleDefinition* particle) const 654 { 655 static const std::string names[] = { "anti_proton", "anti_alpha", "anti_deuteron", 656 "anti_triton", "anti_He3"}; 657 658 // return true if the particle is pre-defined ion 659 return std::find(names, names+5, particle->GetParticleName())!=names+5; 622 660 } 623 661 … … 627 665 // returns pointer to pre-defined ions 628 666 static G4bool isInitialized = false; 629 static G4ParticleDefinition* p_proton=0; 630 static G4ParticleDefinition* p_neutron=0; 631 static G4ParticleDefinition* p_deuteron=0; 632 static G4ParticleDefinition* p_triton=0; 633 static G4ParticleDefinition* p_alpha=0; 634 static G4ParticleDefinition* p_He3=0; 667 static const G4ParticleDefinition* p_proton=0; 668 static const G4ParticleDefinition* p_deuteron=0; 669 static const G4ParticleDefinition* p_triton=0; 670 static const G4ParticleDefinition* p_alpha=0; 671 static const G4ParticleDefinition* p_He3=0; 635 672 636 673 if (!isInitialized) { 637 674 p_proton = G4ParticleTable::GetParticleTable()->FindParticle("proton"); // proton 638 p_neutron = G4ParticleTable::GetParticleTable()->FindParticle("neutron"); // neutron639 675 p_deuteron = G4ParticleTable::GetParticleTable()->FindParticle("deuteron"); // deuteron 640 676 p_triton = G4ParticleTable::GetParticleTable()->FindParticle("triton"); // tritoon … … 644 680 } 645 681 646 G4ParticleDefinition* ion=0;682 const G4ParticleDefinition* ion=0; 647 683 if ( (Z<=2) ) { 648 684 if ( (Z==1)&&(A==1) ) { 649 685 ion = p_proton; 650 } else if ( (Z==0)&&(A==1) ) {651 ion = p_neutron;652 686 } else if ( (Z==1)&&(A==2) ) { 653 687 ion = p_deuteron; … … 660 694 } 661 695 } 662 return ion; 663 } 696 return const_cast<G4ParticleDefinition*>(ion); 697 } 698 699 ///////////////// 700 G4ParticleDefinition* G4IonTable::GetLightAntiIon(G4int Z, G4int A) const 701 { 702 // returns pointer to pre-defined ions 703 static G4bool isInitialized = false; 704 static const G4ParticleDefinition* p_proton=0; 705 static const G4ParticleDefinition* p_deuteron=0; 706 static const G4ParticleDefinition* p_triton=0; 707 static const G4ParticleDefinition* p_alpha=0; 708 static const G4ParticleDefinition* p_He3=0; 709 710 if (!isInitialized) { 711 p_proton = G4ParticleTable::GetParticleTable()->FindParticle("anti_proton"); // proton 712 p_deuteron = G4ParticleTable::GetParticleTable()->FindParticle("anti_deuteron"); // deuteron 713 p_triton = G4ParticleTable::GetParticleTable()->FindParticle("anti_triton"); // tritoon 714 p_alpha = G4ParticleTable::GetParticleTable()->FindParticle("anti_alpha"); // alpha 715 p_He3 = G4ParticleTable::GetParticleTable()->FindParticle("anti_He3"); // He3 716 isInitialized = true; 717 } 718 719 const G4ParticleDefinition* ion=0; 720 if ( (Z<=2) ) { 721 if ( (Z==1)&&(A==1) ) { 722 ion = p_proton; 723 } else if ( (Z==1)&&(A==2) ) { 724 ion = p_deuteron; 725 } else if ( (Z==1)&&(A==3) ) { 726 ion = p_triton; 727 } else if ( (Z==2)&&(A==4) ) { 728 ion = p_alpha; 729 } else if ( (Z==2)&&(A==3) ) { 730 ion = p_He3; 731 } 732 } 733 return const_cast<G4ParticleDefinition*>(ion); 734 } 735 664 736 665 737 ///////////////// … … 683 755 if (L == 0) { 684 756 // calculate nucleus mass 685 G4ParticleDefinition* ion=GetLightIon(Z, A);757 const G4ParticleDefinition* ion=GetLightIon(Z, A); 686 758 687 759 if (ion!=0) { … … 708 780 // -- Methods for handling conatiner --- 709 781 ///////////////// 710 void G4IonTable::Insert( G4ParticleDefinition* particle)782 void G4IonTable::Insert(const G4ParticleDefinition* particle) 711 783 { 712 784 if (!IsIon(particle)) return; … … 718 790 G4int encoding=GetNucleusEncoding(Z, A, L); 719 791 720 fIonList->insert( std::pair< G4int,G4ParticleDefinition*>(encoding, particle) );721 722 } 723 724 ///////////////// 725 void G4IonTable::Remove( G4ParticleDefinition* particle)792 fIonList->insert( std::pair<const G4int, const G4ParticleDefinition*>(encoding, particle) ); 793 794 } 795 796 ///////////////// 797 void G4IonTable::Remove(const G4ParticleDefinition* particle) 726 798 { 727 799 if (IsIon(particle)) { … … 757 829 void G4IonTable::DumpTable(const G4String &particle_name) const 758 830 { 759 G4ParticleDefinition* ion;831 const G4ParticleDefinition* ion; 760 832 G4IonList::iterator idx; 761 833 for (idx = fIonList->begin(); idx!= fIonList->end(); ++idx) { … … 905 977 G4int counter = 0; 906 978 while( idx != fIonList->end() ){ 907 if ( counter == index ) return idx->second; 979 if ( counter == index ) { 980 return const_cast<G4ParticleDefinition*>(idx->second); 981 } 908 982 counter++; 909 983 idx++; -
trunk/source/particles/management/src/G4Ions.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4Ions.cc,v 1.1 6 2009/08/06 15:53:42 kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4Ions.cc,v 1.17 2010/10/09 10:36:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 67 67 68 68 if (GetAtomicNumber() == 0 ) { 69 SetAtomicNumber( G4int(GetPDGCharge()/eplus) ); 70 SetAtomicMass( GetBaryonNumber() ); 69 // AtomicNumber/Mass is positve even for anti_nulceus 70 SetAtomicNumber( abs(G4int(GetPDGCharge()/eplus)) ); 71 SetAtomicMass( abs(GetBaryonNumber()) ); 71 72 } 72 73 } -
trunk/source/particles/management/src/G4KL3DecayChannel.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4KL3DecayChannel.cc,v 1. 9 2009/08/17 14:52:19kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4KL3DecayChannel.cc,v 1.10 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 62 62 static const G4String E_plus("e+"); 63 63 static const G4String E_minus("e-"); 64 64 65 massK = 0.0; 66 daughterM[idPi] = 0.0; 67 daughterM[idLepton] = 0.0; 68 daughterM[idNutrino] = 0.0; 69 65 70 // check modes 66 71 if ( ((theParentName == K_plus)&&(theLeptonName == E_plus)) || -
trunk/source/particles/management/src/G4MuonDecayChannelWithSpin.cc
r824 r1340 43 43 44 44 #include "Randomize.hh" 45 45 46 #include "G4DecayProducts.hh" 46 47 #include "G4LorentzVector.hh" … … 50 51 : G4MuonDecayChannel(theParentName,theBR) 51 52 { 53 EMMU = 0.*MeV; 54 EMASS = 0.*MeV; 52 55 } 53 56 -
trunk/source/particles/management/src/G4MuonRadiativeDecayChannelWithSpin.cc
r1337 r1340 74 74 #endif 75 75 } 76 EMMU = 0.*MeV; 77 EMASS = 0.*MeV; 76 78 } 77 79 -
trunk/source/particles/management/src/G4NucleiProperties.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4NucleiProperties.cc,v 1.2 2 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4NucleiProperties.cc,v 1.23 2010/08/10 15:47:42 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 72 72 { 73 73 if (mass_proton <= 0.0 ) { 74 G4ParticleDefinition * nucleus = 0;74 const G4ParticleDefinition * nucleus = 0; 75 75 nucleus = G4ParticleTable::GetParticleTable()->FindParticle("proton"); // proton 76 76 if (nucleus!=0) mass_proton = nucleus->GetPDGMass(); -
trunk/source/particles/management/src/G4NucleiPropertiesTableAME03.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4NucleiPropertiesTableAME03.cc,v 1. 3 2009/05/02 11:58:17kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4NucleiPropertiesTableAME03.cc,v 1.4 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // ------------------------------------------------------------------- … … 64 64 "Illegal arguemnt", 65 65 EventMustBeAborted,"Nucleon number larger than 293!"); 66 return -1; 66 67 } else if(A<1) { 67 68 G4Exception("G4NucleiPropertiesTableAME03::GetIndex", 68 69 "Illegal arguemnt", 69 70 EventMustBeAborted," Nucleon number is negative!"); 71 return -1; 70 72 } else if(Z>A) { 71 73 G4Exception("G4NucleiPropertiesTableAME03::GetIndex", 72 74 "Illegal arguemnt", 73 75 EventMustBeAborted, "Nucleon number smaller than Z!"); 76 return -1; 74 77 } 75 78 -
trunk/source/particles/management/src/G4PDGCodeChecker.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PDGCodeChecker.cc,v 1.1 2 2009/04/02 02:24:53kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PDGCodeChecker.cc,v 1.15 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 43 43 ///////////// 44 44 G4PDGCodeChecker::G4PDGCodeChecker() 45 { 46 code = 0; 45 :code(0),theParticleType(""), 46 thePDGiSpin(0),higherSpin(0), 47 exotic(0),radial(0),multiplet(0), 48 quark1(0),quark2(0),quark3(0),spin(0) 49 { 47 50 verboseLevel = 1; 48 }49 50 /////////////51 G4int G4PDGCodeChecker::CheckPDGCode( G4int PDGcode,52 G4String particleType)53 {54 code = PDGcode;55 theParticleType = particleType;56 57 51 // clear QuarkContents 58 52 G4int flavor; … … 61 55 theAntiQuarkContent[flavor] =0; 62 56 } 57 } 58 59 ///////////// 60 G4int G4PDGCodeChecker::CheckPDGCode( G4int PDGcode, 61 G4String particleType) 62 { 63 code = PDGcode; 64 theParticleType = particleType; 65 66 // clear QuarkContents 67 G4int flavor; 68 for (flavor=0; flavor<NumberOfQuarkFlavor; flavor++){ 69 theQuarkContent[flavor] =0; 70 theAntiQuarkContent[flavor] =0; 71 } 63 72 64 73 // check code for nuclei 65 if ( theParticleType == "nucleus"){74 if ((theParticleType == "nucleus")||(theParticleType == "anti_nucleus")) { 66 75 return CheckForNuclei(); 67 76 } … … 359 368 G4int G4PDGCodeChecker::CheckForNuclei() 360 369 { 361 G4int pcode = code;370 G4int pcode = abs(code); 362 371 if (pcode < 1000000000) { 363 // anti particle372 // non-nuclei 364 373 return 0; 365 374 } … … 388 397 389 398 // Fill Quark contents 390 theQuarkContent[0] = n_up; 391 theQuarkContent[1] = n_down; 392 theQuarkContent[2] = n_s; 393 399 if (code>0) { 400 theQuarkContent[0] = n_up; 401 theQuarkContent[1] = n_down; 402 theQuarkContent[2] = n_s; 403 } else { 404 // anti_nucleus 405 theAntiQuarkContent[0] = n_up; 406 theAntiQuarkContent[1] = n_down; 407 theAntiQuarkContent[2] = n_s; 408 } 394 409 return code; 395 410 } -
trunk/source/particles/management/src/G4ParticleDefinition.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleDefinition.cc,v 1.3 6 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleDefinition.cc,v 1.37 2010/10/11 03:33:56 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 151 151 } 152 152 153 if (theParticleTable->GetIonTable()->IsAntiIon(this)) { 154 SetAtomicNumber( abs(G4int(GetPDGCharge()/eplus)) ); 155 SetAtomicMass( abs(GetBaryonNumber()) ); 156 } 153 157 154 158 // check name and register this particle into ParticleTable … … 284 288 G4cout << " [" << theParticleSubType << "]" << G4endl; 285 289 290 if ( (theParticleTable->GetIonTable()->IsIon(this)) 291 || (theParticleTable->GetIonTable()->IsAntiIon(this)) ) { 292 G4cout << " Atomic Number : " << GetAtomicNumber(); 293 G4cout << " Atomic Mass : " << GetAtomicMass() << G4endl; 294 } 286 295 if ( fShortLivedFlag ){ 287 296 G4cout << " ShortLived : ON" << G4endl; … … 316 325 } 317 326 } 318 319 320 321 322 323 324 325 326 327 328 329 330 -
trunk/source/particles/management/src/G4ParticlePropertyData.cc
r1196 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4ParticlePropertyData.cc,v 1. 4 2009/08/17 14:52:19kurasige Exp $26 // $Id: G4ParticlePropertyData.cc,v 1.5 2010/10/30 07:55:00 kurasige Exp $ 27 27 // 28 28 // class G4ParticlePropertyData … … 61 61 thePDGEncoding(0), 62 62 theAntiPDGEncoding(0), 63 thePDGLifeTime(-1.0), 63 64 fPDGMassModified(false), 64 65 fPDGWidthModified(false), -
trunk/source/particles/management/src/G4ParticleTable.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ParticleTable.cc,v 1.3 6 2010/05/20 01:01:07kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ParticleTable.cc,v 1.37 2010/10/30 07:55:00 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // class G4ParticleTable … … 116 116 //////////////////// 117 117 G4ParticleTable::G4ParticleTable(const G4ParticleTable &right) 118 :verboseLevel(1),fParticleMessenger(0), 119 noName(" "), 120 readyToUse(false) 118 121 { 119 122 G4Exception("G4ParticleTable::G4ParticleTable()", -
trunk/source/particles/management/src/G4PrimaryParticle.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PrimaryParticle.cc,v 1. 5 2007/10/06 06:49:29kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PrimaryParticle.cc,v 1.7 2010/08/11 17:14:02 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 … … 74 74 } 75 75 76 G4PrimaryParticle::G4PrimaryParticle( G4ParticleDefinition* Gcode)76 G4PrimaryParticle::G4PrimaryParticle(const G4ParticleDefinition* Gcode) 77 77 :G4code(Gcode),Px(0.),Py(0.),Pz(0.), 78 78 nextParticle(0),daughterParticle(0),trackID(-1), … … 81 81 { PDGcode = Gcode->GetPDGEncoding(); } 82 82 83 G4PrimaryParticle::G4PrimaryParticle( G4ParticleDefinition* Gcode,83 G4PrimaryParticle::G4PrimaryParticle(const G4ParticleDefinition* Gcode, 84 84 G4double px,G4double py,G4double pz) 85 85 :G4code(Gcode),Px(px),Py(py),Pz(pz), … … 89 89 { PDGcode = Gcode->GetPDGEncoding(); } 90 90 91 G4PrimaryParticle::G4PrimaryParticle( G4ParticleDefinition* Gcode,91 G4PrimaryParticle::G4PrimaryParticle(const G4ParticleDefinition* Gcode, 92 92 G4double px,G4double py,G4double pz,G4double E) 93 93 :G4code(Gcode),Px(px),Py(py),Pz(pz), … … 120 120 } 121 121 122 void G4PrimaryParticle::SetG4code(G4ParticleDefinition* Gcode) 122 void G4PrimaryParticle::SetG4code(const G4ParticleDefinition* Gcode) 123 { 124 SetParticleDefinition(Gcode); 125 } 126 127 void G4PrimaryParticle::SetParticleDefinition(const G4ParticleDefinition* Gcode) 123 128 { 124 129 G4code = Gcode; -
trunk/source/particles/management/src/G4ShortLivedTable.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ShortLivedTable.cc,v 1.1 7 2009/08/17 14:52:19kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ShortLivedTable.cc,v 1.18 2010/08/10 15:47:43 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 64 64 } 65 65 66 G4bool G4ShortLivedTable::IsShortLived( G4ParticleDefinition* particle) const66 G4bool G4ShortLivedTable::IsShortLived(const G4ParticleDefinition* particle) const 67 67 { 68 68 return particle->IsShortLived(); 69 69 } 70 70 71 void G4ShortLivedTable::Insert( G4ParticleDefinition* particle)71 void G4ShortLivedTable::Insert(const G4ParticleDefinition* particle) 72 72 { 73 73 if (IsShortLived(particle)) { … … 76 76 } 77 77 78 void G4ShortLivedTable::Remove( G4ParticleDefinition* particle)78 void G4ShortLivedTable::Remove(const G4ParticleDefinition* particle) 79 79 { 80 80 if (IsShortLived(particle)) { … … 99 99 void G4ShortLivedTable::DumpTable(const G4String &particle_name) const 100 100 { 101 G4ParticleDefinition* particle;101 const G4ParticleDefinition* particle; 102 102 103 103 G4ShortLivedList::iterator idx; -
trunk/source/particles/shortlived/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:29gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:05 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for shortlived library. Gabriele Cosmo, 18/9/96. -
trunk/source/particles/shortlived/include/G4ExcitedBaryonConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedBaryonConstructor.hh,v 1. 6 2006/06/29 19:26:28 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedBaryonConstructor.hh,v 1.7 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 78 78 virtual G4String GetName(G4int, G4int )=0; 79 79 virtual G4String GetMultipletName(G4int)=0; 80 virtual G4double GetMass( G4int )=0;81 virtual G4double GetWidth( G4int )=0;80 virtual G4double GetMass( G4int state, G4int iso)=0; 81 virtual G4double GetWidth( G4int state, G4int iso)=0; 82 82 virtual G4int GetiSpin( G4int )=0; 83 83 virtual G4int GetiParity( G4int )=0; -
trunk/source/particles/shortlived/include/G4ExcitedDeltaConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedDeltaConstructor.hh,v 1. 6 2006/06/29 19:26:32 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedDeltaConstructor.hh,v 1.7 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 61 61 virtual G4String GetMultipletName(G4int iState); 62 62 63 virtual G4double GetMass( G4int iState);64 virtual G4double GetWidth( G4int iState);63 virtual G4double GetMass( G4int state, G4int iso); 64 virtual G4double GetWidth( G4int state, G4int iso); 65 65 virtual G4int GetiSpin(G4int iState); 66 66 virtual G4int GetiParity(G4int iState); … … 104 104 105 105 inline 106 G4double G4ExcitedDeltaConstructor::GetMass(G4int iState )106 G4double G4ExcitedDeltaConstructor::GetMass(G4int iState, G4int) 107 107 { 108 108 return mass[iState]; … … 110 110 111 111 inline 112 G4double G4ExcitedDeltaConstructor::GetWidth(G4int iState )112 G4double G4ExcitedDeltaConstructor::GetWidth(G4int iState, G4int) 113 113 { 114 114 return width[iState]; -
trunk/source/particles/shortlived/include/G4ExcitedLambdaConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedLambdaConstructor.hh,v 1. 8 2006/06/29 19:26:34 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedLambdaConstructor.hh,v 1.9 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 57 57 virtual G4String GetName(G4int iIso3, G4int iState); 58 58 virtual G4String GetMultipletName(G4int iState); 59 virtual G4double GetMass( G4int iState);60 virtual G4double GetWidth( G4int iState);59 virtual G4double GetMass( G4int state, G4int iso); 60 virtual G4double GetWidth( G4int state, G4int iso); 61 61 virtual G4int GetiSpin(G4int iState); 62 62 virtual G4int GetiParity(G4int iState); … … 105 105 106 106 inline 107 G4double G4ExcitedLambdaConstructor::GetMass(G4int iState )107 G4double G4ExcitedLambdaConstructor::GetMass(G4int iState, G4int) 108 108 { 109 109 return mass[iState]; … … 111 111 112 112 inline 113 G4double G4ExcitedLambdaConstructor::GetWidth(G4int iState )113 G4double G4ExcitedLambdaConstructor::GetWidth(G4int iState, G4int) 114 114 { 115 115 return width[iState]; -
trunk/source/particles/shortlived/include/G4ExcitedMesonConstructor.hh
r1337 r1340 31 31 // and all its terms. 32 32 // 33 // $Id: G4ExcitedMesonConstructor.hh,v 1. 8 2006/06/29 19:26:36 gunterExp $34 // GEANT4 tag $Name: geant4-09-04-beta-01$33 // $Id: G4ExcitedMesonConstructor.hh,v 1.9 2010/10/01 02:41:44 kurasige Exp $ 34 // GEANT4 tag $Name: particles-V09-03-15 $ 35 35 // 36 36 // -
trunk/source/particles/shortlived/include/G4ExcitedNucleonConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedNucleonConstructor.hh,v 1. 6 2006/06/29 19:26:40 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedNucleonConstructor.hh,v 1.7 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 60 60 virtual G4String GetName(G4int iIso3, G4int iState); 61 61 virtual G4String GetMultipletName(G4int iState); 62 virtual G4double GetMass( G4int iState);63 virtual G4double GetWidth( G4int iState);62 virtual G4double GetMass( G4int state, G4int iso); 63 virtual G4double GetWidth( G4int state, G4int iso); 64 64 virtual G4int GetiSpin(G4int iState); 65 65 virtual G4int GetiParity(G4int iState); … … 112 112 113 113 inline 114 G4double G4ExcitedNucleonConstructor::GetMass(G4int iState )114 G4double G4ExcitedNucleonConstructor::GetMass(G4int iState, G4int) 115 115 { 116 116 return mass[iState]; … … 118 118 119 119 inline 120 G4double G4ExcitedNucleonConstructor::GetWidth(G4int iState )120 G4double G4ExcitedNucleonConstructor::GetWidth(G4int iState, G4int) 121 121 { 122 122 return width[iState]; -
trunk/source/particles/shortlived/include/G4ExcitedSigmaConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedSigmaConstructor.hh,v 1. 6 2006/06/29 19:26:42 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedSigmaConstructor.hh,v 1.7 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 57 57 virtual G4String GetName(G4int iIso3, G4int iState); 58 58 virtual G4String GetMultipletName(G4int iState); 59 60 virtual G4double GetMass(G4int iState); 61 virtual G4double GetWidth(G4int iState); 59 virtual G4double GetMass( G4int state, G4int iso); 60 virtual G4double GetWidth( G4int state, G4int iso); 62 61 virtual G4int GetiSpin(G4int iState); 63 62 virtual G4int GetiParity(G4int iState); … … 107 106 }; 108 107 109 inline110 G4double G4ExcitedSigmaConstructor::GetMass(G4int iState)111 {112 return mass[iState];113 }114 108 115 inline116 G4double G4ExcitedSigmaConstructor::GetWidth(G4int iState)117 {118 return width[iState];119 }120 109 121 110 inline -
trunk/source/particles/shortlived/include/G4ExcitedXiConstructor.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedXiConstructor.hh,v 1. 6 2006/06/29 19:26:44 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedXiConstructor.hh,v 1.7 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 57 57 virtual G4String GetName(G4int iIso3, G4int iState); 58 58 virtual G4String GetMultipletName(G4int iState); 59 60 virtual G4double GetMass(G4int iState); 61 virtual G4double GetWidth(G4int iState); 59 virtual G4double GetMass( G4int state, G4int iso); 60 virtual G4double GetWidth( G4int state, G4int iso); 62 61 virtual G4int GetiSpin(G4int iState); 63 62 virtual G4int GetiParity(G4int iState); … … 98 97 }; 99 98 100 inline101 G4double G4ExcitedXiConstructor::GetMass(G4int iState)102 {103 return mass[iState];104 }105 106 inline107 G4double G4ExcitedXiConstructor::GetWidth(G4int iState)108 {109 return width[iState];110 }111 99 112 100 inline -
trunk/source/particles/shortlived/src/G4ExcitedBaryonConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedBaryonConstructor.cc,v 1. 7 2006/06/29 19:26:56 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedBaryonConstructor.cc,v 1.8 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 101 101 102 102 particle = new G4ExcitedBaryons( 103 name, GetMass(idx), GetWidth(idx),GetCharge(iIso3),103 name, GetMass(idx,iIso3), GetWidth(idx,iIso3), GetCharge(iIso3), 104 104 GetiSpin(idx), GetiParity(idx), iConjugation, 105 105 iIsoSpin, iIso3, iGParity, … … 133 133 134 134 particle = new G4ExcitedBaryons( 135 name, GetMass(idx), GetWidth(idx),-1.0*GetCharge(iIso3),135 name, GetMass(idx,iIso3), GetWidth(idx,iIso3), -1.0*GetCharge(iIso3), 136 136 GetiSpin(idx), GetiParity(idx), iConjugation, 137 137 iIsoSpin, -1*iIso3, iGParity, -
trunk/source/particles/shortlived/src/G4ExcitedDeltaConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedDeltaConstructor.cc,v 1.1 2 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedDeltaConstructor.cc,v 1.13 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 482 482 const G4double G4ExcitedDeltaConstructor::width[] = { 483 483 350.0*MeV, 145.0*MeV, 300.0*MeV, 200.0*MeV, 330.0*MeV, 484 250.0*MeV, 200.0*MeV, 360.0*MeV, 2 90.0*MeV484 250.0*MeV, 200.0*MeV, 360.0*MeV, 280.0*MeV 485 485 }; 486 486 -
trunk/source/particles/shortlived/src/G4ExcitedLambdaConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedLambdaConstructor.cc,v 1.1 2 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedLambdaConstructor.cc,v 1.13 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 357 357 358 358 const G4double G4ExcitedLambdaConstructor::mass[] = { 359 1.40 6*GeV,1.5195*GeV, 1.600*GeV, 1.670*GeV, 1.690*GeV,359 1.407*GeV,1.5195*GeV, 1.600*GeV, 1.670*GeV, 1.690*GeV, 360 360 1.800*GeV, 1.810*GeV, 1.820*GeV, 1.830*GeV, 1.890*GeV, 361 361 2.100*GeV, 2.110*GeV -
trunk/source/particles/shortlived/src/G4ExcitedMesonConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedMesonConstructor.cc,v 1.2 1 2009/10/09 14:34:02kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedMesonConstructor.cc,v 1.23 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 1063 1063 "pi+","pi-","pi0"); 1064 1064 decayTable->Insert(mode); 1065 } else if (iIso== 0) {1065 } else if (iIso==2) { 1066 1066 // This mode is X(I=1) --> pi + pipi(I=0) mode 1067 1067 if (iIso3==+2) { … … 1401 1401 { 1402 1402 { 1.2295*GeV, 1.170*GeV, 1.386*GeV, 1.272*GeV, 1.272*GeV }, 1403 { 1.474*GeV, 1.350*GeV, 0.0, 1.4 20*GeV, 1.420*GeV },1403 { 1.474*GeV, 1.350*GeV, 0.0, 1.430*GeV, 1.430*GeV }, 1404 1404 { 1.230*GeV,1.2818*GeV,1.4264*GeV, 1.403*GeV, 1.403*GeV }, 1405 1405 { 1.3183*GeV,1.2751*GeV, 1.525*GeV,1.4256*GeV, 1.4256*GeV }, … … 1427 1427 { 265.0*MeV, 350.0*MeV, 0.0, 270.0*MeV, 270.0*MeV }, 1428 1428 { 420.0*MeV, 24.3*MeV, 54.9*MeV, 174.0*MeV, 174.0*MeV }, 1429 { 107.0*MeV, 185. 0*MeV, 73.0*MeV, 98.5*MeV, 98.5*MeV },1429 { 107.0*MeV, 185.1*MeV, 73.0*MeV, 98.5*MeV, 98.5*MeV }, 1430 1430 { 259.0*MeV, 181.0*MeV, 225.0*MeV, 186.0*MeV, 186.0*MeV }, 1431 1431 { 250.0*MeV, 315.0*MeV, 0.0, 320.0*MeV, 320.0*MeV }, -
trunk/source/particles/shortlived/src/G4ExcitedNucleonConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedNucleonConstructor.cc,v 1.1 1 2006/06/29 19:27:08 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedNucleonConstructor.cc,v 1.12 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // -
trunk/source/particles/shortlived/src/G4ExcitedSigmaConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedSigmaConstructor.cc,v 1.1 1 2006/10/12 10:59:45kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedSigmaConstructor.cc,v 1.12 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 569 569 } 570 570 571 572 G4double G4ExcitedSigmaConstructor::GetMass(G4int iState, G4int iso3) 573 { 574 G4double fmass = mass[iState]; 575 if (iState == 0 ) { 576 if (iso3== +2) fmass -= 0.9*MeV; // sigma+ 577 else if (iso3== -2) fmass += 3.5*MeV; // sigma- 578 } 579 return fmass; 580 } 581 582 G4double G4ExcitedSigmaConstructor::GetWidth(G4int iState, G4int iso3) 583 { 584 G4double fw=width[iState]; 585 if (iState == 0 ) { 586 if (iso3== +2) fw = 35.8*MeV; // sigma+ 587 else if (iso3== -2) fw = 39.4*MeV; // sigma- 588 } 589 return fw; 590 } 591 571 592 const char* G4ExcitedSigmaConstructor::name[] = { 572 593 "sigma(1385)","sigma(1660)","sigma(1670)","sigma(1750)","sigma(1775)", … … 580 601 581 602 const G4double G4ExcitedSigmaConstructor::width[] = { 582 3 5.8*MeV, 100.0*MeV, 60.0*MeV, 90.0*MeV, 120.0*MeV,603 36.0*MeV, 100.0*MeV, 60.0*MeV, 90.0*MeV, 120.0*MeV, 583 604 120.0*MeV, 220.0*MeV, 180.0*MeV 584 605 }; -
trunk/source/particles/shortlived/src/G4ExcitedXiConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ExcitedXiConstructor.cc,v 1. 8 2008/09/18 08:37:27kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ExcitedXiConstructor.cc,v 1.9 2010/10/01 02:41:44 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 284 284 } 285 285 286 G4double G4ExcitedXiConstructor::GetMass(G4int iState, G4int iso3) 287 { 288 G4double fm = mass[iState]; 289 if ( iState==0 ) { 290 if (iso3== -1) fm = 1.5350*GeV; // xi- 291 } 292 return fm; 293 } 294 295 G4double G4ExcitedXiConstructor::GetWidth(G4int iState, G4int iso3) 296 { 297 G4double fw = width[iState]; 298 if ( iState==0 ) { 299 if (iso3== -1) fw = 9.9*MeV; // xi- 300 } 301 return fw; 302 } 286 303 287 304 const char* G4ExcitedXiConstructor::name[] = { … … 290 307 291 308 const G4double G4ExcitedXiConstructor::mass[] = { 292 1.53 34*GeV, 1.690*GeV, 1.823*GeV, 1.950*GeV, 2.025*GeV309 1.5318*GeV, 1.690*GeV, 1.823*GeV, 1.950*GeV, 2.025*GeV 293 310 }; 294 311 -
trunk/source/particles/shortlived/src/G4ShortLivedConstructor.cc
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4ShortLivedConstructor.cc,v 1. 19 2010/06/11 05:50:20kurasige Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4ShortLivedConstructor.cc,v 1.21 2010/10/09 10:02:41 kurasige Exp $ 28 // GEANT4 tag $Name: particles-V09-03-15 $ 29 29 // 30 30 // … … 36 36 // update quark mass 11 Oct. 2006 H.Kurashige 37 37 // update meson/baryon masses 11 Oct. 2006 H.Kurashige 38 // Add AntiNucleiConstructor 11 June 2010 H.Kurashige39 38 40 39 #include "G4ShortLivedConstructor.hh" … … 63 62 ConstructQuarks(); 64 63 ConstructResonances(); 65 ConstructAntiNuclei();66 64 isConstructed = true; 67 65 } 68 }69 70 #include "G4AntiNucleiConstructor.hh"71 void G4ShortLivedConstructor::ConstructAntiNuclei()72 {73 G4AntiNucleiConstructor antiN;74 antiN.Construct();75 76 66 } 77 67 … … 101 91 // u-quark 102 92 particle = new G4Quarks( 103 "u_quark", 2. 4*MeV, 0.0*MeV, 2./3.*eplus,93 "u_quark", 2.5*MeV, 0.0*MeV, 2./3.*eplus, 104 94 1, +1, 0, 105 95 1, +1, 0, … … 108 98 // d-quark 109 99 particle = new G4Quarks( 110 "d_quark", 4.8*MeV, 0.0*MeV, -1./3.*eplus,100 "d_quark", 5.0*MeV, 0.0*MeV, -1./3.*eplus, 111 101 1, +1, 0, 112 102 1, -1, 0, … … 115 105 // s-quark 116 106 particle = new G4Quarks( 117 "s_quark", 10 4.0*MeV, 0.0*MeV, -1./3.*eplus,107 "s_quark", 101.0*MeV, 0.0*MeV, -1./3.*eplus, 118 108 1, +1, 0, 119 109 0, 0, 0, … … 129 119 // b-quark 130 120 particle = new G4Quarks( 131 "b_quark", 4.6 8*GeV, 0.0*MeV, -1./3.*eplus,121 "b_quark", 4.67*GeV, 0.0*MeV, -1./3.*eplus, 132 122 1, +1, 0, 133 123 0, 0, 0, … … 136 126 // t-quark 137 127 particle = new G4Quarks( 138 "t_quark", 17 1.2*GeV, 0.0*MeV, +2./3.*eplus,128 "t_quark", 172.0*GeV, 0.0*MeV, +2./3.*eplus, 139 129 1, +1, 0, 140 130 0, 0, 0, … … 143 133 // anti u-quark 144 134 particle = new G4Quarks( 145 "anti_u_quark", 2. 4*MeV, 0.0*MeV, -2./3.*eplus,135 "anti_u_quark", 2.5*MeV, 0.0*MeV, -2./3.*eplus, 146 136 1, +1, 0, 147 137 1, -1, 0, … … 150 140 // anti d-quark 151 141 particle = new G4Quarks( 152 "anti_d_quark", 4.8*MeV, 0.0*MeV, 1./3.*eplus,142 "anti_d_quark", 5.0*MeV, 0.0*MeV, 1./3.*eplus, 153 143 1, +1, 0, 154 144 1, +1, 0, … … 157 147 // s-quark 158 148 particle = new G4Quarks( 159 "anti_s_quark", 10 4.0*MeV, 0.0*MeV, 1./3.*eplus,149 "anti_s_quark", 101.0*MeV, 0.0*MeV, 1./3.*eplus, 160 150 1, +1, 0, 161 151 0, 0, 0, … … 171 161 // b-quark 172 162 particle = new G4Quarks( 173 "anti_b_quark", 4.6 8*GeV, 0.0*MeV, 1./3.*eplus,163 "anti_b_quark", 4.67*GeV, 0.0*MeV, 1./3.*eplus, 174 164 1, +1, 0, 175 165 0, 0, 0, … … 178 168 // t-quark 179 169 particle = new G4Quarks( 180 "anti_t_quark", 17 1.2*GeV, 0.0*MeV, -2./3.*eplus,170 "anti_t_quark", 172.0*GeV, 0.0*MeV, -2./3.*eplus, 181 171 1, +1, 0, 182 172 0, 0, 0, … … 685 675 // rho0 686 676 particle = new G4ExcitedMesons( 687 "rho0", 775.49*MeV, 149. 4*MeV, 0.0,677 "rho0", 775.49*MeV, 149.1*MeV, 0.0, 688 678 2, -1, -1, 689 679 2, 0, +1, … … 705 695 // a0(980)+ 706 696 particle = new G4ExcitedMesons( 707 "a0(980)+", 98 4.7*MeV, 60.0*MeV, +1.0*eplus,697 "a0(980)+", 980.0*MeV, 60.0*MeV, +1.0*eplus, 708 698 0, +1, +1, 709 699 2, +2, -1, … … 724 714 // a0(980)- 725 715 particle = new G4ExcitedMesons( 726 "a0(980)-", 98 4.7*MeV, 60.0*MeV, -1.0*eplus,716 "a0(980)-", 980.0*MeV, 60.0*MeV, -1.0*eplus, 727 717 0, +1, +1, 728 718 2, -2, -1, … … 743 733 // a0(980)0 744 734 particle = new G4ExcitedMesons( 745 "a0(980)0", 98 4.7*MeV, 75.0*MeV, 0.0,735 "a0(980)0", 980.0*MeV, 75.0*MeV, 0.0, 746 736 0, +1, +1, 747 737 2, 0, -1, … … 843 833 // f0(1710) 844 834 particle = new G4ExcitedMesons( 845 "f0(1710)", 172 4.0*MeV, 137.0*MeV, 0.0,835 "f0(1710)", 1720.0*MeV, 135.0*MeV, 0.0, 846 836 0, +1, +1, 847 837 0, 0, +1, … … 879 869 // k_star+ 880 870 particle = new G4ExcitedMesons( 881 "k_star+", 891.66*MeV,50.8*MeV, +1.0*eplus,871 "k_star+", 891.66*MeV, 50.8*MeV, +1.0*eplus, 882 872 2, -1, 0, 883 873 1, +1, 0, … … 904 894 // k_star0 905 895 particle = new G4ExcitedMesons( 906 "k_star0", 896.00*MeV, 50.3*MeV, 0.0*eplus,896 "k_star0", 895.94*MeV, 48.7*MeV, 0.0*eplus, 907 897 2, -1, 0, 908 898 1, -1, 0, … … 955 945 // anti_k_star0 956 946 particle = new G4ExcitedMesons( 957 "anti_k_star0", 896.0*MeV, 50.3*MeV, 0.0*eplus,947 "anti_k_star0", 895.94*MeV, 48.7*MeV, 0.0*eplus, 958 948 2, -1, 0, 959 949 1, -1, 0, -
trunk/source/particles/utils/GNUmakefile
r824 r1340 1 # $Id: GNUmakefile,v 1. 2 2004/06/11 14:25:31gcosmo Exp $1 # $Id: GNUmakefile,v 1.4 2010/10/27 07:47:05 gcosmo Exp $ 2 2 # ---------------------------------------------------------------- 3 3 # GNUmakefile for particle management library. G.Cosmo, 4/4/97. -
trunk/source/particles/utils/include/G4HtmlPPReporter.hh
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4HtmlPPReporter.hh,v 1. 2 2006/06/29 19:27:46 gunterExp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4HtmlPPReporter.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 59 59 void SparseOption(const G4String& option); 60 60 void GenerateIndex(); 61 void GeneratePropertyTable( G4ParticleDefinition* );61 void GeneratePropertyTable(const G4ParticleDefinition* ); 62 62 63 63 void PrintHeader(std::ofstream& ); -
trunk/source/particles/utils/include/G4TextPPReporter.hh
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4TextPPReporter.hh,v 1. 2 2006/06/29 19:27:50 gunterExp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4TextPPReporter.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 57 57 protected: 58 58 void SparseOption(const G4String& option); 59 void GeneratePropertyTable( G4ParticleDefinition* );59 void GeneratePropertyTable(const G4ParticleDefinition* ); 60 60 61 61 protected: -
trunk/source/particles/utils/include/G4TextPPRetriever.hh
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4TextPPRetriever.hh,v 1. 2 2006/06/29 19:27:52 gunterExp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4TextPPRetriever.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 59 59 protected: 60 60 void SparseOption(const G4String& option); 61 G4bool ModifyPropertyTable( G4ParticleDefinition* );61 G4bool ModifyPropertyTable(const G4ParticleDefinition* ); 62 62 63 63 protected: -
trunk/source/particles/utils/src/G4HtmlPPReporter.cc
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4HtmlPPReporter.cc,v 1. 6 2008/06/08 14:05:33 kurasige Exp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4HtmlPPReporter.cc,v 1.7 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 160 160 } 161 161 162 void G4HtmlPPReporter::GeneratePropertyTable( G4ParticleDefinition* particle)162 void G4HtmlPPReporter::GeneratePropertyTable(const G4ParticleDefinition* particle) 163 163 { 164 164 if (particle->GetPDGEncoding()<0) return; -
trunk/source/particles/utils/src/G4TextPPReporter.cc
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4TextPPReporter.cc,v 1. 2 2006/06/29 19:28:02 gunterExp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4TextPPReporter.cc,v 1.3 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 81 81 82 82 83 void G4TextPPReporter::GeneratePropertyTable( G4ParticleDefinition* particle)83 void G4TextPPReporter::GeneratePropertyTable(const G4ParticleDefinition* particle) 84 84 { 85 85 G4String name = particle->GetParticleName(); -
trunk/source/particles/utils/src/G4TextPPRetriever.cc
r1337 r1340 30 30 // and all its terms. 31 31 // 32 // $Id: G4TextPPRetriever.cc,v 1. 2 2006/06/29 19:28:04 gunterExp $33 // GEANT4 tag $Name: geant4-09-04-beta-01$32 // $Id: G4TextPPRetriever.cc,v 1.3 2010/08/10 15:47:43 kurasige Exp $ 33 // GEANT4 tag $Name: particles-V09-03-15 $ 34 34 // 35 35 // … … 87 87 88 88 89 G4bool G4TextPPRetriever::ModifyPropertyTable( G4ParticleDefinition* particle)89 G4bool G4TextPPRetriever::ModifyPropertyTable(const G4ParticleDefinition* particle) 90 90 { 91 91 G4String name = particle->GetParticleName();
Note:
See TracChangeset
for help on using the changeset viewer.
