Geant4 Cross Reference |
1 # Category param 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 ## 2023-11-21 I. Hrivnacova (param-V11-01-04) << 9 This file should be used by G4 developers and category coordinators 10 - In G4GlobalFastSimulationManager: << 10 to briefly summarize all major modifications introduced in the code 11 use G4ThreadLocalSingleton to avoid undelete << 11 and keep track of all category-tags. 12 << 12 It DOES NOT substitute the CVS log-message one should put at every 13 ## 2023-10-18 Ben Morgan (param-V11-01-03) << 13 committal in the CVS repository ! 14 - Apply standard and extended clang-tidy fixes << 14 15 - Mark empty/obsolete functions as deprecated << 15 ---------------------------------------------------------- 16 << 16 * Reverse chronological order (last date on top), please * 17 ## 2023-10-16 Ben Morgan (param-V11-01-02) << 17 ---------------------------------------------------------- 18 - Apply standard clang-format-ing. << 19 - Normal order accessors and docstrings. << 20 << 21 ## 2023-09-04 Gabriele Cosmo (param-V11-01-01) << 22 - In G4FastTrack, removed references to G4Touc << 23 which is now deprecated. << 24 << 25 ## 2023-03-23 Anna Zaborowska (param-V11-01-00 << 26 - Added missing virtual destructor to G4VFastS << 27 << 28 ## 2022-11-23 Gabriele Cosmo (param-V11-00-04) << 29 - Fixed compilation warnings for implicit type << 30 << 31 ## 2022-10-27 Makoto Asai (param-V11-00-03) << 32 - G4FastSimHitMaker - making compatible to com << 33 << 34 ## 2022-08-24 Vladimir Ivanchenko (param-V11-0 << 35 - G4FastStep - delete copy constructor and ope << 36 << 37 ## 2022-01-19 Witek Pokorski (param-V11-00-01) << 38 - Adding the 'flush' method to the fast simula << 39 This method allows to process the input buff << 40 the end of the G4 event. It is used when par << 41 The 'flash' is triggered inside the event lo << 42 The fast simulation model may add secondarie << 43 by Geant4. << 44 << 45 ## 2021-12-10 Ben Morgan (param-V11-00-00) << 46 - Change to new Markdown History format << 47 << 48 --- << 49 << 50 # History entries prior to 11.0 << 51 << 52 April 16, 2021 Ben Morgan (param-V10-07-00) << 53 - Migrate build to modular CMake API << 54 18 55 October 5, 2020, A. Zaborowska (param-V10-06-0 19 October 5, 2020, A. Zaborowska (param-V10-06-03) 56 - Introduce general facilities based on GFlash 20 - Introduce general facilities based on GFlash implementation 57 to facilitate multiple hit (energy & positio 21 to facilitate multiple hit (energy & position) creation 58 from fast simulation models. 22 from fast simulation models. 59 23 60 September 9, 2020, G. Cosmo (param-V10-06-02) 24 September 9, 2020, G. Cosmo (param-V10-06-02) 61 - Fixed minor Coverity defect for uninitialise 25 - Fixed minor Coverity defect for uninitialised data in G4FastStep. 62 26 63 April 21, 2020, A. Zaborowska (param-V10-06-01 27 April 21, 2020, A. Zaborowska (param-V10-06-01) 64 - Sanity check for root logical volumes for re 28 - Sanity check for root logical volumes for regions in G4GlobalFastSimulationManager. 65 UI command /param/showSetup works also if no 29 UI command /param/showSetup works also if no parallel world is present. 66 30 67 March 26, 2020, I. Semeniouk (param-V10-06-00) 31 March 26, 2020, I. Semeniouk (param-V10-06-00) 68 - G4FastSimulationHelper : merge ActivateFastS 32 - G4FastSimulationHelper : merge ActivateFastSimulation calls for mass and parallel geometries cases 69 - G4FastSimulationManager.hh, G4VFastSimulatio 33 - G4FastSimulationManager.hh, G4VFastSimulationModel.hh : remove 70 redefinition of G4Envelope type 34 redefinition of G4Envelope type 71 35 72 October 30, 2019, A. Zaborowska (param-v10-05- 36 October 30, 2019, A. Zaborowska (param-v10-05-00) 73 - Register G4FastSimulationManagerProcess with 37 - Register G4FastSimulationManagerProcess with highest ordering in 74 G4FastSimulationManagerHelper to ensure it i 38 G4FastSimulationManagerHelper to ensure it is the only process 75 invoked for a given step (ExclusivelyForced) 39 invoked for a given step (ExclusivelyForced) and no other 76 StronglyForced processes will be considered. 40 StronglyForced processes will be considered. 77 41 78 December 19, 2017, G. Cosmo (param-V10-04-00) 42 December 19, 2017, G. Cosmo (param-V10-04-00) 79 - Fixed self-consistency in G4FastSimulationVe 43 - Fixed self-consistency in G4FastSimulationVector header (missing #include). 80 Thanks to Raphael Isemann for reporting this 44 Thanks to Raphael Isemann for reporting this. 81 45 82 November 03, 2016, M. Verderi (param-V10-02-01 46 November 03, 2016, M. Verderi (param-V10-02-01) 83 - New G4FastSimulationManagerHelper utility fo 47 - New G4FastSimulationManagerHelper utility for 84 adding G4FastSimulationManagerProcess to a 48 adding G4FastSimulationManagerProcess to a 85 process manager. 49 process manager. 86 50 87 November 02, 2016, M. Verderi (param-V10-02-00 51 November 02, 2016, M. Verderi (param-V10-02-00) 88 - fix various Coverity defects. 52 - fix various Coverity defects. 89 53 90 March 27, 2013, M. Verderi (param-V09-06-00) 54 March 27, 2013, M. Verderi (param-V09-06-00) 91 - remove unused field 'fOnBoundary' in G4FastS 55 - remove unused field 'fOnBoundary' in G4FastSimulationManagerProcess.hh 92 as this was causing a warning from clang. 56 as this was causing a warning from clang. 93 57 94 July 10, 2012, G. Cosmo (param-V09-05-00) 58 July 10, 2012, G. Cosmo (param-V09-05-00) 95 - Explicitly use inclusion of headers for syst 59 - Explicitly use inclusion of headers for system of units and physical 96 constants, in plan to remove implicit inclus 60 constants, in plan to remove implicit inclusion from globals.hh. 97 61 98 September 30, 2011, M. Verderi (param-V09-04-0 62 September 30, 2011, M. Verderi (param-V09-04-03) 99 - Added missing new header file (G4FastSimulat 63 - Added missing new header file (G4FastSimulationProcessType.hh) in 100 sources.cmake. 64 sources.cmake. 101 65 102 September 30, 2011, M. Verderi (param-V09-04-0 66 September 30, 2011, M. Verderi (param-V09-04-02) 103 - Migration to new G4Exception scheme. 67 - Migration to new G4Exception scheme. 104 - what is V09-04-01 tag ? 68 - what is V09-04-01 tag ? 105 69 106 February 11, 2011, M. Verderi (param-V09-04-00 70 February 11, 2011, M. Verderi (param-V09-04-00) 107 - Implementation of method 71 - Implementation of method 108 void ProposePrimaryTrackFinalKineticEnergy ( 72 void ProposePrimaryTrackFinalKineticEnergy (G4double); 109 was missing : modified file G4FastStep.icc 73 was missing : modified file G4FastStep.icc 110 74 111 March 13, 2008, G. Cosmo (param-V09-01-00) 75 March 13, 2008, G. Cosmo (param-V09-01-00) 112 - Cleared compilation warnings in G4FastSimula 76 - Cleared compilation warnings in G4FastSimulationManagerProcess and 113 G4FastSimulationMessenger on gcc-4.3.0 for a 77 G4FastSimulationMessenger on gcc-4.3.0 for ambiguous use of 114 parentheses in nested if-else statements. 78 parentheses in nested if-else statements. 115 79 116 November 30, 2007, M. Verderi 80 November 30, 2007, M. Verderi 117 - Add Along methods to G4FSMP process 81 - Add Along methods to G4FSMP process 118 - tag as param-V09-00-01 82 - tag as param-V09-00-01 119 83 120 November 30, 2007, M. Verderi 84 November 30, 2007, M. Verderi 121 - minor corrections to G4FastSimulationManager << 85 - minor corrections to G4FastSimulationManagerProcess.hh/.cc : 122 * add call fPathFinder->prepareNewrack(...) 86 * add call fPathFinder->prepareNewrack(...) 123 * deactivate ghost navigator in EndOfTracki 87 * deactivate ghost navigator in EndOfTracking(..) method 124 - tag as param-V09-00-00 88 - tag as param-V09-00-00 125 89 126 May 18, 2007, M. Verderi 90 May 18, 2007, M. Verderi 127 - tag as param-V08-03-00 91 - tag as param-V08-03-00 128 92 129 May 11, 2007, M. Verderi 93 May 11, 2007, M. Verderi 130 - remove include/G4FastSimulationManagerProces 94 - remove include/G4FastSimulationManagerProcess81.hh 131 include/G4FlavoredParallelWorld.hh 95 include/G4FlavoredParallelWorld.hh 132 include/G4GFSManager81.hh 96 include/G4GFSManager81.hh 133 src/G4FastSimulationManagerProcess81. 97 src/G4FastSimulationManagerProcess81.cc 134 src/G4GFSManager81.cc 98 src/G4GFSManager81.cc 135 99 136 100 137 November 10, 2006, M. Verderi - param-V08-01-0 101 November 10, 2006, M. Verderi - param-V08-01-00 138 - Limited number of warning messages printed b 102 - Limited number of warning messages printed by the 139 G4GlobalFastSimulationManager. 103 G4GlobalFastSimulationManager. 140 - Renamed G4FastSimulationManagerProcess_forCo 104 - Renamed G4FastSimulationManagerProcess_forCoupledTransportation with 141 G4FastSimulationManagerProcess81. 105 G4FastSimulationManagerProcess81. 142 In addition, this class can now handle the c 106 In addition, this class can now handle the case of Navigator index=0, 143 i.e., the navigator for tracking, regardless 107 i.e., the navigator for tracking, regardless the G4Transportation or 144 G4CoupledTransportation is used. (For other 108 G4CoupledTransportation is used. (For other navigators, there is 145 of course no choice, and G4CoupledTransporta 109 of course no choice, and G4CoupledTransportation is necessary.) 146 110 147 November 3, 2006 M. Verderi 111 November 3, 2006 M. Verderi 148 - Introduced G4FastSimulationManagerProcess_fo 112 - Introduced G4FastSimulationManagerProcess_forCoupledTransportation class for 149 handling fast simulation in new parallel geo 113 handling fast simulation in new parallel geometry scheme. This requires 150 the G4CoupledTransportation to be active. 114 the G4CoupledTransportation to be active. 151 - Introduced G4GFSManager81 class that gathers 115 - Introduced G4GFSManager81 class that gathers the future code to become the 152 default at next major release in the G4Globa 116 default at next major release in the G4GlobalFastSimulationManager class. 153 - G4FastSimulationManager: adapted to new sche 117 - G4FastSimulationManager: adapted to new scheme. Still has old code for 154 backward compatibilty. 118 backward compatibilty. 155 - G4FastSimulationManagerProcess: mostly the s 119 - G4FastSimulationManagerProcess: mostly the same, apart from a small bug fix. 156 - G4FastSimulationMessenger: new command creat 120 - G4FastSimulationMessenger: new command created "/param/showSetup", useful 157 to show the fast simulation setup (region, m 121 to show the fast simulation setup (region, models, processes, etc...) 158 It is only valid for geometry closed state. 122 It is only valid for geometry closed state. Desirable to have interactive 159 command in the run manager for this. 123 command in the run manager for this. 160 124 161 November 25, 2005, M.Verderi - param-V07-01-0 125 November 25, 2005, M.Verderi - param-V07-01-04 162 - put back Makoto's change: StartTracking(G4Tr 126 - put back Makoto's change: StartTracking(G4Track*) 163 127 164 November 25, 2005, M Verderi - param-V07-01-03 128 November 25, 2005, M Verderi - param-V07-01-03 165 - Make ghost functionnality available with G4R 129 - Make ghost functionnality available with G4Region 166 - ** Note ** Change back StartTracking(G4Track 130 - ** Note ** Change back StartTracking(G4Track*) -> StartTracking() in G4FSMP 167 StartTracking(G4Track*) was intro 131 StartTracking(G4Track*) was introduced in param-V07-01-02 168 because (I guess) of procman-V07-01-01 132 because (I guess) of procman-V07-01-01 169 This is to make param-V07-01-03 compatible w 133 This is to make param-V07-01-03 compatible with geant4-07-01-ref-05 170 134 171 November 21, 2005 M.Asai - param-V07-01-02 135 November 21, 2005 M.Asai - param-V07-01-02 172 - Fix warning message. 136 - Fix warning message. 173 137 174 November 02, 2005 G.Cosmo - param-V07-01-01 138 November 02, 2005 G.Cosmo - param-V07-01-01 175 - Corrected setting of envelope volumes and so 139 - Corrected setting of envelope volumes and solid in G4FastTrack. 176 - Migrated old scheme for G4Exception and some 140 - Migrated old scheme for G4Exception and some cosmetics... 177 141 178 October 28, 2005 M.Asai - param-V07-01-00 142 October 28, 2005 M.Asai - param-V07-01-00 179 - Working tag for merging "envelope" to G4Regi 143 - Working tag for merging "envelope" to G4Region. 180 144 181 December 07, 2004 G. Cosmo - param-V06-02-01 145 December 07, 2004 G. Cosmo - param-V06-02-01 182 - Implemented migration to <cmath>. 146 - Implemented migration to <cmath>. 183 147 184 November 26, 2004 M. Verderi - param-V06-02-00 148 November 26, 2004 M. Verderi - param-V06-02-00 185 - Implemented migration to new G4VParticleChan 149 - Implemented migration to new G4VParticleChange interfaces. 186 150 187 December 12, 2003 G. Cosmo - param-V06-00-00 151 December 12, 2003 G. Cosmo - param-V06-00-00 188 - G4FastSimulationVector.icc: use std_pvector: 152 - G4FastSimulationVector.icc: use std_pvector:: scope for calls to 189 base class. Fixes compilation problem on Int 153 base class. Fixes compilation problem on Intel-icc compiler. 190 154 191 November 10, 2003 G. Cosmo - param-V05-02-01 155 November 10, 2003 G. Cosmo - param-V05-02-01 192 - G4FastTrack: use G4Navigator::CreateTouchabl 156 - G4FastTrack: use G4Navigator::CreateTouchableHistoryHandle() instead of 193 CreateTouchableHistory() in method FRecordsA 157 CreateTouchableHistory() in method FRecordsAffineTransformation(). 194 158 195 October 4, 2003 G. Cosmo - param-V05-02-00 159 October 4, 2003 G. Cosmo - param-V05-02-00 196 - Modified GNUmakefile: 160 - Modified GNUmakefile: 197 o added dependency to new module "geometry/n 161 o added dependency to new module "geometry/navigation". 198 - Coworks with "geometry-V05-02-00" and "digit 162 - Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00". 199 163 200 May 21, 2003 G. Cosmo - param-V05-01-00 164 May 21, 2003 G. Cosmo - param-V05-01-00 201 o Fixed pedantic warnings on Linux-g++ 165 o Fixed pedantic warnings on Linux-g++. 202 o Call base class in copy-constructor 166 o Call base class in copy-constructor of G4FastStep. 203 167 204 Nov 20, 2002 G. Cosmo - param-V04-01-02 168 Nov 20, 2002 G. Cosmo - param-V04-01-02 205 o Patched access to public static data in G4 169 o Patched access to public static data in G4FastStep.cc 206 and G4GlobalFastSimulationManager.cc to al 170 and G4GlobalFastSimulationManager.cc to allow porting on 207 Windows DLLs. 171 Windows DLLs. 208 172 209 Nov 15, 2002 S. Sadilov - param-V04-01-01 173 Nov 15, 2002 S. Sadilov - param-V04-01-01 210 o Fixed compilation problems on Windows in 174 o Fixed compilation problems on Windows in 211 G4FastSimulationManager.cc and G4GlobalFas 175 G4FastSimulationManager.cc and G4GlobalFastSimulationManager.cc 212 176 213 Nov 02, 2002 M. Verderi - param-V04-01-00 177 Nov 02, 2002 M. Verderi - param-V04-01-00 214 o Add method to retrieve G4VFastSimulationMo 178 o Add method to retrieve G4VFastSimulationModel by name. 215 The user's method is in G4GlobalFastSimula 179 The user's method is in G4GlobalFastSimulationManager: 216 180 217 GetFastSimulationModel(); 181 GetFastSimulationModel(); 218 182 219 it is accompagnied by same methods name in 183 it is accompagnied by same methods name in 220 G4FastSimulationManager class. 184 G4FastSimulationManager class. 221 185 222 o Add "test" directory, used to test above f 186 o Add "test" directory, used to test above feature. 223 187 224 Oct 26, 2001 M. Verderi - param-V03-02-00 188 Oct 26, 2001 M. Verderi - param-V03-02-00 225 Fixes to clear warnings produced with gcc-2. 189 Fixes to clear warnings produced with gcc-2.95.2: 226 - loop index, where comparison with method " 190 - loop index, where comparison with method "size()" of 227 G4std::vector<T>, changed: int -> size_t << 191 G4std::vector<T>, changed: int -> size_t 228 - change "if ( a=b ) {..}" by "if ( (a=b) ) 192 - change "if ( a=b ) {..}" by "if ( (a=b) ) {...}" 229 this makes the compiler sure you want to mak 193 this makes the compiler sure you want to make an 230 assignement in the "if" condition 194 assignement in the "if" condition 231 - re-order initialisations of a few variable 195 - re-order initialisations of a few variables in constructors 232 to match the declaration order. 196 to match the declaration order. 233 Some warnings still exist, but regard the G4 197 Some warnings still exist, but regard the G4Propagator of geometry. 234 198 235 Apr 3, 2001 J. Apostolakis - param-V03-00-00 199 Apr 3, 2001 J. Apostolakis - param-V03-00-00 236 - Modified G4FastSimulationManagerProcess call 200 - Modified G4FastSimulationManagerProcess call to PropagatorInField ComputeStep 237 to use new interface with G4FieldTrack (in 201 to use new interface with G4FieldTrack (in place of now obsolete interface.) 238 202 239 Nov 14, 2000 G. Cosmo - param-V02-00-01 203 Nov 14, 2000 G. Cosmo - param-V02-00-01 240 - Moved specific parameterisation models to th 204 - Moved specific parameterisation models to the new top category 241 "parameterisations". Moved files: 205 "parameterisations". Moved files: 242 G4FoamXrayTRmodel[.hh.cc], G4GamDistrXrayTRm 206 G4FoamXrayTRmodel[.hh.cc], G4GamDistrXrayTRmodel[.hh.cc], 243 G4IrregularXrayTRmodel[.hh.cc], G4PAIcluster 207 G4IrregularXrayTRmodel[.hh.cc], G4PAIclusterModel[.hh.cc], 244 G4PhotoClusterModel[.hh.cc], G4PlateIrrGasXr 208 G4PhotoClusterModel[.hh.cc], G4PlateIrrGasXrayTRmodel[.hh.cc], 245 G4RegularXrayTRmodel[.hh.cc], G4VClusterMode 209 G4RegularXrayTRmodel[.hh.cc], G4VClusterModel[.hh.cc], 246 G4VXrayTRmodel[.hh.cc]. 210 G4VXrayTRmodel[.hh.cc]. 247 - Cleaned-up GNUmakefile of non necessary depe 211 - Cleaned-up GNUmakefile of non necessary dependencies. 248 212 249 Aug 03, 2000 G. Cosmo - param-V02-00-00r 213 Aug 03, 2000 G. Cosmo - param-V02-00-00r 250 - Changed RandGauss to G4RandGauss in G4Irregu 214 - Changed RandGauss to G4RandGauss in G4IrregularXrayTRmodel.cc and 251 G4VXrayTRmodel.cc to fix events' reproducibi 215 G4VXrayTRmodel.cc to fix events' reproducibility problem. 252 - G4VXrayTRmodel.cc: fix to class destructor ( 216 - G4VXrayTRmodel.cc: fix to class destructor (V.Grichine) 253 217 254 Jun 15, 2000 G. Cosmo - param-V01-01-04 218 Jun 15, 2000 G. Cosmo - param-V01-01-04 255 - The tag coworks with global-V01-01-04 and ma 219 - The tag coworks with global-V01-01-04 and materials-V01-01-00: 256 o Fixed usage of G4complex type for ISO and 220 o Fixed usage of G4complex type for ISO and non-ISO compilers. 257 Affected files: G4FoamXrayTRmodel.cc, G4Ga 221 Affected files: G4FoamXrayTRmodel.cc, G4GamDistrXrayTRmodel.cc, G4PlateIrrGasXrayTRmodel.cc 258 and G4RegularXrayTRmodel.c 222 and G4RegularXrayTRmodel.cc. 259 In case of G4complex types passed to mathe 223 In case of G4complex types passed to mathematical functions, use G4std:: prefix. 260 o Fixed usage of G4Integrator class, now cha 224 o Fixed usage of G4Integrator class, now changed to templated to allow porting of the 261 code on SUN-CC compiler which does not imp 225 code on SUN-CC compiler which does not implement templated member functions. 262 Affected files: G4VXrayTRmodel[.hh.cc] 226 Affected files: G4VXrayTRmodel[.hh.cc] 263 227 264 Jun 6, 2000 M. Verderi & P. Mora de Freitas 228 Jun 6, 2000 M. Verderi & P. Mora de Freitas 265 - fixed compilation errors with HP-aCC for the 229 - fixed compilation errors with HP-aCC for the files G4RegularXrayTRmodel.cc, 266 G4GamDistrXrayTRmodel.cc and G4FoamXrayTRmod 230 G4GamDistrXrayTRmodel.cc and G4FoamXrayTRmodel.cc. 267 231 268 May 30, 2000 M. Verderi & P. Mora de Freitas 232 May 30, 2000 M. Verderi & P. Mora de Freitas 269 233 270 - parameterisation category is now RW free. 234 - parameterisation category is now RW free. 271 235 272 September 16, 1999 M. Verderi & P. Mora de Fre 236 September 16, 1999 M. Verderi & P. Mora de Freitas 273 237 274 - Fixed bug in G4FastStep::CheckIt() method. 238 - Fixed bug in G4FastStep::CheckIt() method. 275 239 276 April 19, 1999 M. Verderi & P. Mora de Freitas 240 April 19, 1999 M. Verderi & P. Mora de Freitas 277 241 278 Changes in G4FastStep to co-work with track-01 242 Changes in G4FastStep to co-work with track-01-00-04: 279 243 280 1) The method void CheckIt(const G4Track&) bec << 244 1) The method void CheckIt(const G4Track&) becomes 281 G4bool CheckIt(const G4Track&); 245 G4bool CheckIt(const G4Track&); 282 2) The FAST_STEP_DEBUG compiling option disapp 246 2) The FAST_STEP_DEBUG compiling option disappears; 283 3) Call to CheckIt controled by the G4VParticl 247 3) Call to CheckIt controled by the G4VParticleChange::debugFlag attribute. 284 248 285 Miscellaneous: the declaration "G4double mass 249 Miscellaneous: the declaration "G4double mass = masss =..." in G4FastStep.hh 286 corrected to G4double mass =...". 250 corrected to G4double mass =...". 287 251 288 April 15, 1999 M. Verderi & P. Mora de Freitas 252 April 15, 1999 M. Verderi & P. Mora de Freitas 289 253 290 Tasks to decouple visualization from processes 254 Tasks to decouple visualization from processes/parameterisation: 291 255 292 1) G4GlobalFastSimulationManager now inherites 256 1) G4GlobalFastSimulationManager now inherites from the intercoms/ 293 G4VGlobalFastSimulationManager to allow visual << 257 G4VGlobalFastSimulationManager to allow visualisation to get a 294 concrete instance pointer to the G4GlobalFastS 258 concrete instance pointer to the G4GlobalFastSimulationManager, 295 if any. 259 if any. 296 260 297 2) G4FlavoredParallelWorld now inherites from 261 2) G4FlavoredParallelWorld now inherites from the intercoms/ 298 G4VFlavoredParallelWorld, a pure virtual abstr 262 G4VFlavoredParallelWorld, a pure virtual abstract class to interface 299 parameterisation with visualization. 263 parameterisation with visualization. 300 264 301 Co-works with intercoms-01-00-01 tag 265 Co-works with intercoms-01-00-01 tag 302 266 303 Modified files: 267 Modified files: 304 --------------- 268 --------------- 305 G4FlavoredParallelWorld.hh 269 G4FlavoredParallelWorld.hh 306 G4GlobalFastSimulationManager.hh 270 G4GlobalFastSimulationManager.hh 307 G4GlobalFastSimulationManager.cc 271 G4GlobalFastSimulationManager.cc 308 272 309 Done, tested, system-tested on HP-aCC with exe 273 Done, tested, system-tested on HP-aCC with exemple N05. 310 274 311 April 14, 1999 M. Verderi & P. Mora de Freitas 275 April 14, 1999 M. Verderi & P. Mora de Freitas 312 276 313 Several consolidation tasks (thanks to G. Cosm 277 Several consolidation tasks (thanks to G. Cosmo): 314 278 315 1) Warning: << 279 1) Warning: 316 ----------- 280 ----------- 317 281 318 Pointers usage 282 Pointers usage 319 283 320 - Setting pointers to 0 after delete: 284 - Setting pointers to 0 after delete: 321 285 322 delete pA; 286 delete pA; 323 pA = 0; 287 pA = 0; 324 288 325 - Avoid to use "NULL". 289 - Avoid to use "NULL". 326 290 327 Modified files: 291 Modified files: 328 --------------- 292 --------------- 329 G4FastSimulationManager.hh 293 G4FastSimulationManager.hh 330 G4FastTrack.hh 294 G4FastTrack.hh 331 G4FlavoredParallelWorld.hh 295 G4FlavoredParallelWorld.hh 332 G4FastSimulationManager.cc 296 G4FastSimulationManager.cc 333 G4FastSimulationMessenger.cc 297 G4FastSimulationMessenger.cc 334 G4FastSimulationManagerProcess.cc 298 G4FastSimulationManagerProcess.cc 335 G4FastTrack.cc 299 G4FastTrack.cc 336 G4GlobalFastSimulationManager.cc 300 G4GlobalFastSimulationManager.cc 337 G4VFastSimulationModel.cc 301 G4VFastSimulationModel.cc 338 302 339 Status: << 303 Status: 340 ------- 304 ------- 341 Done, tested, system-tested on HP-aCC with exe 305 Done, tested, system-tested on HP-aCC with exemple N05. 342 306 343 2) Warning: 307 2) Warning: 344 ----------- 308 ----------- 345 include/G4FastSimulationManager.hh:163 309 include/G4FastSimulationManager.hh:163 346 Public member functions shall always retur 310 Public member functions shall always return const handles to member data 347 Severe violation: Universal Coding Standar 311 Severe violation: Universal Coding Standards item 18 348 312 349 offending code: 313 offending code: 350 --------------- 314 --------------- 351 inline G4VParticleChange* G4FastSimulationMana 315 inline G4VParticleChange* G4FastSimulationManager::GettheParticleChange() 352 { 316 { 353 return &fFastStep; 317 return &fFastStep; 354 } 318 } 355 319 356 Diagnostic: 320 Diagnostic: 357 ---------- 321 ---------- 358 322 359 Called by the G4FastSimulationManagerProcess << 323 Called by the G4FastSimulationManagerProcess to return it in the 360 PostStepDoIt call. << 324 PostStepDoIt call. 361 325 362 Action: 326 Action: 363 ------- 327 ------- 364 The G4FastSimulationManager::GettheParticleCha 328 The G4FastSimulationManager::GettheParticleChange() method doesn't exist any 365 more. The G4VParticleChange* is now returned d 329 more. The G4VParticleChange* is now returned directly when invoking the 366 G4FastSimulationManager::InvokePostStepDoIt() 330 G4FastSimulationManager::InvokePostStepDoIt() and 367 G4FastSimulationManager::InvokeAtRestDoIt() me 331 G4FastSimulationManager::InvokeAtRestDoIt() methodes. 368 332 369 Modified files: 333 Modified files: 370 --------------- 334 --------------- 371 G4FastSimulationManager.hh 335 G4FastSimulationManager.hh 372 G4FastSimulationManager.cc 336 G4FastSimulationManager.cc 373 G4FastSimulationManagerProcess.cc 337 G4FastSimulationManagerProcess.cc 374 338 375 Status: << 339 Status: 376 ------- 340 ------- 377 Done, tested, system-tested on HP-aCC with exe 341 Done, tested, system-tested on HP-aCC with exemple N05. 378 342 379 3) Warning: 343 3) Warning: 380 ----------- 344 ----------- 381 include/G4FastSimulationManagerProcess.hh:52 345 include/G4FastSimulationManagerProcess.hh:52 382 If a class has virtual functions it shall 346 If a class has virtual functions it shall have a virtual destructor 383 Severe violation: Universal Coding Standar 347 Severe violation: Universal Coding Standards item 17 384 class G4FastSimulationManagerProcess has v 348 class G4FastSimulationManagerProcess has virtual functions without a virtual destructor. 385 349 386 offending code: 350 offending code: 387 --------------- 351 --------------- 388 ~G4FastSimulationManagerProcess(); 352 ~G4FastSimulationManagerProcess(); 389 353 390 Diagnostic: 354 Diagnostic: 391 ---------- 355 ---------- 392 Nobody should inherites from G4FastSimulatio << 356 Nobody should inherites from G4FastSimulationManagerProcess BUT for virtual 393 is added. 357 is added. 394 358 395 Action: 359 Action: 396 ------- 360 ------- 397 virtual ~G4FastSimulationManagerProcess(); 361 virtual ~G4FastSimulationManagerProcess(); 398 362 399 Modified files: 363 Modified files: 400 --------------- 364 --------------- 401 G4FastSimulationManagerProcess.hh 365 G4FastSimulationManagerProcess.hh 402 366 403 Status: << 367 Status: 404 ------- 368 ------- 405 Done. 369 Done. 406 370 407 4) Warning: 371 4) Warning: 408 ----------- 372 ----------- 409 include/G4FastSimulationMessenger.hh:36 373 include/G4FastSimulationMessenger.hh:36 410 If a class has virtual functions it shall 374 If a class has virtual functions it shall have a virtual destructor 411 Severe violation: Universal Coding Standar 375 Severe violation: Universal Coding Standards item 17 412 class G4FastSimulationMessenger has virtua 376 class G4FastSimulationMessenger has virtual functions without a virtual destructor. 413 377 414 378 415 offending code: 379 offending code: 416 --------------- 380 --------------- 417 ~G4FastSimulationMessenger(); 381 ~G4FastSimulationMessenger(); 418 382 419 Diagnostic: 383 Diagnostic: 420 ---------- 384 ---------- 421 Nobody should inherites from G4FastSimulatio << 385 Nobody should inherites from G4FastSimulationMessenger BUT for virtual 422 is added. 386 is added. 423 387 424 Action: 388 Action: 425 ------- 389 ------- 426 virtual ~G4FastSimulationMessenger(); 390 virtual ~G4FastSimulationMessenger(); 427 391 428 Modified files: 392 Modified files: 429 --------------- 393 --------------- 430 G4FastSimulationMessenger.hh 394 G4FastSimulationMessenger.hh 431 395 432 Status: << 396 Status: 433 ------- 397 ------- 434 Done. 398 Done. 435 399 436 5) Warning: 400 5) Warning: 437 ----------- 401 ----------- 438 include/G4FastStep.hh:224 402 include/G4FastStep.hh:224 439 Operator= should call base class operator= 403 Operator= should call base class operator= 440 Possible severe violation: Effective C++ i 404 Possible severe violation: Effective C++ item 16 441 operator= in class G4FastStep, should call 405 operator= in class G4FastStep, should call operator= in base class G4VParticleChange 442 406 443 offending code: 407 offending code: 444 --------------- 408 --------------- 445 G4FastStep & G4FastStep::operator=(const G4Fas 409 G4FastStep & G4FastStep::operator=(const G4FastStep &right) 446 { 410 { 447 if (this != &right) 411 if (this != &right) 448 { 412 { 449 theListOfSecondaries = right.th 413 theListOfSecondaries = right.theListOfSecondaries; 450 theSizeOftheListOfSecondaries = right.th 414 theSizeOftheListOfSecondaries = right.theSizeOftheListOfSecondaries; 451 theNumberOfSecondaries = right.th 415 theNumberOfSecondaries = right.theNumberOfSecondaries; 452 theStatusChange = right.th 416 theStatusChange = right.theStatusChange; 453 theMomentumChange = right.th 417 theMomentumChange = right.theMomentumChange; 454 thePolarizationChange = right.th 418 thePolarizationChange = right.thePolarizationChange; 455 thePositionChange = right.th 419 thePositionChange = right.thePositionChange; 456 theTimeChange = right.th 420 theTimeChange = right.theTimeChange; 457 theEnergyChange = right.th 421 theEnergyChange = right.theEnergyChange; 458 theTrueStepLength = right.th 422 theTrueStepLength = right.theTrueStepLength; 459 theLocalEnergyDeposit = right.th 423 theLocalEnergyDeposit = right.theLocalEnergyDeposit; 460 theSteppingControlFlag = right.th 424 theSteppingControlFlag = right.theSteppingControlFlag; 461 theWeightChange = right.th 425 theWeightChange = right.theWeightChange; 462 } 426 } 463 return *this; 427 return *this; 464 } 428 } 465 429 466 Diagnostic: 430 Diagnostic: 467 ---------- 431 ---------- 468 Bug detected. 432 Bug detected. 469 433 470 Action: 434 Action: 471 ------- 435 ------- 472 Insert the call 436 Insert the call 473 G4VParticleChange::operator=(right); 437 G4VParticleChange::operator=(right); 474 438 475 Status: 439 Status: 476 ------- 440 ------- 477 Done, tested, system-tested on HP-aCC with e 441 Done, tested, system-tested on HP-aCC with exemple N05. 478 442 479 Modified files: 443 Modified files: 480 --------------- 444 --------------- 481 G4FastStep.cc 445 G4FastStep.cc 482 446 483 6) Warning: 447 6) Warning: 484 ----------- 448 ----------- 485 include/G4FastStep.hh:59 449 include/G4FastStep.hh:59 486 Avoid data members in the public interface 450 Avoid data members in the public interface 487 Violation: Effective C++ item 20 451 Violation: Effective C++ item 20 488 Public data members for class G4FastStep: 452 Public data members for class G4FastStep: 489 debugFlag 453 debugFlag 490 454 491 455 492 offending code: 456 offending code: 493 --------------- 457 --------------- 494 public: 458 public: 495 ... 459 ... 496 G4bool debugFlag; 460 G4bool debugFlag; 497 461 498 Diagnostic: 462 Diagnostic: 499 ---------- 463 ---------- 500 Historical usage. 464 Historical usage. 501 465 502 Action: 466 Action: 503 ------- 467 ------- 504 Replaced by #ifdef FAST_STEP_DEBUG in the G4 468 Replaced by #ifdef FAST_STEP_DEBUG in the G4FastStep.cc file. 505 469 506 Modified files: 470 Modified files: 507 --------------- 471 --------------- 508 G4FastStep.hh, G4FastStep.cc 472 G4FastStep.hh, G4FastStep.cc 509 473 510 Status: 474 Status: 511 ------- 475 ------- 512 Done, tested, system-tested on HP-aCC with e 476 Done, tested, system-tested on HP-aCC with exemple N05. 513 477 514 7) Warning: 478 7) Warning: 515 ----------- 479 ----------- 516 include/G4FastStep.hh:59 480 include/G4FastStep.hh:59 517 If a class has virtual functions it shall 481 If a class has virtual functions it shall have a virtual destructor 518 Severe violation: Universal Coding Standar 482 Severe violation: Universal Coding Standards item 17 519 class G4FastStep has virtual functions wit 483 class G4FastStep has virtual functions without a virtual destructor. 520 484 521 485 522 offending code: 486 offending code: 523 --------------- 487 --------------- 524 ~G4FastStep(); 488 ~G4FastStep(); 525 489 526 Diagnostic: 490 Diagnostic: 527 ---------- 491 ---------- 528 Nobody should inherites from G4FastStep BUT 492 Nobody should inherites from G4FastStep BUT virtual added. 529 493 530 Action: 494 Action: 531 ------- 495 ------- 532 virtual ~G4FastStep(); 496 virtual ~G4FastStep(); 533 497 534 Modified files: 498 Modified files: 535 --------------- 499 --------------- 536 G4FastStep.hh 500 G4FastStep.hh 537 501 538 Status: 502 Status: 539 ------- 503 ------- 540 Done, tested, system-tested on HP-aCC with e 504 Done, tested, system-tested on HP-aCC with exemple N05. 541 505 542 506 543 December 7, 1998 M. Verderi 507 December 7, 1998 M. Verderi 544 G4FastSimulationManagerProcess class: 508 G4FastSimulationManagerProcess class: 545 Fixes made for ghost navigation with 509 Fixes made for ghost navigation with 546 mag-field: 510 mag-field: 547 LocateGlobalPointAndUpdateTouchable is 511 LocateGlobalPointAndUpdateTouchable is 548 always used (in not the Locate...Setup 512 always used (in not the Locate...Setup 549 method) 513 method) 550 In PostStepDoIt: correction of position and 514 In PostStepDoIt: correction of position and 551 direction of the track are made when << 515 direction of the track are made when 552 possible in case of mag-field. 516 possible in case of mag-field. 553 This correction comes from the fact that a 517 This correction comes from the fact that a 554 small discrepancy appears on those quantitie 518 small discrepancy appears on those quantities 555 because of the numerical integration along 519 because of the numerical integration along 556 the field on the track path: the G4FSMP 520 the field on the track path: the G4FSMP 557 proposes a curve-length, the transportation 521 proposes a curve-length, the transportation 558 moves the track along this curve, however 522 moves the track along this curve, however 559 the end point position and direction are 523 the end point position and direction are 560 slightly different from those expected by 524 slightly different from those expected by 561 the G4FSMP when it proposed the length. 525 the G4FSMP when it proposed the length. 562 526 563 November 20,1998 M. Verderi 527 November 20,1998 M. Verderi 564 G4FastStep class: 528 G4FastStep class: 565 Remove track/G4BiasingTag.hh dependancy (ob 529 Remove track/G4BiasingTag.hh dependancy (obsolete). 566 Adapted to new shceme of Event Biasing mech 530 Adapted to new shceme of Event Biasing mechanism, 567 consistently with track-00-04-01 tag. 531 consistently with track-00-04-01 tag. 568 532 569 November 11,1998 M. Verderi 533 November 11,1998 M. Verderi 570 Merge of param-00-03-02 & param-00-03-02a i 534 Merge of param-00-03-02 & param-00-03-02a into 571 param-00-03-04a (hopefully...) 535 param-00-03-04a (hopefully...) 572 The point is the chnage of signature in the 536 The point is the chnage of signature in the 573 LocateGlobalPointAndSetup(..) of the G4Navi 537 LocateGlobalPointAndSetup(..) of the G4Navigator making use now 574 of the track direction. The G4FastSimulatio 538 of the track direction. The G4FastSimulationManagerProcess is 575 changed accordingly: 539 changed accordingly: 576 fGhostNavigator.LocateGlobalPointAndSetup(t 540 fGhostNavigator.LocateGlobalPointAndSetup(track.GetPosition(), &direction, true); 577 541 578 542 579 November 6, 1998 M. Verderi 543 November 6, 1998 M. Verderi 580 - Extension of the G4FastStep to allow the 544 - Extension of the G4FastStep to allow the biasing technic. 581 Changes are made in: 545 Changes are made in: 582 - G4FastStep.hh/.icc: 546 - G4FastStep.hh/.icc: 583 new member G4BiasingTa 547 new member G4BiasingTag fBiasTag; 584 new method SetPrimaryT 548 new method SetPrimaryTrackFinalBiasingTag 585 ( G4BiasingTag 549 ( G4BiasingTag aTag ); 586 - G4FastStep.cc: 550 - G4FastStep.cc: 587 Initialize(); 551 Initialize(); 588 operator=; << 552 operator=; 589 UpdateForPostStep(); 553 UpdateForPostStep(); 590 UpdateForAtRest(); << 554 UpdateForAtRest(); 591 555 592 October 26, 1998 P.Mora de Freitas 556 October 26, 1998 P.Mora de Freitas 593 - G4FastSimulationManagerProcess and G4Fast 557 - G4FastSimulationManagerProcess and G4FastSimulationManager adapted to deal 594 with at rest parameterisations also when 558 with at rest parameterisations also when using parallel geometry. 595 559 596 October 8, 1998 P.Mora de Freitas 560 October 8, 1998 P.Mora de Freitas 597 - The G4VFastSimulationModel::IsApplicable( 561 - The G4VFastSimulationModel::IsApplicable() becomes a pure virtual 598 methode. 562 methode. 599 - G4FastSimulationManager optimisation: 563 - G4FastSimulationManager optimisation: 600 - New G4ParticleDefinition* fLastCrossedP 564 - New G4ParticleDefinition* fLastCrossedParticle data member, keeps 601 the last particle type with touched the 565 the last particle type with touched the envelope; 602 - New G4RWTPtrOrderedVector<G4VFastSimula 566 - New G4RWTPtrOrderedVector<G4VFastSimulationModel> fApplicableModelList 603 data member, keeps the model list of th << 567 data member, keeps the model list of the applicable models for 604 the actual fLastCrossedParticle particl 568 the actual fLastCrossedParticle particle type; 605 - Changes in the PostStepGetFastSimulatio << 569 - Changes in the PostStepGetFastSimulationManagerTrigger() and 606 AtRestGetFastSimulationManagerTrigger() << 570 AtRestGetFastSimulationManagerTrigger()methodes to update the 607 fApplicableModelList when needed (fLast 571 fApplicableModelList when needed (fLastCrossedParticle != 608 the actual tracked particle); 572 the actual tracked particle); 609 - Changes in the << 573 - Changes in the 610 G4FastSimulationManager() (Constructor) 574 G4FastSimulationManager() (Constructor) 611 ActivateFastSimulationModel(), 575 ActivateFastSimulationModel(), 612 InActivateFastSimulationModel(), 576 InActivateFastSimulationModel(), 613 AtRestGetFastSimulationManagerTrigger(), 577 AtRestGetFastSimulationManagerTrigger(), 614 AddFastSimulationModel(), 578 AddFastSimulationModel(), 615 RemoveFastSimulationModel() 579 RemoveFastSimulationModel() 616 methodes to set the fLastCrossedParticle to 580 methodes to set the fLastCrossedParticle to NULL, forcing the 617 fApplicableModelList to be rebuilt. 581 fApplicableModelList to be rebuilt. 618 582 619 September 22, 1998 P.Mora de Freitas 583 September 22, 1998 P.Mora de Freitas 620 Fixed bug in parallel navigation. << 584 Fixed bug in parallel navigation. 621 File touched: G4FastSimulationManagerProces 585 File touched: G4FastSimulationManagerProcess.cc 622 Tested on HP-aCC. 586 Tested on HP-aCC. 623 587 624 September 17, 1998 P.Mora de Freitas 588 September 17, 1998 P.Mora de Freitas 625 G4FastSimulationManager::RemoveFastSimulati 589 G4FastSimulationManager::RemoveFastSimulationModel() updated to look 626 for also in the fInactivatedModels list. 590 for also in the fInactivatedModels list. 627 591 628 Tested on HP-aCC. 592 Tested on HP-aCC. 629 593 630 September 16, 1998 P.Mora de Freitas 594 September 16, 1998 P.Mora de Freitas 631 New /param/ control commands: 595 New /param/ control commands: 632 596 633 /param/ActivateModel <ModelName> 597 /param/ActivateModel <ModelName> 634 /param/InActivateModel <ModelName> 598 /param/InActivateModel <ModelName> 635 599 636 Activate or inactivate a given parameterisat 600 Activate or inactivate a given parameterisation model. 637 601 638 Tested on HP-aCC. 602 Tested on HP-aCC. 639 603 640 August 21, 1998 P.Mora de Freitas 604 August 21, 1998 P.Mora de Freitas 641 G4FastSimulationManagerProcess's G4ProcessTy 605 G4FastSimulationManagerProcess's G4ProcessType set to 642 fParameterisation, accordingly with procman-00 606 fParameterisation, accordingly with procman-00-02-03. 643 607 644 Tested on HP-aCC. 608 Tested on HP-aCC. 645 609 646 August 12, 1998 P.Mora de Freitas 610 August 12, 1998 P.Mora de Freitas 647 Improved the "close parameterisation control << 611 Improved the "close parameterisation control" to 648 612 649 1) avoid the close looping when unnecessary 613 1) avoid the close looping when unnecessary (mostly cases); 650 2) force re-close when necessary (insert/rem 614 2) force re-close when necessary (insert/remove ghosts). 651 615 652 Changes: 616 Changes: 653 617 654 1) the G4GlobalFastSimulationManager::fClose << 618 1) the G4GlobalFastSimulationManager::fClosed is now initialised 655 to true by the G4GlobalFastSimulationMana 619 to true by the G4GlobalFastSimulationManager constructor; 656 620 657 2) new method << 621 2) new method 658 622 659 void << 623 void 660 G4GlobalFastSimulationManager::FastSimula 624 G4GlobalFastSimulationManager::FastSimulationNeedsToBeClosed(); 661 625 662 called by the AddGhostPlacement and Remov << 626 called by the AddGhostPlacement and RemoveGhostPlacement 663 G4FastSimulationManager methods to set fa 627 G4FastSimulationManager methods to set false the fClosed flag; 664 628 665 3) changes in the G4GlobalFastSimulationMana 629 3) changes in the G4GlobalFastSimulationManager::Notify method 666 to deal with these changes. 630 to deal with these changes. 667 631 668 Tested on HP-aCC. 632 Tested on HP-aCC. 669 633 670 August 11, 1998 P.Mora de Freitas 634 August 11, 1998 P.Mora de Freitas 671 Fix to the G4FastStep::KillPrimaryTrack() me 635 Fix to the G4FastStep::KillPrimaryTrack() method to drop the 672 nonsense line 636 nonsense line 673 637 674 SetMomentumChange(0.,0.,0.) ; /* necessary ? 638 SetMomentumChange(0.,0.,0.) ; /* necessary ? */ 675 639 676 Tested on HP-aCC. 640 Tested on HP-aCC. 677 (Thanks to Willy Langeveld) 641 (Thanks to Willy Langeveld) 678 642 679 643 680 August 10, 1998 P.Mora de Freitas 644 August 10, 1998 P.Mora de Freitas 681 Fix to the SetPrimaryTrackFinalKineticEnergy 645 Fix to the SetPrimaryTrackFinalKineticEnergyAndDirection() method 682 from the G4FastStep class the SetMomentumChang 646 from the G4FastStep class the SetMomentumChange() call to insure that 683 the new momentum direction is a unit vector (a << 647 the new momentum direction is a unit vector (as asked by the 684 G4DynamicParticle::SetMomentumDirection method 648 G4DynamicParticle::SetMomentumDirection method). 685 649 686 Touched files: G4FastStep.hh (improved comme 650 Touched files: G4FastStep.hh (improved comments) 687 G4FastStep.cc (fixed) 651 G4FastStep.cc (fixed) 688 652 689 Tested on HP-aCC. 653 Tested on HP-aCC. 690 (Thanks to Willy Langeveld) 654 (Thanks to Willy Langeveld) 691 655 692 August 7, 1998 P.Mora de Freitas 656 August 7, 1998 P.Mora de Freitas 693 New /param/ commands directory with the comm 657 New /param/ commands directory with the commands: 694 658 695 /param/listEnvelopes [ParticleName] 659 /param/listEnvelopes [ParticleName] 696 660 697 - List all the envelope names for a given pa 661 - List all the envelope names for a given particle 698 (or for all particles if without parameter 662 (or for all particles if without parameters). 699 663 700 /param/listModels [EnvelopeName] 664 /param/listModels [EnvelopeName] 701 665 702 - List all the Model names for a given envel 666 - List all the Model names for a given envelope 703 (or for all envelopes if without parameter 667 (or for all envelopes if without parameters). 704 668 705 /param/listIsApplicable [ModelName] 669 /param/listIsApplicable [ModelName] 706 670 707 - List all the particle names a given model 671 - List all the particle names a given model is applicable 708 (or for all models if without parameters). 672 (or for all models if without parameters). 709 673 710 674 711 August 7, 1998 P.Mora de Freitas 675 August 7, 1998 P.Mora de Freitas 712 History file Created. 676 History file Created.