Geant4 Cross Reference |
1 # Category proccuts History 2 3 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 4 which **must** added in reverse chronological order (newest at the top). 5 It must **not** be used as a substitute for writing good git commit messages! 6 7 ------------------------------------------------------------------------------- 8 9 ## 2023-10-24 Ivana Hrivnacova (proccuts-V11-01-01) 10 - G4ProductionCutsTable - Added method CreateCoupleTables() 11 separated from UpdateCoupleTable() needed to prepare 12 class data for usafe new SetEnergyCutVector(...) 13 14 ## 2023-09-29 Vladimir Ivantchenko (proccuts-V11-01-00) 15 - G4ProductionCutsTable - added method SetEnergyCutVector(...) 16 requested by ALICE experiment 17 18 ## 2022-11-16 Gabriele Cosmo (proccuts-V11-00-06) 19 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 20 21 ## 2022-06-01 Vladimir Ivantchenko (proccuts-V11-00-05) 22 - G4VRangeToEnergyConverter - do not set lock inside private static 23 method; code clean-up 24 - G4ProductionCuts - removed unnecessary thread local variables; 25 code clean-up and simplified 26 27 ## 2022-06-13 Sergio Losilla (proccuts-V11-00-04) 28 - Added warning when trying to set cuts for particles other than 29 gamma, e-, e+ or proton. 30 31 ## 2022-05-07 Vladimir Ivantchenko (proccuts-V11-00-03) 32 - G4VRangeToEnergyConverter - fixed static methods to provide 33 initialisation of energy limits independently on order of 34 calls in user code; use G4Autoloack to simplify the code; 35 use "s" prefix for static class members 36 37 ## 2022-03-14 Ivana Hrivnacova (proccuts-V11-00-02) 38 - G4VRangeToEnergyConverter - fixed clearing of static data 39 in destructor 40 41 ## 2022-01-19 Vladimir Ivantchenko (proccuts-V11-00-01) 42 - G4VRangeToEnergyConverter - fixed construction/destruction of 43 static data (initial problem identified by I. Hrivnacova) 44 45 ## 2021-12-10 Ben Morgan (proccuts-V11-00-00) 46 - Change to new Markdown History format 47 48 --- 49 50 # History entries prior to 11.0 51 52 October. 12th, 2021 - V.Ivanchenko (proccuts-V10-07-05) 53 - G4PhysicsTableHelper - fixed Coverity warning due to index type, 54 removed G4ThreadLocal variable, substitute old cerr by 55 G4Exception (old printouts are kept), removed unused headers 56 - G4MCCIndexConversionTable - changed inline functions -only one 57 return is left instead of two 58 59 September. 1th, 2021 - V.Ivanchenko (proccuts-V10-07-04) 60 - G4VRangeToEnergyConverter, G4RToEConvForPositron, 61 G4RToEConvForElectron, G4RToEConvForGamma, G4RToEConvForProton 62 Simplified the design - do not use G4PhysicsTable and 63 G4PhysicsVector but convert range cut to production threshold 64 directly; expected memory reduction for big detectors and 65 some speed-up of initialisation 66 67 July. 18th, 2021 - V.Ivanchenko (proccuts-V10-07-03) 68 - G4VRangeToEnergyConverter - updated interfaces to G4PhysicsVector 69 70 July. 11th, 2021 - V.Ivanchenko (proccuts-V10-07-02) 71 - G4PhysicsTableHelper - fixed minor Coverity report 72 73 May. 26th, 2021 - V.Ivanchenko (proccuts-V10-07-01) 74 - G4PhysicsTableHelper - updated interface to Retrieve(..) method 75 76 Apr. 16th, 2021 - B. Morgan (proccuts-V10-07-00) 77 - Migrate build to modular CMake API 78 79 Jun. 5th, 2020 - G.Cosmo (procuts-V10-06-00) 80 - Revision for use of c++11 constructs. Code cleanup and formatting. 81 82 Nov. 19th, 2019 - G.Cosmo (procuts-V10-05-02) 83 - Fixed cases of implicit type conversions from size_t to G4int. 84 85 Apr. 24th, 2019 - M.Asai (procuts-V10-05-01) 86 - Add protection against premature call to G4ProductionCutsTable. 87 88 Mar. 11th, 2019 - G.Cosmo (procuts-V10-05-00) 89 - Fixed typos in printouts in G4PhysicsTableHelper and G4ProductionCutsTable. 90 91 Aug. 13th, 2018 - H.Kurashige (procuts-V10-04-00) 92 - clean up codes (use nullptr, and so on ) 93 94 Oct. 4th, 2015 - M.Asai (procuts-V10-01-05) 95 - G4VRangeToEnergyConverter: recover Reset() to its destructor. 96 97 Aug. 10th, 2015 - H.Kurashige (procuts-V10-01-04) 98 - Modify loop_counter for better performance 99 100 Aug. 9th, 2015 - H.Kurashige (procuts-V10-01-03) 101 - Remove while loop from G4VRangeToEnergyConverter::ConvertCutToKineticEnergy 102 103 May. 25th, 2014 - H.Kurashige (procuts-V10-00-02) 104 - Fix Coverity defects in G4VRangeToEnergyConverter 105 106 Apr. 27th, 2014 - H.Kurashige (procuts-V10-00-01) 107 - Fix Coverity defects in G4VRangeToEnergyConverter 108 109 Jan. 23rd, 2014 - H.Kurashige (procuts-V10-00-00) 110 - Fix compiler warning in G4ProcessCutsTable.cc 111 112 Nov. 21st, 2013 - H.Kurashige (procuts-V09-06-09) 113 - Fix Coverity defects in G4VRangeToEnergyConverter destructor 114 115 Nov. 21st, 2013 - H.Kurashige (procuts-V09-06-08) 116 - Fix Coverity defects in G4VRangeToEnergyConverter CTOR 117 118 July 21st, 2013 - H.Kurashige (procuts-V09-06-07) 119 - Fix the bug in G4ProductionCuts copy constructor 120 121 June 21st, 2013 - M.Asai (procuts-V09-06-06) 122 - G4ProductionCutstable: print out energy thresholds regardless of 123 G4MaterialCutsCouple::IsReCalcNeeded(). 124 125 June 16th, 2013 - M.Asai (procuts-V09-06-05) 126 - G4VRangeToEnergyConverter: stop calling Reset() from its destructor. 127 128 June 5th, 2013 - V.Ivanchenko (procuts-V09-06-04) 129 G4VRangeToEnergyConverter: members LowestEnergy, HighestEnergy, 130 MaxEnergyCut become static and not G4ThreadLocal - this 131 is needed to fix FPE crash in MT mode; fixed all loops for 132 G4PhysicsLogVector - upper index is nbins+1 133 134 June 4th, 2013 - H.Kurashige (procuts-V09-06-03) 135 - Modify G4RToEConvForXXX to remove unnecessary static declaration 136 (Some static variables are moved to simple member of the class) 137 138 May. 30th, 2013 - G.Cosmo (procuts-V09-06-02) 139 - Added protection to initialisation of static data in 140 G4VRangeToEnergyConverter constructor. 141 NOTE: static data in G4VRangeToEnergyConverter should eventually NOT be 142 thread-local, as related modifiers should be called -only- at 143 initialisation phase (by physics-lists). This needs to be verified 144 so that thread-local specifications can be safely removed! 145 Is it also -bad- practice to have a -base- class like 146 G4VRangeToEnergyConverter containing static data that can be modified 147 through static methods, as these can be modified before the actual 148 constructor is called (as it is not a singleton)!! Needs to review 149 this as well! 150 151 May. 29th, 2013 - G.Cosmo (procuts-V09-06-01, procuts-V09-06-00) 152 - Cleanup from automatic MT changes in G4VRangeToEnergyConverter, 153 G4ProductionCuts and G4RToEConvForElectron. 154 155 Jul. 5th, 2012 - G.Cosmo (procuts-V09-05-04) 156 - Explicitly use inclusion of headers for system of units and physical 157 constants, in plan to remove implicit inclusion from globals.hh. 158 159 Jun. 20th, 2012 - G.Cosmo (procuts-V09-05-03) 160 - Fixed compilation warning in G4VRangeToEnergyConverter when 161 G4_NO_VERBOSE is set. 162 163 Jun. 7th, 2012 - G.Cosmo (procuts-V09-05-02) 164 - Fixed spurious cases of hidden variable visibility, detected with 165 '-Wshadow' compilation option on gcc compiler. 166 167 Apr. 27th, 2012 - H.Kurashige (procuts-V09-05-01) 168 - Fix a bug in G4ProductionCutsTable::RetrieveCutsInfo 169 (TAINED_SCALAR by Coverity) 170 171 Aug. 10th, 2011 - M.Asai (procuts-V09-04-05) 172 - Introducing parallel layered mass geometry. 173 Material-cuts-couple is now updated for all worlds. 174 Modified: G4ProductionCutsTable.cc 175 176 Aug. 3rd, 2011 - H.Kurashige (procuts-V09-04-04) 177 - Fix erros reported by Coverity 178 G4VRangeToEnergyConverter.cc G4ProductionCutsTable.cc 179 180 May 13rd, 2011 - H.Kurashige (procuts-V09-04-03) 181 - Fix compiler warnings in G4RToEConvForGamma.cc 182 183 May 3rd, 2011 - H.Kurashige (procuts-V09-04-01,-02) 184 - Fix erros reported by Coverity 185 186 Jan. 26th, 2011 - H.Kurashige (procuts-V09-04-00) 187 - Add protection in G4ProductionCuts::SetProductionCuts 188 to check consistencies of size of given vector 189 - Define error codes for G4Exceptions 190 191 Oct. 7th, 2010 - H.Kurashige (procuts-V09-03-01) 192 - Fixed a possible memory leak soource 193 194 Jan. 22th, 2010 - H.Kurashige (procuts-V09-03-00) 195 - Fixed G4ProductionCutTable to solve problems with zero range for protons 196 197 Nov. 12th, 2009 - H.Kurashige (procuts-V09-02-08) 198 - Correfct spelling of /cuts/setMaxCutEnergy command 199 200 Nov. 11th, 2009 - H.Kurashige (procuts-V09-02-07) 201 - Add /cuts/setMaxCutEnregy command 202 203 Sep. 14th, 2009 - H.Kurashige (procuts-V09-02-06) 204 - Add G4ProductionCutTable::ResetConverters() 205 to clear loss tables and range vectors 206 207 Sep. 12th, 2009 - H.Kurashige (procuts-V09-02-05) 208 - Modify G4VRangeToEnergyConverter::ConvertCutToKineticEnergy 209 to improve performance 210 211 Sep. 11th, 2009 - H.Kurashige (procuts-V09-02-04) 212 - Modify BuildRangeVector where integration is perfomed in this method 213 (i.e. not using RangeXXSimpson methods) 214 - G4VRangeToEnergyConverter::BuildRangeVector is for e+/e- 215 - G4VRangeToEnergyConverter::TotBin is changed to constant (i.e. same for all converters) 216 - Remove RToEConverter for neutron, anti-protprtton, and anti-neutron 217 218 Sep. 10th, 2009 - H.Kurashige (procuts-V09-02-03) 219 - Add G4VRangeToEnergyConverter::MaxEnergyCut 220 ( 10 GeV is set in default) 221 - Add G4VRangeToEnergyConverter::fRangeVectorStore 222 to ensure that RangeVector is created only one for each material 223 - Set G4VRangeToEnergyConverter::TotBin to 100 224 ( 200 for previous versions) 225 226 Aug. 1st, 2009 - H.Kurashige (procuts-V09-02-02) 227 - Add cuts for proton 228 (need co-work with G4VUserPhysicsList update) 229 230 July 29, 2009 - H.Kurashige (procuts-V09-02-01) 231 - Add implemtentaion of G4VRangeToEnergyConverter::GetParticleType 232 233 May 2nd, 2009 - H.Kurashige (procuts-V09-02-00) 234 - Use std::fabs instead of std::abs. 235 236 March 2nd, 2008 - H.Kurashige (procuts-V09-01-00) 237 - Add ProductionCutsMessenger 238 - Suppress 'too big cut value' messsage for higher verbosity 239 240 June 6th, 2007 - L.Urban (procuts-V08-03-01) 241 - Fix in G4VRangeToEnergyConverter::convert(), range-energu conversion, 242 correcting artifact observed in the visible energy plot over range-cut, 243 where a jump in the distribution was evident. 244 The correction can influence the result only for the tests, where 245 the e+/e- energy cuts are below 30 keV and even in this case the change 246 in results should be small. 247 248 May 30th, 2007 - H.Kurashige (procuts-V08-03-00) 249 - Fix G4ProductionCutsTable::CheckMaterialCutsCoupleInfo 250 251 March 15th, 2007 - H.Kurashige (procuts-V08-02-00) 252 - Add G4ProductionCutsTable::ConvertRangeToEnergy 253 254 June 9th, 2006 - H.Kurashige (procuts-V08-00-03) 255 - Fix memory leak in G4ProductionCutsTable and G4PhysicsTableHelper 256 257 June 1st, 2006 - H.Kurashige (procuts-V08-00-02) 258 - Fix memory leak in G4ProductionCutsTable 259 260 261 May 26th, 2006 - H.Kurashige (procuts-V08-00-01) 262 - Fix memory leak in G4VRangeToEnergyConverter::BuildLossTable 263 264 265 January 18th, 2006 - H.Kurashige (procuts-V08-00-00) 266 - Fix G4VRangeToEnergyConverter::Convert to recalculate the Energy Loss table 267 if new elements are added 268 269 November 18th, 2005 - M.Asai (procuts-V07-01-01) 270 - migration to sstream. 271 272 October 28th, 2005 - M.Asai (procuts-V07-01-00) 273 - Working tag for merging "envelope" to G4Region. 274 275 December 2nd, 2004 - H.Kurashige (procuts-V06-02-03) 276 - migration to cmath 277 278 November 7th, 2004 - H.Kurashige (procuts-V06-02-02) 279 - Fixed misspelling in method name for G4PhysicsTableHelper::RetrievePhysicsTable 280 281 October 25th, 2004 - H.Kurashige (procuts-V06-02-01) 282 - Add G4MCCIndexConversionTable and modify G4ProductionCutsTable 283 in order to extend functionality of Store/RetrievePhysicsTable 284 - Add G4PhysicsTableHelper in order to assist implementation of 285 new scheme of Store/RetrievePhysicsTable for processes 286 287 288 September 28th, 2004 - M.Asai (procuts-V06-02-00) 289 - Fixed bug in G4ProductionCutsTable for the update of materials/cuts 290 couple for dynamic setups where material may vary, like in the case 291 of parameterization of detectors through material. 292 - The tag coworks with the geometry tags: "geommng-V06-02-02" and 293 "geomnav-V06-02-04". 294 295 June 7th, 2004 - G.Cosmo (procuts-V06-01-01) 296 - Moved usage of statics in inline functions to non-inline to allow 297 porting for DLLs on Windows. Modified G4ProductionCuts[.hh.cc]. 298 299 March 31st, 2004 - H.Kurashige (procuts-V06-01-00) 300 - Modify G4ProductionCutsTable::RetrieveCutsTable to allow 301 ordering of materials and couples can be different from 302 one in file 303 304 November 8th, 2003 - H.Kurashige (procuts-V05-02-03) 305 - Fixed bugs in G4VRangeToEnergyConverter (and related class) 306 - Revised error messages in retreiving ProductionCutsTable 307 308 November 7th, 2003 - H.Kurashige (procuts-V05-02-02) 309 - Revised error messages in retreiving ProductionCutsTable 310 311 November 3th, 2003 - H.Kurashige (procuts-V05-02-01) 312 - Modified error messages in retreiving ProductionCutsTable 313 - Add verboseLevel in G4ProductionCutsTable 314 315 September 19th, 2003 - G.Cosmo (procuts-V05-02-00) 316 - Created new sub-category 'cuts'. 317 Moved classes from particles/management.