diff --git a/GATE-RTion/DoseActor/mac/mainA1.mac b/GATE-RTion/DoseActor/mac/mainA1.mac index daf0046f..311c0f09 100644 --- a/GATE-RTion/DoseActor/mac/mainA1.mac +++ b/GATE-RTion/DoseActor/mac/mainA1.mac @@ -1,9 +1,3 @@ -#================================================================ - -# VISUALISATION -#/control/execute mac/visu.mac -##/vis/disable - #================================================================ # MATERIALS @@ -99,6 +93,13 @@ # INITIALISATION /gate/run/initialize +#================================================================ + +# VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + + #================================================================ # SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainA2.mac b/GATE-RTion/DoseActor/mac/mainA2.mac index 03acc90c..27be7820 100644 --- a/GATE-RTion/DoseActor/mac/mainA2.mac +++ b/GATE-RTion/DoseActor/mac/mainA2.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -##/vis/disable - #================================================================ # MATERIALS @@ -121,6 +115,13 @@ # INITIALISATION /gate/run/initialize +#================================================================ + +# VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainA3.mac b/GATE-RTion/DoseActor/mac/mainA3.mac index e7217f3b..c3ba6ba5 100644 --- a/GATE-RTion/DoseActor/mac/mainA3.mac +++ b/GATE-RTion/DoseActor/mac/mainA3.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -##/vis/disable - #================================================================ # MATERIALS @@ -99,6 +93,13 @@ # INITIALISATION /gate/run/initialize +#================================================================ + +# VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainA4.mac b/GATE-RTion/DoseActor/mac/mainA4.mac index b11d9d41..bc949090 100644 --- a/GATE-RTion/DoseActor/mac/mainA4.mac +++ b/GATE-RTion/DoseActor/mac/mainA4.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -##/vis/disable - #================================================================ # MATERIALS @@ -123,6 +117,12 @@ # INITIALISATION /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainB1.mac b/GATE-RTion/DoseActor/mac/mainB1.mac index c1d99b06..522716de 100644 --- a/GATE-RTion/DoseActor/mac/mainB1.mac +++ b/GATE-RTion/DoseActor/mac/mainB1.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -#/vis/disable - #================================================================ # MATERIALS @@ -150,6 +144,12 @@ # INITIALISATION /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainB2.mac b/GATE-RTion/DoseActor/mac/mainB2.mac index fd3f6b53..38d62b34 100644 --- a/GATE-RTion/DoseActor/mac/mainB2.mac +++ b/GATE-RTion/DoseActor/mac/mainB2.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -#/vis/disable - #================================================================ # MATERIALS @@ -143,6 +137,12 @@ # INITIALISATION /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor/mac/mainC.mac b/GATE-RTion/DoseActor/mac/mainC.mac index 398a0fb6..7527d61a 100644 --- a/GATE-RTion/DoseActor/mac/mainC.mac +++ b/GATE-RTion/DoseActor/mac/mainC.mac @@ -1,9 +1,3 @@ -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -##/vis/disable - #================================================================ # MATERIALS @@ -141,6 +135,12 @@ # INITIALISATION /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +##/vis/disable + #================================================================ # TPSPencilBeam SOURCE diff --git a/GATE-RTion/DoseActor2-CT/mac/main1voxel.mac b/GATE-RTion/DoseActor2-CT/mac/main1voxel.mac index 6ad98a98..dcb143fe 100644 --- a/GATE-RTion/DoseActor2-CT/mac/main1voxel.mac +++ b/GATE-RTion/DoseActor2-CT/mac/main1voxel.mac @@ -17,12 +17,6 @@ #/control/alias type "simple" -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -#/vis/disable - #================================================================ # MATERIALS @@ -85,6 +79,12 @@ /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +#/vis/disable + #================================================================ # SOURCE diff --git a/GATE-RTion/DoseActor2-CT/mac/maincomplex.mac b/GATE-RTion/DoseActor2-CT/mac/maincomplex.mac index f80e868c..94f5833e 100644 --- a/GATE-RTion/DoseActor2-CT/mac/maincomplex.mac +++ b/GATE-RTion/DoseActor2-CT/mac/maincomplex.mac @@ -8,12 +8,6 @@ /control/alias dt "0.01" -#================================================================ - - # VISUALISATION -#/control/execute mac/visu.mac -#/vis/disable - #================================================================ # MATERIALS @@ -74,6 +68,12 @@ /gate/run/initialize +#================================================================ + + # VISUALISATION +#/control/execute mac/visu.mac +#/vis/disable + #================================================================ # SOURCE diff --git a/dosimetry/DNA/mixedDNA.mac b/dosimetry/DNA/mixedDNA.mac index 91b88039..5c918102 100644 --- a/dosimetry/DNA/mixedDNA.mac +++ b/dosimetry/DNA/mixedDNA.mac @@ -2,12 +2,6 @@ # GUIDE: USE PHYSICSLIST MIXED #===================================================== -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute visu.mac - #=================================================== # MATERIAL DATABASE #=================================================== @@ -39,6 +33,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute visu.mac + #======================================================= # SOURCE #======================================================= diff --git a/dosimetry/EMFields/electromagnetic-field/mac/main.mac b/dosimetry/EMFields/electromagnetic-field/mac/main.mac index 1871b26f..c054283d 100755 --- a/dosimetry/EMFields/electromagnetic-field/mac/main.mac +++ b/dosimetry/EMFields/electromagnetic-field/mac/main.mac @@ -1,9 +1,3 @@ -#===================================================== -# Visualization -#===================================================== - -#/control/execute mac/visu.mac - #===================================================== # Material #===================================================== @@ -124,6 +118,12 @@ /gate/run/initialize +#===================================================== +# Visualization +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # Source #===================================================== diff --git a/dosimetry/Radiotherapy/example1/mac/main.mac b/dosimetry/Radiotherapy/example1/mac/main.mac index 763f1bf8..98caebbe 100644 --- a/dosimetry/Radiotherapy/example1/mac/main.mac +++ b/dosimetry/Radiotherapy/example1/mac/main.mac @@ -9,17 +9,11 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -# to use the visualisation : -# - uncomment the following line -# - use Gate --qt -# - in the interface, type /control/execute mac/main.mac -#/control/execute mac/visu.mac - #===================================================== # GEOMETRY @@ -121,6 +115,17 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +# to use the visualisation : +# - uncomment the following line +# - use Gate --qt +# - in the interface, type /control/execute mac/main.mac +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example10/mac/main-setle.mac b/dosimetry/Radiotherapy/example10/mac/main-setle.mac index 29959e5c..c13696eb 100644 --- a/dosimetry/Radiotherapy/example10/mac/main-setle.mac +++ b/dosimetry/Radiotherapy/example10/mac/main-setle.mac @@ -5,12 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute mac/visu.mac - #===================================================== # GEOMETRY #===================================================== @@ -90,6 +84,14 @@ /gate/run/initialize + +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example10/mac/main.mac b/dosimetry/Radiotherapy/example10/mac/main.mac index 6866c093..dcd24e78 100644 --- a/dosimetry/Radiotherapy/example10/mac/main.mac +++ b/dosimetry/Radiotherapy/example10/mac/main.mac @@ -5,12 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute mac/visu.mac - #===================================================== # GEOMETRY #===================================================== @@ -92,6 +86,13 @@ /gate/run/initialize + +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example11/mac/main.mac b/dosimetry/Radiotherapy/example11/mac/main.mac index 2f8295b2..3a7a5b47 100644 --- a/dosimetry/Radiotherapy/example11/mac/main.mac +++ b/dosimetry/Radiotherapy/example11/mac/main.mac @@ -13,7 +13,6 @@ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /control/execute mac/verbose.mac -/control/execute mac/visu.mac /gate/geometry/setMaterialDatabase data/Materials.db # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -134,6 +133,7 @@ /gate/run/initialize +/control/execute mac/visu.mac #===================================================== # INPUT BEAM diff --git a/dosimetry/Radiotherapy/example12/mac/main-read-PhS.mac b/dosimetry/Radiotherapy/example12/mac/main-read-PhS.mac index 08df2259..bccd9eb3 100644 --- a/dosimetry/Radiotherapy/example12/mac/main-read-PhS.mac +++ b/dosimetry/Radiotherapy/example12/mac/main-read-PhS.mac @@ -5,11 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -/control/execute mac/visu.mac # ===================================================== # GEOMETRY @@ -121,6 +116,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example12/mac/main-write-PhS.mac b/dosimetry/Radiotherapy/example12/mac/main-write-PhS.mac index c2a24625..fc4f22ba 100644 --- a/dosimetry/Radiotherapy/example12/mac/main-write-PhS.mac +++ b/dosimetry/Radiotherapy/example12/mac/main-write-PhS.mac @@ -5,12 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute mac/visu.mac - # ===================================================== # GEOMETRY # ===================================================== @@ -107,6 +101,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +/control/execute mac/visu.mac + # Bremsstrahlung splitting : generate 100 photon (if below 100 MeV) with weight 1/100 /process/em/setSecBiasing eBrem target 100 100 MeV diff --git a/dosimetry/Radiotherapy/example12/mac/main.mac b/dosimetry/Radiotherapy/example12/mac/main.mac index 64e03cf6..f839224d 100644 --- a/dosimetry/Radiotherapy/example12/mac/main.mac +++ b/dosimetry/Radiotherapy/example12/mac/main.mac @@ -5,12 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute mac/visu.mac - # ===================================================== # GEOMETRY # ===================================================== @@ -97,6 +91,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example12/mac/main_fig.mac b/dosimetry/Radiotherapy/example12/mac/main_fig.mac index 5a2bdc70..62f8b124 100644 --- a/dosimetry/Radiotherapy/example12/mac/main_fig.mac +++ b/dosimetry/Radiotherapy/example12/mac/main_fig.mac @@ -5,11 +5,6 @@ /control/execute mac/verbose.mac -#===================================================== -# VISUALISATION -#===================================================== - -/control/execute mac/visu.mac # ===================================================== # GEOMETRY @@ -108,6 +103,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example2/mac/main-NPV1.mac b/dosimetry/Radiotherapy/example2/mac/main-NPV1.mac index a8935238..0c9cfca3 100644 --- a/dosimetry/Radiotherapy/example2/mac/main-NPV1.mac +++ b/dosimetry/Radiotherapy/example2/mac/main-NPV1.mac @@ -9,11 +9,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY diff --git a/dosimetry/Radiotherapy/example2/mac/main-NPV2.mac b/dosimetry/Radiotherapy/example2/mac/main-NPV2.mac index e6acdb62..ee5a23cd 100644 --- a/dosimetry/Radiotherapy/example2/mac/main-NPV2.mac +++ b/dosimetry/Radiotherapy/example2/mac/main-NPV2.mac @@ -9,11 +9,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY diff --git a/dosimetry/Radiotherapy/example2/mac/main-RV1.mac b/dosimetry/Radiotherapy/example2/mac/main-RV1.mac index 09524001..3843547c 100644 --- a/dosimetry/Radiotherapy/example2/mac/main-RV1.mac +++ b/dosimetry/Radiotherapy/example2/mac/main-RV1.mac @@ -9,11 +9,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY diff --git a/dosimetry/Radiotherapy/example2/mac/main-RV2.mac b/dosimetry/Radiotherapy/example2/mac/main-RV2.mac index aa270557..9e388ab9 100644 --- a/dosimetry/Radiotherapy/example2/mac/main-RV2.mac +++ b/dosimetry/Radiotherapy/example2/mac/main-RV2.mac @@ -9,11 +9,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY diff --git a/dosimetry/Radiotherapy/example2/mac/start.mac b/dosimetry/Radiotherapy/example2/mac/start.mac index de2c0587..29f430de 100644 --- a/dosimetry/Radiotherapy/example2/mac/start.mac +++ b/dosimetry/Radiotherapy/example2/mac/start.mac @@ -8,6 +8,13 @@ # /gate/physics/processList Available # /gate/physics/processList Enabled + +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example3/mac/main.mac b/dosimetry/Radiotherapy/example3/mac/main.mac index f276a10c..48080f13 100644 --- a/dosimetry/Radiotherapy/example3/mac/main.mac +++ b/dosimetry/Radiotherapy/example3/mac/main.mac @@ -8,11 +8,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -88,6 +87,13 @@ /gate/run/initialize + +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example4/mac/main.mac b/dosimetry/Radiotherapy/example4/mac/main.mac index 353721c4..02e63c5b 100644 --- a/dosimetry/Radiotherapy/example4/mac/main.mac +++ b/dosimetry/Radiotherapy/example4/mac/main.mac @@ -7,11 +7,10 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -172,6 +171,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example5/mac/main.mac b/dosimetry/Radiotherapy/example5/mac/main.mac index 72f34943..f616e25e 100644 --- a/dosimetry/Radiotherapy/example5/mac/main.mac +++ b/dosimetry/Radiotherapy/example5/mac/main.mac @@ -7,11 +7,10 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -78,6 +77,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example6/mac/main.mac b/dosimetry/Radiotherapy/example6/mac/main.mac index e1354982..e95b5392 100644 --- a/dosimetry/Radiotherapy/example6/mac/main.mac +++ b/dosimetry/Radiotherapy/example6/mac/main.mac @@ -8,11 +8,10 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -140,6 +139,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================== # SOURCE diff --git a/dosimetry/Radiotherapy/example7/mac/main-move-repeater.mac b/dosimetry/Radiotherapy/example7/mac/main-move-repeater.mac index 1d3ea4db..b6d27ef3 100644 --- a/dosimetry/Radiotherapy/example7/mac/main-move-repeater.mac +++ b/dosimetry/Radiotherapy/example7/mac/main-move-repeater.mac @@ -7,11 +7,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -92,6 +91,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example7/mac/main-move.mac b/dosimetry/Radiotherapy/example7/mac/main-move.mac index 852344ea..9491b90a 100644 --- a/dosimetry/Radiotherapy/example7/mac/main-move.mac +++ b/dosimetry/Radiotherapy/example7/mac/main-move.mac @@ -7,11 +7,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -91,6 +90,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example7/mac/main-repeater.mac b/dosimetry/Radiotherapy/example7/mac/main-repeater.mac index 2470e158..7133ca71 100644 --- a/dosimetry/Radiotherapy/example7/mac/main-repeater.mac +++ b/dosimetry/Radiotherapy/example7/mac/main-repeater.mac @@ -7,11 +7,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -94,6 +93,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example8/mac/main.mac b/dosimetry/Radiotherapy/example8/mac/main.mac index 2cfd5a8b..a1aac6f5 100644 --- a/dosimetry/Radiotherapy/example8/mac/main.mac +++ b/dosimetry/Radiotherapy/example8/mac/main.mac @@ -7,11 +7,10 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -201,6 +200,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/Radiotherapy/example9/mac/main.mac b/dosimetry/Radiotherapy/example9/mac/main.mac index dd81c049..e3a5cb22 100644 --- a/dosimetry/Radiotherapy/example9/mac/main.mac +++ b/dosimetry/Radiotherapy/example9/mac/main.mac @@ -6,11 +6,10 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /control/execute mac/verbose.mac -#/control/execute mac/visu.mac #===================================================== # GEOMETRY @@ -213,6 +212,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + + #===================================================== # BEAMS #===================================================== diff --git a/dosimetry/TEPCActor/mac/main_optimizedTEPC.mac b/dosimetry/TEPCActor/mac/main_optimizedTEPC.mac index 869fee5b..bb4d3cc4 100644 --- a/dosimetry/TEPCActor/mac/main_optimizedTEPC.mac +++ b/dosimetry/TEPCActor/mac/main_optimizedTEPC.mac @@ -16,8 +16,6 @@ /gate/verbose Image 0 /gate/verbose Geometry 0 -#/control/execute mac/visu.mac - #===================================================== # GEOMETRY and ACTORS #===================================================== @@ -170,6 +168,7 @@ /gate/run/enableGlobalOutput true /gate/run/initialize +#/control/execute mac/visu.mac #===================================================== # BEAM diff --git a/dosimetry/UserSpectrum/mac/main.mac b/dosimetry/UserSpectrum/mac/main.mac index 50de8c2b..5c461f49 100644 --- a/dosimetry/UserSpectrum/mac/main.mac +++ b/dosimetry/UserSpectrum/mac/main.mac @@ -3,13 +3,6 @@ ###################################################### -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute visu.mac - - #===================================================== # MATERIAL DATABASE #===================================================== @@ -52,6 +45,13 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute visu.mac + + #===================================================== # SOURCE #===================================================== diff --git a/dosimetry/dosimetry/electron_radiotherapy/mac/main.mac b/dosimetry/dosimetry/electron_radiotherapy/mac/main.mac index dd6d64fd..4f2b3232 100644 --- a/dosimetry/dosimetry/electron_radiotherapy/mac/main.mac +++ b/dosimetry/dosimetry/electron_radiotherapy/mac/main.mac @@ -1,5 +1,4 @@ #/control/execute verbose.mac -#/control/execute mac/visu.mac #============================== # GEOMETRY @@ -88,6 +87,7 @@ #============================== /gate/run/initialize +#/control/execute mac/visu.mac #============================== # BEAM diff --git a/dosimetry/gaga-phsp/mac/main.mac b/dosimetry/gaga-phsp/mac/main.mac index 447278ad..b09b0136 100644 --- a/dosimetry/gaga-phsp/mac/main.mac +++ b/dosimetry/gaga-phsp/mac/main.mac @@ -8,7 +8,6 @@ # ----------------------------------------------------------------------------- # Geometry definition -#/control/execute mac/visu.mac /control/execute mac/verbose.mac /control/execute mac/world.mac /control/execute mac/waterbox.mac @@ -32,6 +31,7 @@ # INITIALISATION /gate/run/initialize +#/control/execute mac/visu.mac # ----------------------------------------------------------------------------- # SOURCE diff --git a/imaging/CT/classic/benchmarkCT.mac b/imaging/CT/classic/benchmarkCT.mac index ab800350..165e2e3f 100644 --- a/imaging/CT/classic/benchmarkCT.mac +++ b/imaging/CT/classic/benchmarkCT.mac @@ -1,9 +1,3 @@ -############################ -# VISUALIZATION PARAMETERS # -############################ -#/control/execute visu.mac -#/vis/disable - ######################### # SET MATERIAL DATABASE # ######################### @@ -60,6 +54,12 @@ ################## /gate/run/initialize +############################ +# VISUALIZATION PARAMETERS # +############################ +#/control/execute visu.mac +#/vis/disable + ############## # SOURCE GPS # ############## diff --git a/imaging/CT/fast/benchmarkFastCT.mac b/imaging/CT/fast/benchmarkFastCT.mac index 86478321..fc1f9658 100644 --- a/imaging/CT/fast/benchmarkFastCT.mac +++ b/imaging/CT/fast/benchmarkFastCT.mac @@ -1,9 +1,3 @@ -############################ -# VISUALIZATION PARAMETERS # -############################ -#/control/execute visu.mac -#/vis/disable - ######################### # SET MATERIAL DATABASE # ######################### @@ -65,6 +59,12 @@ ################## /gate/run/initialize +############################ +# VISUALIZATION PARAMETERS # +############################ +#/control/execute visu.mac +#/vis/disable + ############### # ACQUISITION # ############### diff --git a/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac b/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac index afeba41b..8cc242bd 100755 --- a/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac +++ b/imaging/CT/fixedForcedDetectionCT/mac/fixedForcedDetectionCT.mac @@ -1,5 +1,3 @@ -#/control/execute mac/visu.mac -#/vis/disable /control/execute mac/verbose.mac /gate/geometry/setMaterialDatabase data/ICRP_HUmaterials.db @@ -56,6 +54,9 @@ /gate/run/initialize +#/control/execute mac/visu.mac +#/vis/disable + # Beam /gate/source/addSource mybeam gps /gate/source/mybeam/gps/particle gamma diff --git a/imaging/CT/fixedForcedDetectionCT/mac/monteCarloCT.mac b/imaging/CT/fixedForcedDetectionCT/mac/monteCarloCT.mac index edbb4378..6d9d11a2 100755 --- a/imaging/CT/fixedForcedDetectionCT/mac/monteCarloCT.mac +++ b/imaging/CT/fixedForcedDetectionCT/mac/monteCarloCT.mac @@ -1,5 +1,3 @@ -#/control/execute mac/visu.mac -#/vis/disable /control/execute mac/verbose.mac /gate/geometry/setMaterialDatabase data/ICRP_HUmaterials.db @@ -52,6 +50,9 @@ /gate/run/initialize +#/control/execute mac/visu.mac +#/vis/disable + # Beam /gate/source/addSource mybeam gps /gate/source/mybeam/gps/particle gamma diff --git a/imaging/CT/vrt/benchmarkVRTCT.mac b/imaging/CT/vrt/benchmarkVRTCT.mac index cd68a160..abdd5210 100644 --- a/imaging/CT/vrt/benchmarkVRTCT.mac +++ b/imaging/CT/vrt/benchmarkVRTCT.mac @@ -1,9 +1,3 @@ -############################ -# VISUALIZATION PARAMETERS # -############################ -#/control/execute visu.mac -#/vis/disable - ######################### # SET MATERIAL DATABASE # ######################### @@ -65,6 +59,12 @@ ################## /gate/run/initialize +############################ +# VISUALIZATION PARAMETERS # +############################ +#/control/execute visu.mac +#/vis/disable + ############### # ACQUISITION # ############### diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-dcm.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-dcm.mac index 962a91ff..85f3038c 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-dcm.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-dcm.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/dcm/ffp/playmo_0000.dcm /gate/Volume/geometry/buildAndDumpDensityImage output/density-ffp-dcm.mhd /gate/Volume/placement/setTranslation -0.1 0. 0. mm # GEANT4 bug bypass @@ -19,6 +17,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-mhd.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-mhd.mac index 4a17c3e4..e1af88a7 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-mhd.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffp-mhd.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/mhd/ffp.mhd /gate/Volume/geometry/buildAndDumpDensityImage output/density-ffp-mhd.mhd /gate/Volume/placement/setTranslation -0.1 0. 0. mm # GEANT4 bug bypass @@ -19,6 +17,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-dcm.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-dcm.mac index f33be45d..3da17f29 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-dcm.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-dcm.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/dcm/ffs/Souris1_TBI_0000.dcm /gate/Volume/geometry/buildAndDumpDensityImage output/density-ffs-dcm.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-mhd.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-mhd.mac index 948877b9..0f595d16 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-mhd.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-ffs-mhd.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/mhd/ffs.mhd /gate/Volume/geometry/buildAndDumpDensityImage output/density-ffs-mhd.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-dcm.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-dcm.mac index f9c7ac70..565be1d7 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-dcm.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-dcm.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/dcm/hfp/CT.1.3.12.2.1107.5.1.4.11087.30000013101008163082800011195.dcm /gate/Volume/geometry/buildAndDumpDensityImage output/density-hfp-dcm.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-mhd.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-mhd.mac index d180150f..c1bd7236 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-mhd.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfp-mhd.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/mhd/hfp.mhd /gate/Volume/geometry/buildAndDumpDensityImage output/density-hfp-mhd.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-dcm.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-dcm.mac index 42b39391..2aba0704 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-dcm.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-dcm.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/dcm/hfs/CT.1.2.826.0.1.3680043.2.200.259546189.673.92804.233.1.dcm /gate/Volume/geometry/buildAndDumpDensityImage output/density-hfs-dcm.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-mhd.mac b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-mhd.mac index 7ae889c7..bbabb40c 100644 --- a/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-mhd.mac +++ b/imaging/DICOM/mhd-dcm-comparison/mac/main-hfs-mhd.mac @@ -4,8 +4,6 @@ /control/execute mac/actors.mac -#/control/execute mac/visu.mac - /gate/Volume/geometry/setImage data/mhd/hfs.mhd /gate/Volume/geometry/buildAndDumpDensityImage output/density-hfs-mhd.mhd @@ -18,6 +16,8 @@ /control/execute mac/initialisation.mac +#/control/execute mac/visu.mac + /control/execute mac/beam.mac /control/execute mac/startbeam.mac diff --git a/imaging/PET/PET_CylindricalPET_System.mac b/imaging/PET/PET_CylindricalPET_System.mac index 00075a2f..8e30f691 100644 --- a/imaging/PET/PET_CylindricalPET_System.mac +++ b/imaging/PET/PET_CylindricalPET_System.mac @@ -26,23 +26,6 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# -#===================================================== -# VISUALISATION -#===================================================== - -##/vis/disable - -/vis/open OGLSX -/vis/viewer/set/viewpointThetaPhi 60 60 -/vis/viewer/zoom 6.0 -/vis/drawVolume -/tracking/storeTrajectory 1 -/vis/scene/add/trajectories -/vis/scene/endOfEventAction accumulate - -/control/execute Verbose.mac - - #===================================================== # GEOMETRY #===================================================== @@ -240,6 +223,21 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +##/vis/disable + +/vis/open OGLSX +/vis/viewer/set/viewpointThetaPhi 60 60 +/vis/viewer/zoom 6.0 +/vis/drawVolume +/tracking/storeTrajectory 1 +/vis/scene/add/trajectories +/vis/scene/endOfEventAction accumulate + +/control/execute Verbose.mac #===================================================== # Show how the geometry moves with time diff --git a/imaging/PET/PET_Ecat_System.mac b/imaging/PET/PET_Ecat_System.mac index f24488a8..f74bb75b 100644 --- a/imaging/PET/PET_Ecat_System.mac +++ b/imaging/PET/PET_Ecat_System.mac @@ -47,23 +47,6 @@ -#===================================================== -# VISUALISATION -#===================================================== - -##/vis/disable - -/vis/open OGLSX -/vis/viewer/set/viewpointThetaPhi 60 60 -/vis/viewer/zoom 6.0 -/vis/drawVolume -/tracking/storeTrajectory 1 -/vis/scene/add/trajectories -/vis/scene/endOfEventAction accumulate - -/control/execute Verbose.mac - - #===================================================== # GEOMETRY #===================================================== @@ -263,6 +246,22 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +##/vis/disable + +/vis/open OGLSX +/vis/viewer/set/viewpointThetaPhi 60 60 +/vis/viewer/zoom 6.0 +/vis/drawVolume +/tracking/storeTrajectory 1 +/vis/scene/add/trajectories +/vis/scene/endOfEventAction accumulate + +/control/execute Verbose.mac + #-------------------oooooOOOOO00000OOOOOooooo---------------------# # # # D E F I N I T I O N O F Y O U R A C Q U I S I T I O N # diff --git a/imaging/PhantomSource/Voxelized_Phantom_Source/mainMacro.mac b/imaging/PhantomSource/Voxelized_Phantom_Source/mainMacro.mac index 8d7320af..95cea13b 100644 --- a/imaging/PhantomSource/Voxelized_Phantom_Source/mainMacro.mac +++ b/imaging/PhantomSource/Voxelized_Phantom_Source/mainMacro.mac @@ -11,23 +11,6 @@ #-------------------oooooOOOOO00000OOOOOooooo---------------------# -#===================================================== -# VISUALISATION -#===================================================== - -##/vis/disable - -/vis/open OGLSX -/vis/viewer/set/viewpointThetaPhi 60 60 -/vis/viewer/zoom 6.0 -/vis/drawVolume -/tracking/storeTrajectory 1 -/vis/scene/add/trajectories -/vis/scene/endOfEventAction accumulate - -/control/execute Verbose.mac - - #===================================================== # GEOMETRY #===================================================== @@ -215,6 +198,23 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +##/vis/disable + +/vis/open OGLSX +/vis/viewer/set/viewpointThetaPhi 60 60 +/vis/viewer/zoom 6.0 +/vis/drawVolume +/tracking/storeTrajectory 1 +/vis/scene/add/trajectories +/vis/scene/endOfEventAction accumulate + +/control/execute Verbose.mac + + #===================================================== # Show how the geometry moves with time #===================================================== diff --git a/imaging/ProtonRadiography/mac/main.mac b/imaging/ProtonRadiography/mac/main.mac index d5781838..9e9508dc 100644 --- a/imaging/ProtonRadiography/mac/main.mac +++ b/imaging/ProtonRadiography/mac/main.mac @@ -55,13 +55,13 @@ /gate/physics/SetMaxStepSizeInRegion patient 1 mm /gate/physics/ActivateStepLimiter proton +/gate/run/initialize + # Verbose and visualisation /control/execute mac/verbose.mac #/vis/disable #/control/execute mac/visu.mac -/gate/run/initialize - # Beam (10x10 cm2 square at detector, focus point at 1 m from center of box) /gate/source/addSource mybeam gps /gate/source/mybeam/gps/particle proton diff --git a/imaging/SPECT/SPECT.mac b/imaging/SPECT/SPECT.mac index c6e02d0e..a0ae6612 100644 --- a/imaging/SPECT/SPECT.mac +++ b/imaging/SPECT/SPECT.mac @@ -15,11 +15,6 @@ # ********************************************************************* -# V I S U A L I S A T I O N -##### -##/vis/disable -/control/execute vis.mac - # M A N D A T O R Y ##### /gate/geometry/setMaterialDatabase ../../misc/GateMaterials.db @@ -265,4 +260,10 @@ /gate/run/initialize +# V I S U A L I S A T I O N +##### +##/vis/disable +/control/execute vis.mac + + /control/execute secondPart.mac diff --git a/imaging/SPECT_FFD/mac/angularResponseFunctionSPECT.mac b/imaging/SPECT_FFD/mac/angularResponseFunctionSPECT.mac index e5abbac3..222e8ff8 100644 --- a/imaging/SPECT_FFD/mac/angularResponseFunctionSPECT.mac +++ b/imaging/SPECT_FFD/mac/angularResponseFunctionSPECT.mac @@ -1,5 +1,3 @@ -#/vis/disable -#/control/execute mac/visualisation.mac /control/execute mac/headSPECT.mac # ARF table @@ -27,6 +25,9 @@ # Initialize /gate/run/initialize +#/vis/disable +#/control/execute mac/visualisation.mac + # Square source /gate/source/addSource gammaSource /gate/source/gammaSource/gps/type Volume diff --git a/imaging/SPECT_FFD/mac/fixedForcedDetectionSPECT.mac b/imaging/SPECT_FFD/mac/fixedForcedDetectionSPECT.mac index c781eb1b..1425e44f 100644 --- a/imaging/SPECT_FFD/mac/fixedForcedDetectionSPECT.mac +++ b/imaging/SPECT_FFD/mac/fixedForcedDetectionSPECT.mac @@ -1,5 +1,3 @@ -#/vis/disable -#/control/execute mac/visualisation.mac /control/execute mac/headSPECT.mac # Fixed forced detection detector @@ -46,6 +44,9 @@ # Initialize /gate/run/initialize +#/vis/disable +#/control/execute mac/visualisation.mac + # Square source /gate/source/addSource gammaSource /gate/source/gammaSource/gps/type Volume diff --git a/imaging/SPECT_FFD/mac/monteCarloSPECT.mac b/imaging/SPECT_FFD/mac/monteCarloSPECT.mac index 505b73c2..ca061e63 100644 --- a/imaging/SPECT_FFD/mac/monteCarloSPECT.mac +++ b/imaging/SPECT_FFD/mac/monteCarloSPECT.mac @@ -1,8 +1,3 @@ - -# Visualisation -#/vis/disable -#/control/execute mac/visualisation.mac - # SPECT /control/execute mac/fullSPECT.mac /control/execute mac/collimatorSPECT.mac @@ -42,6 +37,10 @@ # Initialize /gate/run/initialize +# Visualisation +#/vis/disable +#/control/execute mac/visualisation.mac + # Square source /gate/source/addSource gammaSource /gate/source/gammaSource/gps/type Volume diff --git a/imaging/Thermal/ThermalTherapy.mac b/imaging/Thermal/ThermalTherapy.mac index cdf90530..8fe50d10 100644 --- a/imaging/Thermal/ThermalTherapy.mac +++ b/imaging/Thermal/ThermalTherapy.mac @@ -5,19 +5,6 @@ # ################################################################## -#================================================================= -# VISUALISATION -#================================================================= - -#/vis/disable -/vis/open VRML2FILE -/vis/viewer/reset -/vis/drawVolume -/tracking/storeTrajectory 1 -/vis/scene/add/trajectories -/vis/scene/endOfEventAction accumulate 20 - - #================================================================= # VERBOSE #================================================================= @@ -88,6 +75,18 @@ /gate/run/initialize +#================================================================= +# VISUALISATION +#================================================================= + +#/vis/disable +/vis/open VRML2FILE +/vis/viewer/reset +/vis/drawVolume +/tracking/storeTrajectory 1 +/vis/scene/add/trajectories +/vis/scene/endOfEventAction accumulate 20 + #================================================================= # T H E R M A L A C T O R #================================================================= diff --git a/imaging/TimeActivityCurve/mainMacro.mac b/imaging/TimeActivityCurve/mainMacro.mac index 486132de..a8a4b9e0 100644 --- a/imaging/TimeActivityCurve/mainMacro.mac +++ b/imaging/TimeActivityCurve/mainMacro.mac @@ -1,6 +1,3 @@ -##/vis/disable -/control/execute vis.mac - /gate/geometry/setMaterialDatabase ../../GateMaterials.db ############# @@ -95,6 +92,8 @@ # I N I T I A L I Z E /gate/run/initialize +##/vis/disable +/control/execute vis.mac ############################## # Cubic voxelized source # diff --git a/imaging/TrackerDetector/mainMacro.mac b/imaging/TrackerDetector/mainMacro.mac index a178c851..0fb14d9f 100644 --- a/imaging/TrackerDetector/mainMacro.mac +++ b/imaging/TrackerDetector/mainMacro.mac @@ -1,5 +1,3 @@ -#/vis/disable -#/control/execute visu.mac /gate/geometry/setMaterialDatabase ../../GateMaterials.db @@ -17,6 +15,9 @@ # I N I T I A L I Z E /gate/run/initialize +#/vis/disable +#/control/execute visu.mac + /control/execute digitizer.mac diff --git a/imaging/UserFluenceSource/mac/main.mac b/imaging/UserFluenceSource/mac/main.mac index 4ff371a8..400c77a6 100644 --- a/imaging/UserFluenceSource/mac/main.mac +++ b/imaging/UserFluenceSource/mac/main.mac @@ -1,6 +1,6 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /gate/verbose Physic 0 @@ -18,8 +18,6 @@ /gate/verbose Geometry 0 /tracking/verbose 0 -#/control/execute mac/visu.mac - #===================================================== # GEOMETRY #===================================================== @@ -64,6 +62,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAM #===================================================== diff --git a/imaging/fastY90/mac/main.mac b/imaging/fastY90/mac/main.mac index 88f3ba74..0069a54e 100644 --- a/imaging/fastY90/mac/main.mac +++ b/imaging/fastY90/mac/main.mac @@ -3,13 +3,6 @@ ###################################################### -#===================================================== -# VISUALISATION -#===================================================== - -#/control/execute mac/visu.mac - - #===================================================== # MATERIAL DATABASE #===================================================== @@ -52,6 +45,12 @@ /gate/run/initialize +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # SOURCE #===================================================== diff --git a/imaging/fluorescence/mac/fluorescenceTest.mac b/imaging/fluorescence/mac/fluorescenceTest.mac index 2cab4c1c..386b65a9 100644 --- a/imaging/fluorescence/mac/fluorescenceTest.mac +++ b/imaging/fluorescence/mac/fluorescenceTest.mac @@ -1,5 +1,5 @@ #===================================================== -# VERBOSE and VISUALISATION +# VERBOSE #===================================================== /gate/verbose Physic 3 @@ -17,7 +17,6 @@ /gate/verbose Geometry 0 /tracking/verbose 0 -#/control/execute mac/visu.mac #===================================================== # GEOMETRY and ACTORS @@ -69,6 +68,13 @@ /gate/physics/displayCuts /gate/run/initialize + +#===================================================== +# VISUALISATION +#===================================================== + +#/control/execute mac/visu.mac + #===================================================== # BEAM #===================================================== diff --git a/imaging/garf/mac/main_analog.mac b/imaging/garf/mac/main_analog.mac index 99e85a36..4d3ecbc4 100644 --- a/imaging/garf/mac/main_analog.mac +++ b/imaging/garf/mac/main_analog.mac @@ -12,7 +12,6 @@ # ----------------------------------------------------------------------------- # Geometry definition -#/control/execute mac/visu.mac /control/execute mac/verbose.mac /control/execute mac/world.mac /control/execute mac/phantom_ct.mac @@ -37,6 +36,7 @@ # INITIALISATION /gate/run/initialize +#/control/execute mac/visu.mac # ----------------------------------------------------------------------------- # SOURCE diff --git a/imaging/garf/mac/main_arf.mac b/imaging/garf/mac/main_arf.mac index d9ebf910..6c94cd97 100644 --- a/imaging/garf/mac/main_arf.mac +++ b/imaging/garf/mac/main_arf.mac @@ -12,7 +12,6 @@ # ----------------------------------------------------------------------------- # Geometry definition -#/control/execute mac/visu.mac /control/execute mac/verbose.mac /control/execute mac/world.mac /control/execute mac/phantom_ct.mac @@ -60,6 +59,7 @@ # INITIALISATION /gate/run/initialize +#/control/execute mac/visu.mac # ----------------------------------------------------------------------------- # SOURCE diff --git a/imaging/garf/mac/main_dataset.mac b/imaging/garf/mac/main_dataset.mac index 1a1a17a8..fe20baf9 100644 --- a/imaging/garf/mac/main_dataset.mac +++ b/imaging/garf/mac/main_dataset.mac @@ -12,7 +12,6 @@ # ----------------------------------------------------------------------------- # Geometry definition -#/control/execute mac/visu.mac /control/execute mac/verbose.mac /control/execute mac/world.mac /control/execute mac/phantom_fake.mac @@ -43,6 +42,7 @@ # INITIALISATION /gate/run/initialize +#/control/execute mac/visu.mac # ----------------------------------------------------------------------------- # SOURCE diff --git a/misc/TrackLengthFluenceExamples/TLFluence-Example1/main.mac b/misc/TrackLengthFluenceExamples/TLFluence-Example1/main.mac index 982d4e85..63285669 100644 --- a/misc/TrackLengthFluenceExamples/TLFluence-Example1/main.mac +++ b/misc/TrackLengthFluenceExamples/TLFluence-Example1/main.mac @@ -29,44 +29,44 @@ /control/execute Verbose.mac -# 2/ V I S U A L I S A T I O N ################################# -# -/control/execute Visu.mac -#/vis/disable - -# 3/ MATERIALS ################################################# +# 2/ MATERIALS ################################################# # /gate/geometry/setMaterialDatabase ./Data/GateMaterials.db -# 4/ W O R L D ################################################# +# 3/ W O R L D ################################################# # /gate/world/geometry/setXLength 30. cm /gate/world/geometry/setYLength 30. cm /gate/world/geometry/setZLength 30. cm /gate/world/setMaterial Vacuum -# 5/ EXPERIMENT G E O M E T R Y ################################ +# 4/ EXPERIMENT G E O M E T R Y ################################ # /control/execute Geometry.mac -# 6/ P H Y S I C S D E S C R I P T I O N ##################### +# 5/ P H Y S I C S D E S C R I P T I O N ##################### # /control/execute Physics.mac -# 7/ DATA A C Q U I S I T I O N ############################## +# 6/ DATA A C Q U I S I T I O N ############################## # /control/execute Acquisition.mac -# 8/ I N I T I A L I Z E ####################################### +# 7/ I N I T I A L I Z E ####################################### # /gate/run/initialize /geometry/test/run +# 7/ V I S U A L I S A T I O N ################################# +# +/control/execute Visu.mac +#/vis/disable + # 9/ R A N D O M G E N E R A T O R ########################### # /control/execute Random.mac diff --git a/misc/TrackLengthFluenceExamples/TLFluenceDistribution-Exampl1/main.mac b/misc/TrackLengthFluenceExamples/TLFluenceDistribution-Exampl1/main.mac index 9be19d0d..0a0d7df3 100644 --- a/misc/TrackLengthFluenceExamples/TLFluenceDistribution-Exampl1/main.mac +++ b/misc/TrackLengthFluenceExamples/TLFluenceDistribution-Exampl1/main.mac @@ -27,44 +27,45 @@ /control/execute Verbose.mac -# 2/ V I S U A L I S A T I O N ################################# -# -#/control/execute Visu.mac -/vis/disable - -# 3/ MATERIALS ################################################# +# 2/ MATERIALS ################################################# # /gate/geometry/setMaterialDatabase ./Data/GateMaterials.db -# 4/ W O R L D ################################################# +# 3/ W O R L D ################################################# # /gate/world/geometry/setXLength 30. cm /gate/world/geometry/setYLength 30. cm /gate/world/geometry/setZLength 30. cm /gate/world/setMaterial Vacuum -# 5/ EXPERIMENT G E O M E T R Y ################################ +# 4/ EXPERIMENT G E O M E T R Y ################################ # /control/execute Geometry.mac -# 6/ P H Y S I C S D E S C R I P T I O N ##################### +# 5/ P H Y S I C S D E S C R I P T I O N ##################### # /control/execute Physics.mac -# 7/ DATA A C Q U I S I T I O N ############################## +# 6/ DATA A C Q U I S I T I O N ############################## # /control/execute Acquisition.mac -# 8/ I N I T I A L I Z E ####################################### +# 7/ I N I T I A L I Z E ####################################### # /gate/run/initialize /geometry/test/run +# 8/ V I S U A L I S A T I O N ################################# +# +#/control/execute Visu.mac +/vis/disable + + # 9/ R A N D O M G E N E R A T O R ########################### # /control/execute Random.mac diff --git a/misc/geometry_STL/Suzanne/main.mac b/misc/geometry_STL/Suzanne/main.mac index 271cdacd..76849fc4 100644 --- a/misc/geometry_STL/Suzanne/main.mac +++ b/misc/geometry_STL/Suzanne/main.mac @@ -1,7 +1,3 @@ -#VISUALIZATION -##/vis/disable -#/control/execute vis.mac - #INITIALIZE MATERIALS /gate/geometry/setMaterialDatabase GateMaterials.db @@ -25,6 +21,10 @@ #INITIALIZATION /gate/run/initialize +#VISUALIZATION +##/vis/disable +#/control/execute vis.mac + #SOURCE /control/execute point_source.mac