| 1 | -------------------------------------------------------------------
|
|---|
| 2 |
|
|---|
| 3 | ==========================================================
|
|---|
| 4 | Geant4 - an Object-Oriented Toolkit for Physics Simulation
|
|---|
| 5 | ==========================================================
|
|---|
| 6 |
|
|---|
| 7 | History file for hadronic/management 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 | 30 November 2010 Dennis Wright (hadr-man-V09-03-06)
|
|---|
| 18 | -----------------------------------------------------
|
|---|
| 19 | - G4HadronicProcess.cc : in PostStepDoIt, check cross section value
|
|---|
| 20 | before calling ApplyYourself. If less than or equal to zero, return
|
|---|
| 21 | track unchanged.
|
|---|
| 22 |
|
|---|
| 23 | 21 November 2010 Dennis Wright (hadr-man-V09-03-05)
|
|---|
| 24 | -----------------------------------------------------
|
|---|
| 25 | - G4EnergyRangeManager: initialize theHadronicInteractionCounter
|
|---|
| 26 | and ptr theHadronicInteraction as per CoVerity
|
|---|
| 27 |
|
|---|
| 28 | 17 August 2010 Vladimir Ivanchenko (hadr-man-V09-03-04)
|
|---|
| 29 | --------------------------------------------------------
|
|---|
| 30 | - G4HadronicProcess - use const GetParticleDefinition method of
|
|---|
| 31 | G4DynamicParticle
|
|---|
| 32 | - G4HadronicProcessStore - remove const_cast
|
|---|
| 33 |
|
|---|
| 34 | 29 July 2010 Vladimir Ivanchenko (hadr-man-V09-03-03)
|
|---|
| 35 | ------------------------------------------------
|
|---|
| 36 | - G4HadronicProcess - added protection against negative cross section;
|
|---|
| 37 | removed commented old code
|
|---|
| 38 | - G4HadronicProcessStore - reduce number of const_cast
|
|---|
| 39 |
|
|---|
| 40 | 01 June 2010 Gunter Folger (hadr-man-V09-03-02)
|
|---|
| 41 | ------------------------------------------------
|
|---|
| 42 | - restore #include for <typeinfo>
|
|---|
| 43 |
|
|---|
| 44 | 21 April 2010 Dennis Wright (hadr-man-V09-03-01)
|
|---|
| 45 | ------------------------------------------------
|
|---|
| 46 | - create G4HadronicEPTestMessenger to make energy/momentum test
|
|---|
| 47 | commands available in UI
|
|---|
| 48 | - include G4HadronicEPTestMessenger in G4HadronicProcessStore
|
|---|
| 49 |
|
|---|
| 50 | 2 April 2010 Dennis Wright (hadr-man-V09-03-00)
|
|---|
| 51 | -----------------------------------------------
|
|---|
| 52 | - G4HadronicProcess: add methods CheckEnergyMomentumConservation,
|
|---|
| 53 | SetEpReportLevel, SetEnergyMomentumCheckLevels,
|
|---|
| 54 | GetEnergyMomentumCheckLevels, which implement energy/momentum
|
|---|
| 55 | checking
|
|---|
| 56 | - also includes Vladimir Ivantchenko's clean-up of unused code
|
|---|
| 57 |
|
|---|
| 58 | 2 December 2009 Vladimir Ivanchenko (hadr-man-V09-02-05)
|
|---|
| 59 | ---------------------------------------------------------
|
|---|
| 60 | - G4HadronicProcessStore - added protection to the Clean method
|
|---|
| 61 |
|
|---|
| 62 | 25 February 2009 Vladimir Ivanchenko (hadr-man-V09-02-04)
|
|---|
| 63 | ---------------------------------------------------------
|
|---|
| 64 | - G4HadronicProcessStore - added protection to the Clean method
|
|---|
| 65 |
|
|---|
| 66 | 22 February 2009 Vladimir Ivanchenko (hadr-man-V09-02-03)
|
|---|
| 67 | ---------------------------------------------------------
|
|---|
| 68 |
|
|---|
| 69 | 14 February 2009 Vladimir Ivanchenko (hadr-man-V09-02-02)
|
|---|
| 70 | ---------------------------------------------------------
|
|---|
| 71 | - G4HadronicProcessStore - added Clean method and cleanup of model
|
|---|
| 72 | and cross section stores
|
|---|
| 73 |
|
|---|
| 74 | 06 February 2009 Vladimir Ivanchenko (hadr-man-V09-02-01)
|
|---|
| 75 | ---------------------------------------------------------
|
|---|
| 76 |
|
|---|
| 77 | 24 January 2009 Vladimir Ivanchenko (hadr-man-V09-02-00)
|
|---|
| 78 | -------------------------------------------------------
|
|---|
| 79 | - G4HadronicProcessStore - added destruction of processes
|
|---|
| 80 |
|
|---|
| 81 | 01 December 2008 Dennis Wright (hadr-man-V09-01-10)
|
|---|
| 82 | ---------------------------------------------------
|
|---|
| 83 | - G4HadronicProcess - make MeanFreePath() public again. In future
|
|---|
| 84 | make it protected again, but make a public method which calls it.
|
|---|
| 85 |
|
|---|
| 86 | 21 November 2008 Dennis Wright (hadr-man-V09-01-09)
|
|---|
| 87 | ---------------------------------------------------
|
|---|
| 88 | - G4HadronicProcess - remove again method SetDispatch for major release
|
|---|
| 89 |
|
|---|
| 90 | 22 October 2008 Vladimir Ivanchenko (hadr-man-V09-01-08)
|
|---|
| 91 | ------------------------------------------------------
|
|---|
| 92 | - G4HadronicProcessStore - use G4HadronicProcessType enumerator
|
|---|
| 93 | - G4HadronicProcess - returned back obsolete method SetDispatch for minor release
|
|---|
| 94 |
|
|---|
| 95 | 02 October 2008 Dennis Wright (hadr-man-V09-01-07)
|
|---|
| 96 | --------------------------------------------------
|
|---|
| 97 | - create new hadronic process subtype enum G4HadronicProcessType:
|
|---|
| 98 | enum G4HadronicProcessType
|
|---|
| 99 | {
|
|---|
| 100 | fHadronElastic = 111,
|
|---|
| 101 | fHadronInelastic = 121,
|
|---|
| 102 | fCapture = 131,
|
|---|
| 103 | fFission = 141,
|
|---|
| 104 | fHadronAtRest = 151,
|
|---|
| 105 | fChargeExchange = 161
|
|---|
| 106 | };
|
|---|
| 107 |
|
|---|
| 108 | - G4HadronicProcess.hh - add enum to identify process subtypes
|
|---|
| 109 |
|
|---|
| 110 | - G4HadronInelasticProcess.cc - change process sub-type from 12 to fHadronInelastic
|
|---|
| 111 |
|
|---|
| 112 | 04 August 2008 Vladimir Ivanchenko (hadr-man-V09-01-06)
|
|---|
| 113 | ------------------------------------------------------
|
|---|
| 114 | - G4HadronicProcessStore - improve cout
|
|---|
| 115 | - G4HadronicProcess - cleanup: use method SampleZandA to select an isotope
|
|---|
| 116 | do not use home-made NanCheck
|
|---|
| 117 | do not check environment variables run-time
|
|---|
| 118 | directly fill G4HadronicWhiteBoard
|
|---|
| 119 | implement PostStepDoIt and DumpPhysicsTable
|
|---|
| 120 | methods
|
|---|
| 121 | - G4HadronInelasticProcess - use methods of the base class
|
|---|
| 122 |
|
|---|
| 123 | 04 August 2008 Vladimir Ivanchenko (hadr-man-V09-01-05)
|
|---|
| 124 | ------------------------------------------------------
|
|---|
| 125 | - G4HadronicProcessStore - use sub-types to access cross sections,
|
|---|
| 126 | add proceses following only G4VProcess interface
|
|---|
| 127 |
|
|---|
| 128 | 08 July 2008 Dennis Wright (hadr-man-V09-01-04)
|
|---|
| 129 | -----------------------------------------------
|
|---|
| 130 | - set process sub-type to 12 for G4HadronInelasticProcess
|
|---|
| 131 |
|
|---|
| 132 | 09 June 2008 Dennis Wright (hadr-man-V09-01-03)
|
|---|
| 133 | -----------------------------------------------
|
|---|
| 134 | - G4HadronicProcess.cc - turn off error in case of fStopButAlive, but leave
|
|---|
| 135 | it in place for fStopAndKill, fKillTrackAndSecondaries and fPostponeToNextEvent
|
|---|
| 136 |
|
|---|
| 137 | 05 June 2008 Vladimir Ivanchenko (hadr-man-V09-01-02)
|
|---|
| 138 | ----------------------------------------------------
|
|---|
| 139 | - G4HadronicProcessStore - comment out destructor
|
|---|
| 140 |
|
|---|
| 141 | 19 May 2008 Vladimir Ivanchenko (hadr-man-V09-01-01)
|
|---|
| 142 | ----------------------------------------------------
|
|---|
| 143 | - G4HadronicProcessStore - new singleton to keep pointers to all
|
|---|
| 144 | hadronic processes
|
|---|
| 145 | - G4HadronicProcess - added PreparPhysicsTable and BuildPhysicsTable
|
|---|
| 146 | methods, added registration in G4HadronicProcessStore
|
|---|
| 147 |
|
|---|
| 148 |
|
|---|
| 149 | 19 May 2008 Vladimir Ivanchenko (hadr-man-V09-01-00)
|
|---|
| 150 | ----------------------------------------------------
|
|---|
| 151 | - G4HadronicProcess - cleanup of the header (add comments, move
|
|---|
| 152 | methods for isotope production to the src, make
|
|---|
| 153 | GetMeanFreePath protected, remove duplication
|
|---|
| 154 | of PostStepDoIt), add default implementation of
|
|---|
| 155 | GetMicroscopicCrossSection, comment out check
|
|---|
| 156 | IfApplicable in MeanFreePath
|
|---|
| 157 |
|
|---|
| 158 | 15 October 2007 Dennis Wright (hadr-man-V09-00-00)
|
|---|
| 159 | --------------------------------------------------
|
|---|
| 160 | - G4HadronicProcess::FillTotalResult: T. Koi's fix of bug #967 - replaced
|
|---|
| 161 | aT.GetGlobalTime() with the variable time at line #664.
|
|---|
| 162 |
|
|---|
| 163 | 15 June 2007 Gabriele Cosmo (hadr-man-V08-03-03)
|
|---|
| 164 | ------------------------------------------------
|
|---|
| 165 | - G4HadronicProcess: fixed memory leak with deletion of 'theIsoResult' and
|
|---|
| 166 | 'theCrossSectionDataStore' in destructor.
|
|---|
| 167 |
|
|---|
| 168 | 12 June 2007 Dennis Wright (hadr-man-V08-03-02)
|
|---|
| 169 | -----------------------------------------------
|
|---|
| 170 | - G4HadronicProcess::FillTotalResult: use different G4DynamicParticle constructor
|
|---|
| 171 | and do not allow kinetic energy to be exactly 0. This partly removes a spurious
|
|---|
| 172 | peak at 90 degrees
|
|---|
| 173 |
|
|---|
| 174 | 01 June 2007 Dennis Wright (hadr-man-V08-03-01)
|
|---|
| 175 | -----------------------------------------------
|
|---|
| 176 | - G4HadronicProcess.cc : change default for isotope production to off
|
|---|
| 177 | this fixes a memory leak.
|
|---|
| 178 |
|
|---|
| 179 | 30 Apr 2007 Dennis Wright (hadr-man-V08-03-00)
|
|---|
| 180 | ----------------------------------------------
|
|---|
| 181 | - G4HadronicProcess.cc
|
|---|
| 182 | remove effective charge calculation
|
|---|
| 183 | remove unused variable newWeight
|
|---|
| 184 |
|
|---|
| 185 | 23 Apr 2007 Dennis Wright (hadr-man-V08-02-03)
|
|---|
| 186 | ----------------------------------------------
|
|---|
| 187 | - G4HadronicProcess.hh
|
|---|
| 188 | remove AlwaysKillLeadingHadron method
|
|---|
| 189 | - G4HadronicProcess.cc
|
|---|
| 190 | use Alex Howard's fix of weighting error in leading particle killer
|
|---|
| 191 |
|
|---|
| 192 | 10 Apr 2007 Dennis Wright (hadr-man-V08-02-02)
|
|---|
| 193 | ----------------------------------------------
|
|---|
| 194 | - G4HadronicInteractionWrapper.hh, .cc
|
|---|
| 195 | add process and model name arguments to ApplyInteraction method
|
|---|
| 196 | and enter them into whiteboard
|
|---|
| 197 |
|
|---|
| 198 | - G4HadronicProcess.cc
|
|---|
| 199 | add process and model name arguments to ApplyInteraction method
|
|---|
| 200 |
|
|---|
| 201 |
|
|---|
| 202 | 2 Mar 2007 Dennis Wright (hadr-man-V08-02-01)
|
|---|
| 203 | ---------------------------------------------
|
|---|
| 204 | - G4HadronicProcess.cc: put in Vladimir Ivantchenko's fix to
|
|---|
| 205 | stop killing primaries for elastic
|
|---|
| 206 |
|
|---|
| 207 | 26 Dec 2006 Dennis Wright (hadr-man-V08-02-00)
|
|---|
| 208 | ----------------------------------------------
|
|---|
| 209 | - G4HadronicProcess.hh, .cc:
|
|---|
| 210 | Add handling of user-defined isotopes: re-implement methods
|
|---|
| 211 | GetMeanFreePath() and ChooseAandZ() to use new methods in
|
|---|
| 212 | G4CrossSectionDataStore.
|
|---|
| 213 | No longer use dispatch pointer to call data store methods.
|
|---|
| 214 | Data members currentZ, currentN and methods GetCurrentZ(),
|
|---|
| 215 | GetCurrentN() removed as no longer needed
|
|---|
| 216 |
|
|---|
| 217 | 20 Oct 2006 Dennis Wright (hadr-man-V08-01-00)
|
|---|
| 218 | ----------------------------------------------
|
|---|
| 219 | - G4HadronicProcess.hh, .cc:
|
|---|
| 220 | remove unused method GetDistanceToBoundary()
|
|---|
| 221 |
|
|---|
| 222 | 13 Mar 2006 Dennis Wright (hadr-man-V08-00-03)
|
|---|
| 223 | ----------------------------------------------
|
|---|
| 224 | - G4HadronicProcess::ChooseAandZ() : throw fatal exception if
|
|---|
| 225 | Z > 92 is chosen
|
|---|
| 226 |
|
|---|
| 227 | - G4HadronicProcess::GeneralPostStepDoIt() : for suspended tracks, allow
|
|---|
| 228 | PostStep action to occur at end of step, but maintain suspended
|
|---|
| 229 | track status. Remove warning for suspended tracks.
|
|---|
| 230 |
|
|---|
| 231 |
|
|---|
| 232 | 17 Jan 2006 Dennis Wright (hadr-man-V08-00-02)
|
|---|
| 233 | ----------------------------------------------
|
|---|
| 234 | - G4HadronicProcess.cc: add comments
|
|---|
| 235 |
|
|---|
| 236 | 12 Jan 2006 Dennis Wright for Mikhail Kossov (hadr-man-V08-00-01)
|
|---|
| 237 | -----------------------------------------------------------------
|
|---|
| 238 | - G4EnergyRangeManager.cc: in method GetHadronicInteraction, case 2,
|
|---|
| 239 | print out some diagnostic information for
|
|---|
| 240 | exception of two fully overlapping models.
|
|---|
| 241 |
|
|---|
| 242 | 16 Dec 2005 Dennis Wright for Mikhail Kossov (hadr-man-V08-00-00)
|
|---|
| 243 | -----------------------------------------------------------------
|
|---|
| 244 | - G4HadronicProcess.hh: in method ChooseHadronicInteraction, check
|
|---|
| 245 | G4HadronicInteractionCounter for error - if
|
|---|
| 246 | so print out
|
|---|
| 247 |
|
|---|
| 248 | - G4EnergyRangeManager.hh: make method GetHadronicInteractionCounter public
|
|---|
| 249 | - G4EnergyRangeManager.cc: in method GetHadronicInteraction, case 0, print out
|
|---|
| 250 | diagnostic information for exception when no model
|
|---|
| 251 | is found.
|
|---|
| 252 |
|
|---|
| 253 | 15 Dec 2005 Dennis Wright
|
|---|
| 254 | -------------------------
|
|---|
| 255 | - G4HadronicProcess.cc:
|
|---|
| 256 | fixed bug # 611 - problems caused when hadronic interactions
|
|---|
| 257 | reset stopButAlive particle to Alive
|
|---|
| 258 | solution: In method FillTotalResult add lines
|
|---|
| 259 |
|
|---|
| 260 | } else if (aT.GetKineticEnergy() == 0) {
|
|---|
| 261 | theTotalResult->ProposeTrackStatus(fStopButAlive);
|
|---|
| 262 | }
|
|---|
| 263 |
|
|---|
| 264 |
|
|---|
| 265 | 18 Nov 2005 Dennis Wright (hadr-man-V07-01-00)
|
|---|
| 266 | ----------------------------------------------
|
|---|
| 267 |
|
|---|
| 268 | - G4HadronicProcess.cc: <sstream> migration
|
|---|