Geant4 Cross Reference |
1 # Example brachytherapy History << 1 ------------------------------------------------------------------- >> 2 ------------------------------------------------------------------- 2 3 3 See `CONTRIBUTING.rst` for details of **requir << 4 ========================================================= 4 which **must** added in reverse chronological << 5 Geant4 - Brachytherapy example 5 be used as a substitute for writing good git c << 6 ========================================================= 6 7 7 ## 2023-11-15 I. Hrivnacova (brachy-V11-01-01) << 8 Category History file 8 - Updated VisualisationMacro.mac: << 9 --------------------- 9 - Changed "/vis/open XYZ [600x600-0+0]" to " << 10 and simplified comments. << 11 << 12 ## 2023-11-10 Alberto Ribon (brachy-V11-01-00) << 13 - In all macro files, introduced the UI comman << 14 '/process/had/rdm/thresholdForVeryLongDecayT << 15 to allow all radioactive decays (including t << 16 This is necessary since G4 11.2, being 1 yea << 17 threshold above which the decays are ignored << 18 << 19 ## 2022-05-30 Susanna Guatelli (brachy-V11-00- << 20 - Migration to c++11/14/17 features << 21 << 22 ## 2021-12-10 Ben Morgan (brachy-V11-00-00) << 23 - Change to new Markdown History format << 24 << 25 --- << 26 << 27 # History entries prior to 11.0 << 28 10 29 07.10.2021 - I. Hrivnacova; brachy-V10-07-04 11 07.10.2021 - I. Hrivnacova; brachy-V10-07-04 30 Migration to new G4AnalysisManage 12 Migration to new G4AnalysisManager.hh header; 31 define the default output file ty 13 define the default output file type (root), 32 removed BrachyAnalysisManager.hh 14 removed BrachyAnalysisManager.hh 33 15 34 02.09.2021 - D.H. Wright; brachy-V10-07-03 16 02.09.2021 - D.H. Wright; brachy-V10-07-03 35 Replaced string RadioactiveDecayB 17 Replaced string RadioactiveDecayBase with RadioactiveDecay in 36 BrachySteppingAction::UserSteppin 18 BrachySteppingAction::UserSteppingAction 37 (RadioactiveDecayBase soon to dis 19 (RadioactiveDecayBase soon to disappear) 38 20 39 19.07.2021 - I. Hrivnacova; brachy-V10-07-02 21 19.07.2021 - I. Hrivnacova; brachy-V10-07-02 40 Updated for changes in the analys 22 Updated for changes in the analysis category: 41 removed deleting of the analysis 23 removed deleting of the analysis manager, 42 as this is now done by the Geant4 24 as this is now done by the Geant4 kernel. 43 25 44 24.05.2021 - B. Morgan; brachy-V10-07-01 26 24.05.2021 - B. Morgan; brachy-V10-07-01 45 Bump required CMake version range 27 Bump required CMake version range to 3.12...3.20, matching core Geant4 46 28 47 12.02.2021 - S. Guatelli; brachy-V10-07-00 29 12.02.2021 - S. Guatelli; brachy-V10-07-00 48 Cleaning of the code. Use C++11 k 30 Cleaning of the code. Use C++11 keywords and patterns. 49 Remove BrachyMaterial class. Mate 31 Remove BrachyMaterial class. Materials implemented now 50 using NIST Material Manager of Ge 32 using NIST Material Manager of Geant4. Remove SetCuts from 51 the local PhysicsList as it is no 33 the local PhysicsList as it is not thread-safe. 52 34 53 12.11.2020 - S. Guatelli; brachy-V10-06-03 35 12.11.2020 - S. Guatelli; brachy-V10-06-03 54 Migration to G4RunManagerFactory 36 Migration to G4RunManagerFactory 55 37 56 02.11.2020 - B.Morgan; brachy-V10-06-02 38 02.11.2020 - B.Morgan; brachy-V10-06-02 57 Support same CMake version range 39 Support same CMake version range as core Geant4 58 40 59 13.08.2020 - S. Guatelli; brachy-V10-06-01 41 13.08.2020 - S. Guatelli; brachy-V10-06-01 60 Analysis done by means of G4Analy 42 Analysis done by means of G4Analysis. No more dependence on ROOT. 61 General cleaning of the code. Run 43 General cleaning of the code. RunAction implemented. 62 44 63 14.07.2020 - A. Zaborowska;brachy-V10-06-00 45 14.07.2020 - A. Zaborowska;brachy-V10-06-00 64 Add missing /run/initialize to Vi 46 Add missing /run/initialize to VisualisationMacro.mac 65 47 66 20.09.2019 - M. Asai;brachy-V10-05-00 48 20.09.2019 - M. Asai;brachy-V10-05-00 67 Add G4VScoringMesh:: scope identi 49 Add G4VScoringMesh:: scope identifier to BrachyUserScoreWriter.cc 68 Co-working with detutils-V10-05-0 50 Co-working with detutils-V10-05-01 69 51 70 30.11.2018 - G. Cosmo;brachy-V10-04-07. 52 30.11.2018 - G. Cosmo;brachy-V10-04-07. 71 Fixed compilation warning for sha 53 Fixed compilation warning for shadowing variables/parameters 72 in BrachyAnalysisManager, BrachyP 54 in BrachyAnalysisManager, BrachyPrimaryGeneratorAction and 73 BrachyUserScoreWriter. 55 BrachyUserScoreWriter. 74 56 75 29.11.2018 - G. Folger;brachy-V10-04-06. 57 29.11.2018 - G. Folger;brachy-V10-04-06. 76 Fix Visualisation.mac to leave ve 58 Fix Visualisation.mac to leave verbosity at errors 77 (warning is a 'magic' word failing a t 59 (warning is a 'magic' word failing a test 78 60 79 29.11.2018 - G. Folger;brachy-V10-04-05. 61 29.11.2018 - G. Folger;brachy-V10-04-05. 80 Attempt to use Root optionally in 62 Attempt to use Root optionally in CMakeLists.txt. 81 63 82 28.11.2018 - S. Guatelli;brachy-V10-04-04. 64 28.11.2018 - S. Guatelli;brachy-V10-04-04. 83 Added directory test_macro and in 65 Added directory test_macro and included more ROOT analysis files. 84 66 85 25.10.2018 - S. Guatelli;brachy-V10-04-03. CMa 67 25.10.2018 - S. Guatelli;brachy-V10-04-03. CMakeList updated 86 68 87 24.10.2018 - S. Guatelli;brachy-V10-04-02. 69 24.10.2018 - S. Guatelli;brachy-V10-04-02. 88 Included macros for the regressio 70 Included macros for the regression testing of Geant4. 89 Option to switch EM physics list 71 Option to switch EM physics list included 90 72 91 04.09.2018 - S. Guatelli and A. Le;brachy-V10- 73 04.09.2018 - S. Guatelli and A. Le;brachy-V10-04-01. 92 Included new brachy source (I-125 74 Included new brachy source (I-125 Oncura 6711 source). 93 G4_VIS_USE and G4_UI_USE deleted. 75 G4_VIS_USE and G4_UI_USE deleted. 94 76 95 10.05.2018 - B. Morgan; brachy-V10-04-00 77 10.05.2018 - B. Morgan; brachy-V10-04-00 96 Include G4Types before use of G4M 78 Include G4Types before use of G4MULTITHREADED. For forward 97 compatibility with move to #defin 79 compatibility with move to #defines over -D for G4 preprocessor 98 symbols. 80 symbols. 99 81 100 10.11.2017 - G. Cosmo; brachy-V10-03-01 82 10.11.2017 - G. Cosmo; brachy-V10-03-01 101 Avoid setting the initial seed to 83 Avoid setting the initial seed to zero. 102 84 103 1.11.2016 - S. Guatelli; brachy-V10-02-02 85 1.11.2016 - S. Guatelli; brachy-V10-02-02 104 Added comparison to reference dat 86 Added comparison to reference data for the Flexisource 105 Added Flexisurce and TG186 refere 87 Added Flexisurce and TG186 reference source; added method to calculate relative dose rate to compare to reference data 106 88 107 06.09.2016 - M. Asai; brachy-V10-02-01 89 06.09.2016 - M. Asai; brachy-V10-02-01 108 90 109 04.09.2016 - M. Asai; brachy-V10-02-00 91 04.09.2016 - M. Asai; brachy-V10-02-00 110 Modify std::map<G4int, G4double* 92 Modify std::map<G4int, G4double*> to 111 std::map<G4int, G4StatDouble*> 93 std::map<G4int, G4StatDouble*> 112 94 113 06.03.2015 - A. Dotti; brachy-V10-01-00 95 06.03.2015 - A. Dotti; brachy-V10-01-00 114 Removing unnecessary instantiati 96 Removing unnecessary instantiation of GPS in master 115 97 116 09.10.2014 - S. Guatelli; brachy-V10-00-00 98 09.10.2014 - S. Guatelli; brachy-V10-00-00 117 Compilation errors and warnings with c 99 Compilation errors and warnings with cdash deleted 118 Analysis with ROOT introduced 100 Analysis with ROOT introduced 119 101 120 21.10.2013 - L. Pandola; brachy-V09-06-02 102 21.10.2013 - L. Pandola; brachy-V09-06-02 121 Fix bug in BrachySteppingAction.cc rep 103 Fix bug in BrachySteppingAction.cc reported by John A. 122 (replace = with ==). Use G4Parti 104 (replace = with ==). Use G4ParticleDefinition instead 123 of string. 105 of string. 124 106 125 19.09.2013 - S. Guatelli; tag brachy-V09-06-0 107 19.09.2013 - S. Guatelli; tag brachy-V09-06-01 126 Multithreading option introduced 108 Multithreading option introduced 127 109 128 09.05.2013 - S. Guatelli; tag brachy-V09-06-0 110 09.05.2013 - S. Guatelli; tag brachy-V09-06-00 129 Modular Physics List introduced 111 Modular Physics List introduced 130 Analysis class introduced using 112 Analysis class introduced using g4tools 131 GeneralParticleSource substitute 113 GeneralParticleSource substitutes G4ParticleGun 132 Radioactive Decay introduced 114 Radioactive Decay introduced 133 Energy spectrum of gamma derivin 115 Energy spectrum of gamma deriving from radioactive decay. 134 Now it is possible to switch amo 116 Now it is possible to switch among brachy sources with freedom. 135 117 136 12.10.2012 - L. Pandola; tag brachy-V09-05-01 118 12.10.2012 - L. Pandola; tag brachy-V09-05-01 137 Added a CMakeLists.txt file 119 Added a CMakeLists.txt file 138 120 139 11.10.2012 - G. Cosmo; tag brachy-V09-05-00 121 11.10.2012 - G. Cosmo; tag brachy-V09-05-00 140 Explicit inclusion of units and 122 Explicit inclusion of units and constants headers. 141 123 142 16.09.2011 - S. Guatelli; tag brachy-V09-04-0 124 16.09.2011 - S. Guatelli; tag brachy-V09-04-01 143 125 144 14.09.2011 - S. Guatelli; G4 Analysis module 126 14.09.2011 - S. Guatelli; G4 Analysis module substitutes the analysis 145 Done with PI-AIDA. macro.C added 127 Done with PI-AIDA. macro.C added. 146 128 147 02.09.2011 - S. Guatelli; scoring mesh introd 129 02.09.2011 - S. Guatelli; scoring mesh introduced. 148 Sensitive detector and ReadOutGe 130 Sensitive detector and ReadOutGeometry components deleted. 149 131 150 29.11.2010 - G.A.P. Cirrone; tag brachy-V09-0 132 29.11.2010 - G.A.P. Cirrone; tag brachy-V09-03-05 151 Compilation warnigs removed. 133 Compilation warnigs removed. 152 134 153 26.11.2010 - G.A.P. Cirrone & S. Guatelli; ta 135 26.11.2010 - G.A.P. Cirrone & S. Guatelli; tag brachy-V09-03-04 154 General code review. 136 General code review. 155 137 156 25.11.2010 -- J.Allison; tag brachy-V09-03-03 138 25.11.2010 -- J.Allison; tag brachy-V09-03-03 157 Cleaned up use of G4UIExecutive. 139 Cleaned up use of G4UIExecutive. 158 140 159 24.11.2010 -- G.A.P.Cirrone; tag brachy-V09-03 141 24.11.2010 -- G.A.P.Cirrone; tag brachy-V09-03-02 160 Fixed compilation error for a missin 142 Fixed compilation error for a missing obsolete include file 161 143 162 03.06.2010 -- Joseph Perl; tag brachy-V09-03-0 144 03.06.2010 -- Joseph Perl; tag brachy-V09-03-01 163 Updated vis usage. 145 Updated vis usage. 164 146 165 01.06.2010 -- G.A.P. Cirrone; tag brachy-V09-0 147 01.06.2010 -- G.A.P. Cirrone; tag brachy-V09-03-00 166 G4UIExecutiveand minor revisions 148 G4UIExecutiveand minor revisions 167 149 168 12.11.2009 -- L. Pandola; tag brachy-V09-02-02 150 12.11.2009 -- L. Pandola; tag brachy-V09-02-02 169 Fixed AIDA 151 Fixed AIDA 170 152 171 12.11.2009 -- S. Guatelli; brachy-V09-02-01 153 12.11.2009 -- S. Guatelli; brachy-V09-02-01 172 Update of Physics List 154 Update of Physics List 173 155 174 22.02 2009 -- G.Folger; tag brachy-V09-02-00 156 22.02 2009 -- G.Folger; tag brachy-V09-02-00 175 Correct compilation errors and wa 157 Correct compilation errors and warnings when G4ANALYSIS is NOT set 176 158 177 24.11.2008 -- G.A.P.Cirrone; tag: brachy-V09-0 159 24.11.2008 -- G.A.P.Cirrone; tag: brachy-V09-01-03 178 Updated macro files 160 Updated macro files 179 161 180 21.11.2008 -- G.A.P.Cirrone; Tag: brachy-V09-0 162 21.11.2008 -- G.A.P.Cirrone; Tag: brachy-V09-01-02 181 Corrected and updated macro file 163 Corrected and updated macro files 182 164 183 15.06.2008 -- G.A.P.Cirrone; Tag: brachy-V09-0 165 15.06.2008 -- G.A.P.Cirrone; Tag: brachy-V09-01-01 184 Removed no more necessary AIDA c 166 Removed no more necessary AIDA commands from GNUmakefile 185 167 186 05th June 2008: G.A.P.Cirrone (cirrone@lns.inf 168 05th June 2008: G.A.P.Cirrone (cirrone@lns.infn.it). Tag version: brachy-V09-01-00 187 - Compilation error corrected in the BrachyAna 169 - Compilation error corrected in the BrachyAnalysiManager 188 - Bad type assignment in BrachyAnalysismanager 170 - Bad type assignment in BrachyAnalysismanager 189 - Activated the generation .root files for out 171 - Activated the generation .root files for output 190 172 191 15th November 2006 Susanna Guatelli (brachy-V0 173 15th November 2006 Susanna Guatelli (brachy-V08-01-01) 192 - Physics list cleaned. The cut is fixed to a 174 - Physics list cleaned. The cut is fixed to a value lower than the 193 1 keV limit. 175 1 keV limit. 194 176 195 14th November 2006 John Allison (brachy-V08- 177 14th November 2006 John Allison (brachy-V08-01-00) 196 - Removed /vis/scene/transientsAction none (no 178 - Removed /vis/scene/transientsAction none (no longer available). 197 179 198 30th May 2006 Susanna Guatelli (brachy-V08-00- 180 30th May 2006 Susanna Guatelli (brachy-V08-00-02) 199 - Deleted a warning during compilation 181 - Deleted a warning during compilation 200 182 201 15th May 2006 Susanna Guatelli (brachy-V08-00- 183 15th May 2006 Susanna Guatelli (brachy-V08-00-01) 202 - Added comments, deleted a warning during com 184 - Added comments, deleted a warning during compilation 203 185 204 15th May 2006 Susanna Guatelli (brachy-V08-00- 186 15th May 2006 Susanna Guatelli (brachy-V08-00-00) 205 - Hit collection deleted. The energy deposit a 187 - Hit collection deleted. The energy deposit and position are stored directly 206 in histograms and ntuples in the BrachyPhant 188 in histograms and ntuples in the BrachyPhantomSD 207 - Iteration in the management of the primary p 189 - Iteration in the management of the primary particles 208 - More comments explain the code 190 - More comments explain the code 209 - README updated 191 - README updated 210 192 211 22th November 2005 Susanna Guatelli (brachy-V0 193 22th November 2005 Susanna Guatelli (brachy-V07-01-00) 212 - Deleted bug in the RunAction. The results of 194 - Deleted bug in the RunAction. The results of the simulation 213 (energy deposit, position) are stored in a h 195 (energy deposit, position) are stored in a hit collection. 214 196 215 30th May 2005 Susanna Guatelli (brachy-V07-0 197 30th May 2005 Susanna Guatelli (brachy-V07-00-01) 216 - README updated; analysis with AIDA 3.2.1 and 198 - README updated; analysis with AIDA 3.2.1 and PI 1.3.3. 217 199 218 3rd May 2005 John Allison (examples-V07-00-0 200 3rd May 2005 John Allison (examples-V07-00-03) 219 - Replaced vis manager with G4VisExecutive. 201 - Replaced vis manager with G4VisExecutive. 220 202 221 3.12.2004 - Susanna Guatelli 203 3.12.2004 - Susanna Guatelli 222 Simulation seed changed 204 Simulation seed changed 223 205 224 24.11.2004 - Susanna Guatelli 206 24.11.2004 - Susanna Guatelli 225 Analysis management improved. 207 Analysis management improved. 226 208 227 13.5.2004 - Susanna Guatelli 209 13.5.2004 - Susanna Guatelli 228 Migration to AIDA 3.2.1 and PI 1.2 210 Migration to AIDA 3.2.1 and PI 1.2.1 229 211 230 11.3.2004 - Susanna Guatelli 212 11.3.2004 - Susanna Guatelli 231 Add a histogram, maintenance of t 213 Add a histogram, maintenance of the code 232 214 233 12.11.2003 - John Allison 215 12.11.2003 - John Allison 234 Updated Vis Manager. 216 Updated Vis Manager. 235 217 236 20.10.2003 - Vladimir Ivanchenko, tag brachy-V 218 20.10.2003 - Vladimir Ivanchenko, tag brachy-V05-02-00 237 Migration to cut per region 219 Migration to cut per region 238 220 239 06.12.2002 - Gabriele Cosmo, tag brachy-V04-01 221 06.12.2002 - Gabriele Cosmo, tag brachy-V04-01-04 240 Migration to new G4ApplicationSta 222 Migration to new G4ApplicationState. 241 223 242 09.11.2000 - SA, tag brachy-V02-00-00 224 09.11.2000 - SA, tag brachy-V02-00-00 243 (dvnote) First submission of Brac 225 (dvnote) First submission of Brachytherapy advanced example. 244 226 245 15.11.2000 - SA, tag brachy-V02-00-01 227 15.11.2000 - SA, tag brachy-V02-00-01 246 (minrev) Data fully compliant to 228 (minrev) Data fully compliant to Geant4 types. 247 (newfea) LowEnergy option availab 229 (newfea) LowEnergy option available (see BRACHY_OPT_USELOWENERGY in BrachyPhysicsList.cc). 248 230 249 10.12.2000 - Stephane Chauvie 231 10.12.2000 - Stephane Chauvie 250 (minrev) DOS -> Unix text convers 232 (minrev) DOS -> Unix text conversion. 251 (newfea) Added Low Energy Electro 233 (newfea) Added Low Energy Electromagnetic physics. Removed switch to standard. 252 234