| 1 | -------------------------------------------------------------------
|
|---|
| 2 |
|
|---|
| 3 | ==========================================================
|
|---|
| 4 | Geant4 - an Object-Oriented Toolkit for Physics Simulation
|
|---|
| 5 | ==========================================================
|
|---|
| 6 |
|
|---|
| 7 | History file for hadronic/util directory
|
|---|
| 8 | ----------------------------------------
|
|---|
| 9 |
|
|---|
| 10 | This file should be used to summarize modifications introduced in the
|
|---|
| 11 | code and to keep track of all tags.
|
|---|
| 12 |
|
|---|
| 13 | ---------------------------------------------------------------
|
|---|
| 14 | * Please list in reverse chronological order (last date on top)
|
|---|
| 15 | ---------------------------------------------------------------
|
|---|
| 16 |
|
|---|
| 17 | 23 Jul 2008 D.H. Wright for Vladimir Uzhinskiy (hadr-util-V09-01-01)
|
|---|
| 18 | --------------------------------------------------------------------
|
|---|
| 19 | - G4ReactionDynamics::GenerateXandPt: fixed bug in momentum bin which
|
|---|
| 20 | caused oscillatory behavior in spectrum: changed
|
|---|
| 21 | x = std::min( 1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1])/2 ) )
|
|---|
| 22 | to
|
|---|
| 23 | x = std::min( 1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1]) ) )
|
|---|
| 24 |
|
|---|
| 25 | 9 Jul 2008 D.H. Wright (hadr-util-V09-01-00)
|
|---|
| 26 | ---------------------------------------------
|
|---|
| 27 | - G4ReactionDynamics::GenerateXandPt: replace exit with G4Exception.
|
|---|
| 28 |
|
|---|
| 29 | 11 Oct 2007 F.W. Jones (hadr-util-V09-00-00)
|
|---|
| 30 | --------------------------------------------
|
|---|
| 31 | - G4LightMedia: fixed coding errors in inequalities for
|
|---|
| 32 | charge exchange occurrence in PionPlusExchange,
|
|---|
| 33 | KaonZeroShortExchange, and NeutronExchange.
|
|---|
| 34 |
|
|---|
| 35 | 13 August 2007 Dennis Wright (hadr-util-V08-03-00a)
|
|---|
| 36 | ---------------------------------------------------
|
|---|
| 37 | - special CMS tag: geant4-08-03-ref-00 + hadr-util-V08-03-02.
|
|---|
| 38 | On top of geant4-08-03-ref-00, this contains only array bounds, units
|
|---|
| 39 | and backward peak fixes in G4ReactionDynamics
|
|---|
| 40 |
|
|---|
| 41 | 27 June 2007 Alex Howard (hadr-util-V08-03-03)
|
|---|
| 42 | ------------------------------------------------
|
|---|
| 43 | - Removed DumpCoreOnHadronicException protection around Report() in
|
|---|
| 44 | G4HadronicException, temporary fix to give output for G4NEUTRONHPDATA not set
|
|---|
| 45 |
|
|---|
| 46 | 12 June 2007 Dennis Wright (hadr-util-V08-03-02)
|
|---|
| 47 | ------------------------------------------------
|
|---|
| 48 | - G4ReactionDynamics::TwoCluster : fix array bound violation when backward
|
|---|
| 49 | nucleon count is 0
|
|---|
| 50 |
|
|---|
| 51 | 12 June 2007 Dennis Wright (hadr-util-V08-03-01)
|
|---|
| 52 | ------------------------------------------------
|
|---|
| 53 | - G4ReactionDynamics::TwoCluster : fix two bugs:
|
|---|
| 54 | 1) sharp peak at 180 degrees for low and medium energies due to a units
|
|---|
| 55 | error:
|
|---|
| 56 | G4double totalE = kineticE + vMass;
|
|---|
| 57 | was changed to
|
|---|
| 58 | G4double totalE = kineticE*GeV + vMass;
|
|---|
| 59 | Result is that particles from intra-nuclear cascade now have energies
|
|---|
| 60 | ~ 100 MeV instead of almost 0.
|
|---|
| 61 |
|
|---|
| 62 | 2) sharp peak at 180 degrees for low and medium energies and target nuclei
|
|---|
| 63 | with Z > 6 due to incorrect sampling of polar angle:
|
|---|
| 64 | replaced
|
|---|
| 65 | G4double costheta =
|
|---|
| 66 | 1.0 + 2.0*std::log(1.0 - G4UniformRand()) / dtb;
|
|---|
| 67 | with
|
|---|
| 68 | G4double costheta =
|
|---|
| 69 | 1.0 + 2.0*std::log(1.0 - G4UniformRand()*factor) / dtb;
|
|---|
| 70 | where factor = 1.0 - std::exp(-dtb) and dtb is momentum-dependent
|
|---|
| 71 |
|
|---|
| 72 | 10 June 2007 Dennis Wright (hadr-util-V08-03-00)
|
|---|
| 73 | ------------------------------------------------
|
|---|
| 74 | - remove un-used classes G4Fuzzy, G4EffectiveCharge, G4ParticleVector
|
|---|
| 75 |
|
|---|
| 76 | 16 April 2007 Dennis Wright (hadr-util-V08-02-01)
|
|---|
| 77 | -------------------------------------------------
|
|---|
| 78 | - G4HadronicWhiteboard.hh, .cc : add methods to set process and model names
|
|---|
| 79 | - G4ReactionDynamics.cc : add pi0 to anti-particle test
|
|---|
| 80 |
|
|---|
| 81 | 19 February 2007 V.Ivanchenko (hadr-util-V08-02-00)
|
|---|
| 82 | ----------------------------------------------------
|
|---|
| 83 | - G4HadFinalState - add initialisation of energy deposition
|
|---|
| 84 |
|
|---|
| 85 | 11 December 2006 Dennis Wright (hadr-util-V08-01-01)
|
|---|
| 86 | ----------------------------------------------------
|
|---|
| 87 | - G4ReactionDynamics::AddBlackTrackParticles
|
|---|
| 88 | protect variables local_npnb, local_ndta from divide by zero
|
|---|
| 89 |
|
|---|
| 90 | 24 November 2006 Dennis Wright (hadr-util-V08-01-00)
|
|---|
| 91 | ----------------------------------------------------
|
|---|
| 92 | - G4HadronicWhiteBoard:
|
|---|
| 93 | replace GHAD message with
|
|---|
| 94 | "Geant4 Hadronic Reaction Information" and use
|
|---|
| 95 | G4Exception to kill run.
|
|---|
| 96 |
|
|---|
| 97 | 15 May 2006 Dennis Wright (hadr-util-V08-00-05)
|
|---|
| 98 | -----------------------------------------------
|
|---|
| 99 | - G4Nucleus:
|
|---|
| 100 | replace code in method AtomicMass() with
|
|---|
| 101 |
|
|---|
| 102 | return G4NucleiProperties::GetNuclearMass(A, Z);
|
|---|
| 103 |
|
|---|
| 104 | in order to agree with other methods for getting nucleus mass.
|
|---|
| 105 | Note: new version has electron masses subtracted, while old version
|
|---|
| 106 | included them
|
|---|
| 107 |
|
|---|
| 108 | 02 May 2006 Dennis Wright (hadr-util-V08-00-04)
|
|---|
| 109 | -----------------------------------------------
|
|---|
| 110 | - G4ReactionDynamics:
|
|---|
| 111 | 1) in energy balance part of method GenerateXandPt, try removing pions and kaons
|
|---|
| 112 | before removing nucleons
|
|---|
| 113 | 2) in method GetFinalStateNucleons improve and simplify nucleon counting
|
|---|
| 114 | 3) method SuppressChargedPions: check available CM energy before changing pion to
|
|---|
| 115 | nucleon, also extend test for anti-particles to include strange particles
|
|---|
| 116 | 4) in methods GenerateXandPt and TwoCluster, call GenerateNBodyEvent a second time
|
|---|
| 117 | if energy sum is violated, this time with total system energy
|
|---|
| 118 | 5) in method TwoCluster, use annihilation black track energy when annihilation channel
|
|---|
| 119 | occurs
|
|---|
| 120 |
|
|---|
| 121 | 07 Apr 2006 Dennis Wright (hadr-util-V08-00-03)
|
|---|
| 122 | -----------------------------------------------
|
|---|
| 123 | - G4ReactionDynamics:
|
|---|
| 124 | 1) implement exact proton and neutron accounting to improve baryon number
|
|---|
| 125 | conservation
|
|---|
| 126 | 2) add new method GetFinalStateNucleons which returns number of
|
|---|
| 127 | protons and neutrons generated by the initial projectile-nucleon collision
|
|---|
| 128 | 3) replace spall argument in AddBlackTrackParticles with PinNucleus and
|
|---|
| 129 | NinNucleus
|
|---|
| 130 |
|
|---|
| 131 | - G4Nucleus:
|
|---|
| 132 | 1) add new method AnnihilationEvaporationEffects which calculates energy to
|
|---|
| 133 | be given to evaporated nucleons after annihilation
|
|---|
| 134 | 2) add new methods GetAnnihilationPNBlackTrackEnergy and
|
|---|
| 135 | GetAnnihilationDTABlackTrackEnergy to retrieve the values calculated above
|
|---|
| 136 |
|
|---|
| 137 | 13 Mar 2006 Dennis Wright (hadr-util-V08-00-02)
|
|---|
| 138 | -----------------------------------------------
|
|---|
| 139 | - G4Nucleus::GetFermiMomentum(),
|
|---|
| 140 | G4ReactionKinematics::TwoBodyScattering() :
|
|---|
| 141 |
|
|---|
| 142 | fix bug #838: momentum is now isotropic. Previously theta was
|
|---|
| 143 | incorrectly sampled by pi*G4UniformRand().
|
|---|
| 144 |
|
|---|
| 145 | 15 Dec 2005 Dennis Wright (hadr-util-V08-00-01)
|
|---|
| 146 | -----------------------------------------------
|
|---|
| 147 | - G4ReactionDynamics.cc: add array bounds protection in TwoCluster
|
|---|
| 148 | (cpar, gpar)
|
|---|
| 149 |
|
|---|
| 150 | 30 Nov 2005 Gabriele Cosmo (hadr-util-V07-01-01)
|
|---|
| 151 | -----------------------------------------------
|
|---|
| 152 | - Trivial fix in G4ReactionKinematics and G4Nucleus for support of
|
|---|
| 153 | CLHEP-2.0.X series.
|
|---|
| 154 |
|
|---|
| 155 | 25 Nov 2005 Dennis Wright (hadr-util-V07-01-00)
|
|---|
| 156 | ----------------------------------------------
|
|---|
| 157 | - G4HadTmpUtil.cc : <sstream> migration
|
|---|
| 158 |
|
|---|
| 159 |
|
|---|
| 160 |
|
|---|