Geant4 Cross Reference |
1 # Example field03 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 field03 History file 8 << 8 -------------------- 9 ## 2024-09-30 Gabriele Cosmo (fieldex03-V11-02 << 9 This file should be used by the G4 example coordinator to briefly 10 - Use GeometryHasBeenModified() in place of Re << 10 summarize all major modifications introduced in the code and keep 11 DetectorCostruction UI commands implementati << 11 track of all tags. 12 << 12 13 ## 2024-09-25 Gabriele Cosmo (fieldex03-V11-02 << 13 ---------------------------------------------------------- 14 - Minor simplification in F03DetectorConstruct << 14 * Reverse chronological order (last date on top), please * 15 << 15 ---------------------------------------------------------- 16 ## 2024-09-18 Gabriele Cosmo (fieldex03-V11-02 << 17 - Migrated to use G4RunManagerFactory. << 18 - Use default MixMax random generator. << 19 << 20 ## 2024-04-29 Ivana Hrivnacova (fieldex03-V11- << 21 - Replaced FieldSetup and FieldMessenger class << 22 field builder class (G4FieldBuilder) << 23 - Moved setting field value (ThreeVector) from << 24 in DetectorConstruction and its messenger an << 25 setting Z-value only << 26 << 27 ## 2023-07-05 Ivana Hrivnacova (fieldex03-V11- << 28 - Clang-tidy, new coding guidelines << 29 - Clean-up trailing white-spaces << 30 << 31 ## 2021-12-10 Ben Morgan (fieldex03-V11-00-00) << 32 - Change to new Markdown History format << 33 << 34 --- << 35 << 36 # History entries prior to 11.0 << 37 16 38 July 27, 2018 I.Hrivnacova - fieldex03-V10-04- 17 July 27, 2018 I.Hrivnacova - fieldex03-V10-04-02 39 - Added commands: 18 - Added commands: 40 /field/setField Bx By Bz unit 19 /field/setField Bx By Bz unit 41 /field/setLocalField Bx By Bz unit 20 /field/setLocalField Bx By Bz unit 42 - Fixed geometry (corrected overlaps, paramete << 21 - Fixed geometry (corrected overlaps, parameters handling) 43 - Activated checkOverlaps in G4PVPlacements 22 - Activated checkOverlaps in G4PVPlacements 44 - Macro review and code clean-up: 23 - Macro review and code clean-up: 45 - Removed EventAction, RunAction, RunActionM 24 - Removed EventAction, RunAction, RunActionMessenger 46 used only for storing random numbers, alre 25 used only for storing random numbers, already available in kernel 47 - Separated other than visualization setting << 26 - Separated other than visualization settings from vis.mac in a 48 new init_vis.mac 27 new init_vis.mac 49 - Added test for commands defined in the exa << 28 - Added test for commands defined in the example at the end 50 of field02.in macro 29 of field02.in macro 51 - Improved visualization of geometry 30 - Improved visualization of geometry 52 - Added "beamOn 10" button in gui.mac 31 - Added "beamOn 10" button in gui.mac 53 - Updated README files 32 - Updated README files 54 33 55 May 15, 2018 J.Allison - fieldex03-V10-04-01 34 May 15, 2018 J.Allison - fieldex03-V10-04-01 56 - Remove G4UI_USE and G4VIS_USE. 35 - Remove G4UI_USE and G4VIS_USE. 57 - Move instantiation of G4UIExecutive to start 36 - Move instantiation of G4UIExecutive to start of main. 58 - vis.mac, gui.mac: Clean up. 37 - vis.mac, gui.mac: Clean up. 59 - F03RunAction.cc: Remove vis commands. 38 - F03RunAction.cc: Remove vis commands. 60 39 61 May 09, 2018 B.Morgan - fieldex03-V10-04-00 40 May 09, 2018 B.Morgan - fieldex03-V10-04-00 62 - Include G4Types before use of G4MULTITHREADE 41 - Include G4Types before use of G4MULTITHREADED. For forward 63 compatibility with move to #defines over -D 42 compatibility with move to #defines over -D for G4 preprocessor 64 symbols. 43 symbols. 65 44 66 Jun 2, 2017 - J.Apostolakis - fieldex03-V10- 45 Jun 2, 2017 - J.Apostolakis - fieldex03-V10-03-01 67 - renamed SetStepper() method to CreateStepper 46 - renamed SetStepper() method to CreateSteppers() 68 47 69 May 24, 2017 - J.Apostolakis - fieldex03-V10- 48 May 24, 2017 - J.Apostolakis - fieldex03-V10-03-00 70 - fixed valgrind issues in field setup's updat 49 - fixed valgrind issues in field setup's update method: first 71 delete all dependent objects, then create 50 delete all dependent objects, then create new ones. 72 51 73 November 19, 2016 A.Dotti - fieldex03-V10-02 52 November 19, 2016 A.Dotti - fieldex03-V10-02-04 74 - explicit set of SD to manager 53 - explicit set of SD to manager 75 54 76 November 02, 2016 L.Garnier - fieldex03-V10-02 55 November 02, 2016 L.Garnier - fieldex03-V10-02-03 77 - remove icons.mac. Automatically include sinc 56 - remove icons.mac. Automatically include since interfaces-V10-02-07 78 57 79 July 04, 2016 - I. Hrivnacova - fieldex03-V10- 58 July 04, 2016 - I. Hrivnacova - fieldex03-V10-02-02 80 - Fix for Doxygen documentation 59 - Fix for Doxygen documentation 81 60 82 July 01, 2016 - I. Hrivnacova - fieldex03-V10- 61 July 01, 2016 - I. Hrivnacova - fieldex03-V10-02-01 83 - Replaced F03PhysicsList with FTFP_BERT with 62 - Replaced F03PhysicsList with FTFP_BERT with G4StepLimiterPhysics 84 63 85 May 19, 2016 - G.Cosmo - fieldex03-V10-02-00 64 May 19, 2016 - G.Cosmo - fieldex03-V10-02-00 86 - Fixed compilation warnings on gcc-6.1 in F03 65 - Fixed compilation warnings on gcc-6.1 in F03FieldMessenger. 87 66 88 September 01, 2015 - I. Hrivnacova - fieldex03 67 September 01, 2015 - I. Hrivnacova - fieldex03-V10-01-00 89 - Removed F03EventActionMessenger class, now o << 68 - Removed F03EventActionMessenger class, now obsolete, and 90 replaced /event/printModulo commands in macr 69 replaced /event/printModulo commands in macros with /run/printProgress 91 - Code cleanup 70 - Code cleanup 92 71 93 December 02, 2013 72 December 02, 2013 94 - More fixes in gui.mac: 73 - More fixes in gui.mac: 95 Let execute vis.mac first to make the comman 74 Let execute vis.mac first to make the command in added menus available; 96 corrected wireframe parameter 75 corrected wireframe parameter 97 76 98 November 29, 2013 - I. Hrivnacova 77 November 29, 2013 - I. Hrivnacova 99 - Fixed gui.mac (commented out command specifi 78 - Fixed gui.mac (commented out command specific to B2 example) 100 79 101 November 28, 2013 - M.Asai - fieldex03-V09-06- 80 November 28, 2013 - M.Asai - fieldex03-V09-06-07 102 - Fix F03PrimaryGeneratorAction to avoid race 81 - Fix F03PrimaryGeneratorAction to avoid race condition problem. 103 82 104 November 28, 2013 - M.Asai - fieldex03-V09-06- 83 November 28, 2013 - M.Asai - fieldex03-V09-06-06 105 - Fix F03PhysicsList to avoid race condition p 84 - Fix F03PhysicsList to avoid race condition problem. 106 85 107 November 26, 2013 - I.Hrivnacova - fieldex03-V 86 November 26, 2013 - I.Hrivnacova - fieldex03-V09-06-05 108 - Fixed ConstructSDandField(): 87 - Fixed ConstructSDandField(): 109 Moved setting the SD and field manager to lo 88 Moved setting the SD and field manager to logical volume outside the tests 110 - Do not test (fAbsorberThickness > 0.) in Con 89 - Do not test (fAbsorberThickness > 0.) in ConstructCalorimeter() 111 as setting 0 is not allowed in set command << 90 as setting 0 is not allowed in set command 112 91 113 November 25, 2013 - I.Hrivnacova - fieldex03-V 92 November 25, 2013 - I.Hrivnacova - fieldex03-V09-06-04 114 - Put back cleaning volumes and solid stores i 93 - Put back cleaning volumes and solid stores in ConstructGeometry() 115 94 116 November 22, 2013 - P.Gumplinger - fieldex03-V 95 November 22, 2013 - P.Gumplinger - fieldex03-V09-06-03 117 - add gui.mac back in and removed fWorldChange 96 - add gui.mac back in and removed fWorldChanged 118 97 119 November 21, 2013 - I.Hrivnacova - fieldex03-V 98 November 21, 2013 - I.Hrivnacova - fieldex03-V09-06-02 120 - Use new G4RunManager::ReinitializeGeometry t << 99 - Use new G4RunManager::ReinitializeGeometry to trigger geometry rebuild 121 when geometry changes 100 when geometry changes 122 - Remove DetectorConstruction::Update and corr 101 - Remove DetectorConstruction::Update and corresponding UI command that 123 is not needed anymore 102 is not needed anymore 124 - Set "ToBeBroadcasted == false" for UI comman << 103 - Set "ToBeBroadcasted == false" for UI commands that modify detector 125 since these should be executed only by maste << 104 since these should be executed only by master 126 - Fixed main (do not call gui.mac which does n 105 - Fixed main (do not call gui.mac which does not exist) 127 - In F03FieldSetup: << 106 - In F03FieldSetup: 128 - Do not declare fLocalFieldManager thread-l 107 - Do not declare fLocalFieldManager thread-local 129 as the F03FieldSetup is already thread-loc 108 as the F03FieldSetup is already thread-local object 130 - Code clean-up << 109 - Code clean-up 131 110 132 November 12, 2013 P.Gumplinger - fieldex03-V09 111 November 12, 2013 P.Gumplinger - fieldex03-V09-06-01 133 - migration to MT and code cleanup 112 - migration to MT and code cleanup 134 113 135 July 29, 2013 P.Gumplinger - fieldex03-V09-06- 114 July 29, 2013 P.Gumplinger - fieldex03-V09-06-00 136 - fix MAC/clang32 compilation warnings 115 - fix MAC/clang32 compilation warnings 137 116 138 February 14, 2013 - I.Hrivnacova 117 February 14, 2013 - I.Hrivnacova 139 ----------------------------- 118 ----------------------------- 140 - Applied coding guidelines (data members init 119 - Applied coding guidelines (data members initialization); 141 tagged in examples/field 120 tagged in examples/field 142 121 143 October 17, 2012 - I.Hrivnacova - fieldex03-V0 122 October 17, 2012 - I.Hrivnacova - fieldex03-V09-05-00 144 ----------------------------- 123 ----------------------------- 145 - Applied coding guidelines, code clean-up 124 - Applied coding guidelines, code clean-up 146 125 147 August 16th, 2010 H.Kurashige - fieldex03-V09- 126 August 16th, 2010 H.Kurashige - fieldex03-V09-03-04 148 ----------------------------- 127 ----------------------------- 149 - Removed inclusion of G4ParticleWithCuts head 128 - Removed inclusion of G4ParticleWithCuts header. 150 129 151 June 2nd, 2010 J.Perl - fieldex03-V09-03-03 130 June 2nd, 2010 J.Perl - fieldex03-V09-03-03 152 --------------------- 131 --------------------- 153 - Updated vis usage. 132 - Updated vis usage. 154 133 155 May 12th, 2010 John Allison - fieldex03-V09-03 134 May 12th, 2010 John Allison - fieldex03-V09-03-02 156 --------------------------- 135 --------------------------- 157 - Introduced G4UIExecutive. 136 - Introduced G4UIExecutive. 158 137 159 Apr 8th, 2010 Gabriele Cosmo - fieldex03-V09-0 138 Apr 8th, 2010 Gabriele Cosmo - fieldex03-V09-03-01 160 ---------------------------- 139 ---------------------------- 161 - Removed unused pointers to G4MultipleScatter 140 - Removed unused pointers to G4MultipleScattering left... 162 141 163 Mar 25th, 2010 Gabriele Cosmo - fieldex03-V09- 142 Mar 25th, 2010 Gabriele Cosmo - fieldex03-V09-03-00 164 ----------------------------- 143 ----------------------------- 165 - Migrated physics list to use particle-based 144 - Migrated physics list to use particle-based multiple-scattering processes. 166 145 167 Nov 4th, 2009 Peter Gumplinger - fieldex03-V 146 Nov 4th, 2009 Peter Gumplinger - fieldex03-V09-02-00 168 -------------------------------- 147 -------------------------------- 169 - fix the density of STP Carbon Dioxide in Det 148 - fix the density of STP Carbon Dioxide in DetectorConstruction 170 149 171 May 23rd, 2007 John Apostolakis - fieldex03 150 May 23rd, 2007 John Apostolakis - fieldex03-V08-03-00 172 -------------------------------- 151 -------------------------------- 173 - Taken out FastSimulationManagerProcess, whic 152 - Taken out FastSimulationManagerProcess, which is not needed. 174 153 175 Apr 27th, 2007 Peter Gumplinger (fieldex03-V08 154 Apr 27th, 2007 Peter Gumplinger (fieldex03-V08-02-00) 176 - Fixed bug in F03FieldSetup: 155 - Fixed bug in F03FieldSetup: 177 fFieldManager = fLocalFieldManager = GetGlob 156 fFieldManager = fLocalFieldManager = GetGlobalFieldManager(); 178 fFieldManager->SetDetectorField(fMagneticFie 157 fFieldManager->SetDetectorField(fMagneticField ); 179 fLocalFieldManager->SetDetectorField(fLocalM 158 fLocalFieldManager->SetDetectorField(fLocalMagneticField ); 180 The above is a pointer copy and the two G4Fi 159 The above is a pointer copy and the two G4FieldManager point 181 to the same object; i.e. fLocalMagneticField 160 to the same object; i.e. fLocalMagneticField replaces fMagneticField 182 in the GlobalFieldManager. This is not at al 161 in the GlobalFieldManager. This is not at all the intended functionalty 183 supposed to be exhibited by this example! 162 supposed to be exhibited by this example! 184 163 185 Dec 6th, 2005 Gabriele Cosmo 164 Dec 6th, 2005 Gabriele Cosmo 186 ----------------------------- 165 ----------------------------- 187 - Trivial changes for support of CLHEP-2.0.X s 166 - Trivial changes for support of CLHEP-2.0.X series. 188 167 189 Oct 13th, 2005 Vladimir Grichine (fieldex03- 168 Oct 13th, 2005 Vladimir Grichine (fieldex03-V07-01-00) 190 --------------------------------- 169 --------------------------------- 191 - Removed cluster models from detector constru 170 - Removed cluster models from detector construction. 192 Coworks with gpara-V07-01-00. 171 Coworks with gpara-V07-01-00. 193 172 194 May 3rd, 2005 John Allison (examples-V07-00- 173 May 3rd, 2005 John Allison (examples-V07-00-03) 195 --------------------------- 174 --------------------------- 196 - Replaced vis manager with G4VisExecutive. 175 - Replaced vis manager with G4VisExecutive. 197 176 198 Dec 3rd, 2004 Gabriele Cosmo 177 Dec 3rd, 2004 Gabriele Cosmo 199 ---------------------------- 178 ---------------------------- 200 - Implemented migration to <cmath>. 179 - Implemented migration to <cmath>. 201 180 202 Dec 3rd, 2004 Vladimir Grichine 181 Dec 3rd, 2004 Vladimir Grichine 203 ------------------------------- 182 ------------------------------- 204 - Removed dependency on old PAI and XTR models 183 - Removed dependency on old PAI and XTR models in PhysicsList. 205 184 206 Sep 15rd, 2004 Vladimir Ivanchenko (fieldex03- 185 Sep 15rd, 2004 Vladimir Ivanchenko (fieldex03-V06-02-00) 207 ---------------------------------- 186 ---------------------------------- 208 - Minor cleanup of PhysicsList. 187 - Minor cleanup of PhysicsList. 209 188 210 Mar 23rd, 2004 John Apostolakis (fieldex03-V06 189 Mar 23rd, 2004 John Apostolakis (fieldex03-V06-00-00) 211 ------------------------------- 190 ------------------------------- 212 - F03FieldSetup: fixed SetFieldValue methods t 191 - F03FieldSetup: fixed SetFieldValue methods to update equation, fld-manager. 213 - F03FieldMessenger: added printout of value a 192 - F03FieldMessenger: added printout of value after Set Command. 214 193 215 Dec 1st, 2003 John Apostolakis (fieldex03-V05 194 Dec 1st, 2003 John Apostolakis (fieldex03-V05-02-00) 216 ------------------------------- 195 ------------------------------- 217 - Renamed F03ElectroMagneticField into F03Fiel << 196 - Renamed F03ElectroMagneticField into F03FieldSetup (as it is a creator, 218 not a field). << 197 not a field). 219 - FieldSetup is now called only in Detector Co 198 - FieldSetup is now called only in Detector Construction, not in main. 220 199 221 Nov 25th, 2003 Gabriele Cosmo 200 Nov 25th, 2003 Gabriele Cosmo 222 ----------------------------- 201 ----------------------------- 223 - Open geometry before clearing stores in Dete 202 - Open geometry before clearing stores in DetectorConstruction class. 224 203 225 Nov 14th, 2003 John Apostolakis 204 Nov 14th, 2003 John Apostolakis 226 ------------------------------- 205 ------------------------------- 227 - F03ElectroMagneticField: 206 - F03ElectroMagneticField: 228 o changed minimum step to 0.25 mm, from 1.0 207 o changed minimum step to 0.25 mm, from 1.0 mm. 229 208 230 Nov 13th, 2003 John Allison 209 Nov 13th, 2003 John Allison 231 --------------------------- 210 --------------------------- 232 - Removed OPACS from Vis Manager. 211 - Removed OPACS from Vis Manager. 233 212 234 Aug 27th, 2003 V.Ivantchenko (fieldex-V05-02-0 213 Aug 27th, 2003 V.Ivantchenko (fieldex-V05-02-00) 235 ---------------------------------------------- 214 ------------------------------------------------ 236 - Remove obsolete interfaces 215 - Remove obsolete interfaces 237 216 238 Jun 25th, 2003 - G.Cosmo (fieldex-V05-01-00) 217 Jun 25th, 2003 - G.Cosmo (fieldex-V05-01-00) 239 -------------------------------------------- 218 -------------------------------------------- 240 - Fixed mechanism for update of geometry in de 219 - Fixed mechanism for update of geometry in detector-construction. 241 - Corrected GetFieldValue in ElectroMagneticFi 220 - Corrected GetFieldValue in ElectroMagneticField class. (J.Apostolakis). 242 - Fixed pedantic warnings ... 221 - Fixed pedantic warnings ... 243 222 244 Feb 20th, 2003 - V.Ivanchenko (field-V05-00-00 223 Feb 20th, 2003 - V.Ivanchenko (field-V05-00-00) 245 ---------------------------------------------- 224 ------------------------------------------------- 246 - Cut per region 225 - Cut per region 247 226 248 Nov 7th, 2001 - G.Cosmo 227 Nov 7th, 2001 - G.Cosmo 249 ----------------------- 228 ----------------------- 250 - More cleanup and fixes to primary generator 229 - More cleanup and fixes to primary generator gun (V.Grichine). 251 230 252 Oct 15th, 2001 - G.Cosmo 231 Oct 15th, 2001 - G.Cosmo 253 ------------------------ 232 ------------------------ 254 - Cleaned from test code. 233 - Cleaned from test code.