Geant4 Cross Reference |
1 # Category emadjoint History << 1 ------------------------------------------------------------------- 2 2 3 See `CONTRIBUTING.rst` for details of **requir << 3 ========================================================= 4 which **must** added in reverse chronological << 4 Geant4 - an Object-Oriented Toolkit for Simulation in HEP 5 It must **not** be used as a substitute for wr << 5 ========================================================= 6 << 6 7 ---------------------------------------------- << 7 Category History file 8 << 8 --------------------- 9 ## 2024-11-01 Laurent Desorgher (emadjoint-V11 << 9 This file should be used by G4 developers and category coordinators 10 - Add attribute fLastFreeFlightTrackId in G4Ad << 10 to briefly summarize all major modifications introduced in the code 11 in order to run adjoint simulation in MT mode << 11 and keep track of all category-tags. 12 - Add attribute fCurrentParticleDef in G4Adjoi << 12 It DOES NOT substitute the CVS log-message one should put at every 13 to run adjoint simulation in MT mode << 13 committal in the CVS repository ! 14 << 14 15 ## 2024-10-10 Gabriele Cosmo (emadjoint-V11-02 << 15 ---------------------------------------------------------- 16 - Fixed reported Coverity defects for use of c << 16 * Reverse chronological order (last date on top), please * 17 - Minor code cleanup (use of default destructo << 17 --------------------------------------------------------- 18 << 19 ## 2022-11-23 Gabriele Cosmo (emadjoint-V11-00 << 20 - Fixed more compilation warnings for implicit << 21 << 22 ## 2022-11-18 Gabriele Cosmo (emadjoint-V11-00 << 23 - Fixed compilation warnings for implicit type << 24 << 25 ## 2022-08-31 Gabriele Cosmo (emadjoint-V11-00 << 26 - Fixed defects reported by Coverity in G4Adjo << 27 << 28 ## 2022-03-07 Vladimir Ivanchenko (emadjoint-V << 29 - G4AdjointComptonModel, G4AdjointCSManager - << 30 to cross section from G4VEmProcess << 31 << 32 ## 2022-03-07 Vladimir Ivanchenko (emadjoint-V << 33 - G4AdjointBremsstrahlungModel - use updated i << 34 << 35 ## 2021-12-10 Ben Morgan (emadjoint-V11-00-00) << 36 - Change to new Markdown History format << 37 << 38 --- << 39 << 40 # History entries prior to 11.0 << 41 << 42 29 October 2021: L. Desorgher (emadjoint-V10-0 << 43 - G4AdjointForcedInteractionForGamma : Improve << 44 gamma reverse tracking for t << 45 - G4AdjointhIonisationModel : Correct weight c << 46 of proton dose results on cut << 47 - G4AdjointCSManager : Fixing of coverity is << 48 << 49 - G4VEMAdjointModel : Fixing of coverity issue << 50 << 51 << 52 18 July 2021: V. Ivanchenko (emadjoint-V10-07- << 53 G4AdjointCSManager - updated interfaces to G4P << 54 << 55 16 Apr 2021: B. Morgan (emadjoint-V10-07-05) << 56 - Migrate build to modular CMake API << 57 << 58 28 Mar 2021: V. Ivanchenko (emadjoint-V10-07-0 << 59 - G4ContinuousGainOfEnergy - used updated sign << 60 << 61 22 Mar 2021: V. Ivanchenko (emadjoint-V10-07-0 << 62 - G4VEmAdjointModel - minor clean-up << 63 << 64 12 Mar 2021: D. Sawkey (emadjoint-V10-07-02) << 65 - free resources in destructors << 66 - fix uninitialized variables << 67 << 68 8 Mar 2021: D. Sawkey (emadjoint-V10-07-01) << 69 - Second large round of cleaning for v11 relea << 70 - use 'virtual' and 'override' methods consis << 71 - member variables start with f; shorten long << 72 - remove unused variables; make class variabl << 73 - order declarations of class variables << 74 - define class variables << 75 - removed unused functions << 76 - mark copy/assignment operators as 'delete' << 77 - add ProcessDescriptions << 78 - remove ChangeHistory from top of code << 79 - replace 2.*3.14... with CLHEP::twopi << 80 - remove more unused headers << 81 << 82 20 Feb 2021: D. Sawkey (emadjoint-V10-07-00) << 83 - First pass on large cleaning for v11 release << 84 - apply clang-format style guidelines << 85 - apply C++11 codewords to method declaration << 86 - delete unused variables and methods << 87 - start naming class member variables with f << 88 - use nullptr instead of 0 << 89 - remove unused headers << 90 - use constexpr for numbers << 91 18 92 11 Mar 2019: G. Cosmo (emadjoint-V10-05-00) 19 11 Mar 2019: G. Cosmo (emadjoint-V10-05-00) 93 -Fixed typos in printouts and comments. 20 -Fixed typos in printouts and comments. 94 21 95 06 Nov 2017: V. Ivanchenko (emadjoint-V10-03-0 22 06 Nov 2017: V. Ivanchenko (emadjoint-V10-03-01) 96 -Extended correction of occurrence of FPE in G 23 -Extended correction of occurrence of FPE in G4AdjointForcedInteractionForGamma. 97 -G4eAdjointMultipleScattering - change index o << 24 -G4eAdjointMultipleScattering - change index of the default accourding to recent 98 modifications in emutils 25 modifications in emutils 99 26 100 27 Jan 2017: L. Desorgher (emadjoint-V10-03-00 27 27 Jan 2017: L. Desorgher (emadjoint-V10-03-00) 101 -Correction of occurrence of FPE in G4AdjointF 28 -Correction of occurrence of FPE in G4AdjointForcedInteractionForGamma. 102 << 29 103 27 Octb 2016: L. Desorgher (emadjoint-V10-02-0 30 27 Octb 2016: L. Desorgher (emadjoint-V10-02-03) 104 -Correction in G4AdjointForcedInteractionForG 31 -Correction in G4AdjointForcedInteractionForGamma to avoid high weight of forced gamma 105 when only the brem is used. 32 when only the brem is used. 106 -Modification in G4AdjointBremsstrahlungModel << 33 -Modification in G4AdjointBremsstrahlungModel to use the direcet angular model to compute the direction of the 107 adjoint secondary 34 adjoint secondary 108 -Add G4UrbanAdjointMscModel.cc and G4eAdjointM 35 -Add G4UrbanAdjointMscModel.cc and G4eAdjointMultipleScattering.cc 109 << 36 110 18 Octb 2016: L. Desorgher (emadjoint-V10-02-0 37 18 Octb 2016: L. Desorgher (emadjoint-V10-02-02) 111 -Correct use of logical or in G4AdjointForced 38 -Correct use of logical or in G4AdjointForcedInteractionForGamma for compilation 112 error under windows. << 39 error under windows. 113 << 40 114 17 Octb 2016: L. Desorgher (emadjoint-V10-02-0 41 17 Octb 2016: L. Desorgher (emadjoint-V10-02-01) 115 -Correct G4AdjointForcedInteractionForGamma fo << 42 -Correct G4AdjointForcedInteractionForGamma for compilation error under windows. 116 43 117 26 Sept 2016: L. Desorgher (emadjoint-V10-02-0 44 26 Sept 2016: L. Desorgher (emadjoint-V10-02-00) 118 -Add new adjoint process G4AdjointForcedIntera << 45 -Add new adjoint process G4AdjointForcedInteractionForGamma to force the 119 reverse interaction of adjoint gamma. 46 reverse interaction of adjoint gamma. 120 -Slight modifications of G4VEmAdjointModel for 47 -Slight modifications of G4VEmAdjointModel for new forced interaction 121 -Some corrections in G4AdjointBremsstrahlungMo 48 -Some corrections in G4AdjointBremsstrahlungModel 122 49 123 24 Oct 2015: V.Ivanchenko (emadjoint-V10-01-03 50 24 Oct 2015: V.Ivanchenko (emadjoint-V10-01-03) 124 - G4AdjointCSManager - use G4ThreadLocalSingle << 51 - G4AdjointCSManager - use G4ThreadLocalSingleton pattern, 125 fixed computation of A of an element, adde 52 fixed computation of A of an element, added initialisation 126 of all class members in the constructor 53 of all class members in the constructor 127 54 128 17 Oct 2015: V.Ivanchenko (emadjoint-V10-01-02 55 17 Oct 2015: V.Ivanchenko (emadjoint-V10-01-02) 129 - G4VEmAdjointModel - fixed Coverity reported 56 - G4VEmAdjointModel - fixed Coverity reported problem 130 57 131 07 Aug 2015: V.Ivanchenko (emadjoint-V10-01-01 58 07 Aug 2015: V.Ivanchenko (emadjoint-V10-01-01) 132 - G4VEmAdjointModel, G4ContinuousGainOfEnergy, 59 - G4VEmAdjointModel, G4ContinuousGainOfEnergy, G4AdjointPhotoElectricModel, 133 G4AdjointInterpolator, G4AdjointComptonModel 60 G4AdjointInterpolator, G4AdjointComptonModel, G4AdjointCSMatrix, 134 G4AdjointCSManager - add checks for while lo 61 G4AdjointCSManager - add checks for while loops 135 62 136 21 May 2015: V.Ivanchenko (emadjoint-V10-01-00 63 21 May 2015: V.Ivanchenko (emadjoint-V10-01-00) 137 - G4AdjointhMultipleScattering - make it coher << 64 - G4AdjointhMultipleScattering - make it coherent with the forward 138 msc processes 65 msc processes 139 66 140 10 Apr 2014: V.Ivanchenko (emadjoint-V10-00-00 67 10 Apr 2014: V.Ivanchenko (emadjoint-V10-00-00) 141 - G4VAdjointReverseReaction - added protection << 68 - G4VAdjointReverseReaction - added protection against infinite 142 loop in ReverseMC01 example: if cross sect << 69 loop in ReverseMC01 example: if cross section correction 143 exceed 100 the total cross section is set 70 exceed 100 the total cross section is set to zero 144 71 145 31 Oct 2013: L.Desorgher (emadjoint-V09-06-09) 72 31 Oct 2013: L.Desorgher (emadjoint-V09-06-09) 146 - Modifications for limitation of convergence 73 - Modifications for limitation of convergence peak 147 - G4AdjointBremsstrahlungModel - biased the ga 74 - G4AdjointBremsstrahlungModel - biased the gamma->e.- reverse brem CS by factor 100 148 - G4AdjointComptonModel -biased the CS by a f 75 - G4AdjointComptonModel -biased the CS by a factor 0.1 149 76 150 19 Oct 2013: V.Ivanchenko (emadjoint-V09-06-08 77 19 Oct 2013: V.Ivanchenko (emadjoint-V09-06-08) 151 - G4AdjointBremsstrahlungModel - removed unuse 78 - G4AdjointBremsstrahlungModel - removed unused obsolete headers 152 79 153 21 Jul 2013: V.Ivanchenko (emadjoint-V09-06-07 80 21 Jul 2013: V.Ivanchenko (emadjoint-V09-06-07) 154 - G4AdjointhMultipleScattering - use G4UrbanMs 81 - G4AdjointhMultipleScattering - use G4UrbanMscModel instead of 155 G4UrbanMscModel95 82 G4UrbanMscModel95 156 83 157 03 Jul 2013: V.Ivanchenko (emadjoint-V09-06-06 84 03 Jul 2013: V.Ivanchenko (emadjoint-V09-06-06) 158 - G4ContinuousGainOfEnergy - changed interface 85 - G4ContinuousGainOfEnergy - changed interface to G4VEmFluctuation 159 86 160 17 Jun 2013: G.Cosmo (emadjoint-V09-06-05) 87 17 Jun 2013: G.Cosmo (emadjoint-V09-06-05) 161 - Cleanup from automatica changes for MT in G4 88 - Cleanup from automatica changes for MT in G4AdjointInterpolator. 162 89 163 24 Jan 2013: V.Ivanchenko (emadjoint-V09-06-04 90 24 Jan 2013: V.Ivanchenko (emadjoint-V09-06-04) 164 - G4AdjointPhotoElectricModel - define current 91 - G4AdjointPhotoElectricModel - define current G4MaterialCutsCouple 165 for the direct model 92 for the direct model 166 << 93 167 22 Feb 2013: L.Desorgher (emadjoint-V09-06-03) 94 22 Feb 2013: L.Desorgher (emadjoint-V09-06-03) 168 -Remove of unused variables detected by compil << 95 -Remove of unused variables detected by compilation warnings. 169 96 170 23 Jan 2013: V.Ivanchenko (emadjoint-V09-06-02 97 23 Jan 2013: V.Ivanchenko (emadjoint-V09-06-02) 171 11 Jan 2013: V.Ivanchenko (emadjoint-V09-06-01 98 11 Jan 2013: V.Ivanchenko (emadjoint-V09-06-01) 172 - G4AdjointhMultipleScattering - use msc95 ins 99 - G4AdjointhMultipleScattering - use msc95 instead of msc90 173 - G4AdjointeIonisationModel - removed unused o 100 - G4AdjointeIonisationModel - removed unused obsolete header 174 101 175 12 Dec 2012: V.Ivanchenko (emadjoint-V09-06-00 102 12 Dec 2012: V.Ivanchenko (emadjoint-V09-06-00) 176 - G4AdjointPhotoElectricModel use G4PEEffectFl 103 - G4AdjointPhotoElectricModel use G4PEEffectFluoModel instead of obsolete 177 G4PEEffectModel 104 G4PEEffectModel 178 105 179 30 Oct 2012: L. Desorgher (emadjoint-V09-05-04 106 30 Oct 2012: L. Desorgher (emadjoint-V09-05-04) 180 -Inclusion of headers for system of units and 107 -Inclusion of headers for system of units and physical constants in G4AdjointBremsstrahlungModel 181 108 182 26 Oct 2012: L.Desorgher (emadjoint-V09-05-03) 109 26 Oct 2012: L.Desorgher (emadjoint-V09-05-03) 183 -G4AdjointBremsstrahlungModel changed to use G 110 -G4AdjointBremsstrahlungModel changed to use G4SeltzerBergerModel as forward model by default 184 -Correct differential CS expression in G4VEmAd 111 -Correct differential CS expression in G4VEmAdjointModel 185 -Get the weight from PostStepPoint instead of << 112 -Get the weight from PostStepPoint instead of from Track when correcting the step in along stepping actions of 186 G4ContinuousGainOfEnergy and G4AdjointAlongSt << 113 G4ContinuousGainOfEnergy and G4AdjointAlongStepWeightCorrection. THis is needed for a correct propagation 187 of weight correction in different along step << 114 of weight correction in different along step actions. 188 115 189 10 Jul 2012: G.Cosmo (emadjoint-V09-05-02) 116 10 Jul 2012: G.Cosmo (emadjoint-V09-05-02) 190 - Explicitly use inclusion of headers for syst 117 - Explicitly use inclusion of headers for system of units and physical 191 constants, in plan to remove implicit inclus 118 constants, in plan to remove implicit inclusion from globals.hh. 192 119 193 08 Jun 2012: V.Ivanchenko (emadjoint-V09-05-01 120 08 Jun 2012: V.Ivanchenko (emadjoint-V09-05-01) 194 - Fixed shadowing 121 - Fixed shadowing 195 122 196 06 Jun 2012: V.Ivanchenko (emadjoint-V09-05-00 123 06 Jun 2012: V.Ivanchenko (emadjoint-V09-05-00) 197 - G4AdjointhMultipleScattering - comment out o 124 - G4AdjointhMultipleScattering - comment out obsolete call 198 125 199 24 Jun 2011: V.Ivanchenko (emadjoint-V09-04-03 126 24 Jun 2011: V.Ivanchenko (emadjoint-V09-04-03) 200 - G4AdjointAlongStepWeightCorrection,G4Continu 127 - G4AdjointAlongStepWeightCorrection,G4ContinuousGainOfEnergy, 201 G4VEmAdjointModel - fixed initialisation of << 128 G4VEmAdjointModel - fixed initialisation of currentCouple 202 class member in constructor (Valgrind repor 129 class member in constructor (Valgrind report) 203 130 204 10 Jun 2011: G.Cosmo (emadjoint-V09-04-02) 131 10 Jun 2011: G.Cosmo (emadjoint-V09-04-02) 205 - Fixed initialization of index in G4VAdjointR 132 - Fixed initialization of index in G4VAdjointReverseReaction constructor, 206 also causing compilation warning. 133 also causing compilation warning. 207 134 208 31 May 2011: L.Desorgher (emadjoint-V09-04-01) 135 31 May 2011: L.Desorgher (emadjoint-V09-04-01) 209 Coverity fixes 136 Coverity fixes 210 -G4AdjointAlongStepWeightCorrection 137 -G4AdjointAlongStepWeightCorrection 211 -add delete of fParticleChange in destructor 138 -add delete of fParticleChange in destructor of (defect 20316) 212 -Initialise scalar attributes and remove cur 139 -Initialise scalar attributes and remove currentTCut attribute (defect 15568) 213 -G4AdjointBremsstrahlungModel 140 -G4AdjointBremsstrahlungModel 214 -add delete of theDirectStdBremModel and the 141 -add delete of theDirectStdBremModel and theEmModelManagerForFwdModels in 215 destructor (defect 23146) 142 destructor (defect 23146) 216 -remove the attribute theTimer (defect 20317 143 -remove the attribute theTimer (defect 20317) 217 -Initialize lastCZ in constructor (defect 15 144 -Initialize lastCZ in constructor (defect 15569) 218 -G4AdjointCSManager 145 -G4AdjointCSManager 219 -Initialize currentCouple, currentMaterial, 146 -Initialize currentCouple, currentMaterial, and lastMaterial in constructor 220 (defect 20343) 147 (defect 20343) 221 -G4AdjointCSMatrix 148 -G4AdjointCSMatrix 222 -Initialize dlog in constructor (defect 1520 149 -Initialize dlog in constructor (defect 15203) 223 -G4AdjointComptonModel 150 -G4AdjointComptonModel 224 -Initialize G4direct_CS in constructor (defe 151 -Initialize G4direct_CS in constructor (defect 15570) 225 -G4AdjointInterpolator 152 -G4AdjointInterpolator 226 -Comment dead code in FindPositionForLogVect 153 -Comment dead code in FindPositionForLogVector (defect 14959) 227 -G4AdjointPhotoElectricModel 154 -G4AdjointPhotoElectricModel 228 -Add initialization of some attributes in co 155 -Add initialization of some attributes in constructor (defect 15572) 229 -G4AdjointhIonisationModel 156 -G4AdjointhIonisationModel 230 -Remove unused attributes (defect 15573) 157 -Remove unused attributes (defect 15573) 231 -Initialize theAdjEquivOfDirectPrimPartDef o 158 -Initialize theAdjEquivOfDirectPrimPartDef outside if condition (defect 15573) 232 -G4AdjointhMultipleScattering 159 -G4AdjointhMultipleScattering 233 -Add some initialization of attributes in co 160 -Add some initialization of attributes in constructor (defect 15574) 234 -G4ContinuousGainOfEnergy 161 -G4ContinuousGainOfEnergy 235 -Add some initialization of attributes in co 162 -Add some initialization of attributes in constructor (defect 15575) 236 -G4VAdjointReverseReaction 163 -G4VAdjointReverseReaction 237 -Add some initialization of attributes in co 164 -Add some initialization of attributes in constructor (defect 15576) 238 -G4VEmAdjointModel 165 -G4VEmAdjointModel 239 -Comment dead code in GetAdjointCrossSection 166 -Comment dead code in GetAdjointCrossSection (defect 23168) 240 -Neglect at the moment coverity bug 20612-20 167 -Neglect at the moment coverity bug 20612-20618. 241 << 168 242 << 169 243 27 May 2011: L. Desorgher (emadjoint-V09-04-00 170 27 May 2011: L. Desorgher (emadjoint-V09-04-00) 244 -Remove few unused variables to avoid compilat 171 -Remove few unused variables to avoid compilation warning with gcc-4.6.0. 245 172 246 11 Nov 2010: L. Desorgher (emadjoint-V09-03-02 173 11 Nov 2010: L. Desorgher (emadjoint-V09-03-02) 247 -G4AdjointBremsstrahlungModel: add a G4EmModel 174 -G4AdjointBremsstrahlungModel: add a G4EmModelManager to initialise properly, 248 the G4eBremsstrahlungModel used as forward m << 175 the G4eBremsstrahlungModel used as forward model. This allows to fix the 249 floating point exception detected when compi 176 floating point exception detected when compiling with G4FPE_DEBUG=1. 250 -G4AdjointhIonisation: 177 -G4AdjointhIonisation: 251 Remove a negative term in the expression of << 178 Remove a negative term in the expression of the adjoint 252 cross section (AdjointCrossSection method) 179 cross section (AdjointCrossSection method) and adapt the RapidSampleSecondaries method. 253 -G4VEmAdjointModel: << 180 -G4VEmAdjointModel: 254 Add a check on null cross section to avoid 181 Add a check on null cross section to avoid FPE. 255 182 256 3 Sep 2010: G.Cosmo (emadjoint-V09-03-01) 183 3 Sep 2010: G.Cosmo (emadjoint-V09-03-01) 257 - G4AdjointAlongStepWeightCorrection: get rid 184 - G4AdjointAlongStepWeightCorrection: get rid of call to non-Standard isnan(), 258 replaced by explicit validity test. << 185 replaced by explicit validity test. 259 186 260 12 Apr 2010: V.Ivanchenko (emadjoint-V09-03-00 187 12 Apr 2010: V.Ivanchenko (emadjoint-V09-03-00) 261 - G4AdjointhMultipleScattering: removed obsole 188 - G4AdjointhMultipleScattering: removed obsolete unused header. 262 189 263 23 Nov 2009: G.Cosmo (emadjoint-V09-02-02) 190 23 Nov 2009: G.Cosmo (emadjoint-V09-02-02) 264 - Corrected compilation error on Windows for G 191 - Corrected compilation error on Windows for G4AdjointAlongStepWeightCorrection. 265 192 266 20 Nov 2009: L.Desorgher (emadjoint-V09-02-01) 193 20 Nov 2009: L.Desorgher (emadjoint-V09-02-01) 267 - Replace C++ type by G4 type where needed and 194 - Replace C++ type by G4 type where needed and adding of G4 disclaimer. 268 195 269 10 Nov 2009: L.Desorgher (emadjoint-V09-02-00) 196 10 Nov 2009: L.Desorgher (emadjoint-V09-02-00) 270 - Commit of the electromagnetic adjoint proce 197 - Commit of the electromagnetic adjoint processes for the release of the all adjoint machinery into Geant4. 271 Compared to the first commit, all e- process 198 Compared to the first commit, all e- processes have been improved and adjoint proton and ion ionisation have been added. 272 The use of adjoint cross section matrices ca << 199 The use of adjoint cross section matrices can be now limited only to e- Ionisation and Ion ionisation. 273 The GNUmakefile has been modified by adding << 200 The GNUmakefile has been modified by adding -I$(G4BASE)/geometry/navigation/include in CPPFLAGS. 274 201 275 14 Nov 2008: G.Cosmo (emadjoint-V09-01-00) 202 14 Nov 2008: G.Cosmo (emadjoint-V09-01-00) 276 - First commit. 203 - First commit. 277 204 278 205 279 206