<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
dear gate users;</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
i am trying to simulate internal dosimetry in human organs using DICOM CT images and i am facing difficulties with using the correct sources and how i could located them in specific organ.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
please have a look on the input file and advise .</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
please note that the input file i used a TPSPencilBeam because as i mention before i didn't know the correct way to locate the source in organ</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>#ALIAS<br>
</span>
<div><br>
</div>
<div>#Voxelized geometry<br>
</div>
<div>/control/alias type "complex"<br>
</div>
<div><br>
</div>
<div>## DENSITY TOLERANCE<br>
</div>
<div>/control/alias dt "0.01"<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # VISUALISATION <br>
</div>
<div>#/control/execute ../mac/visu.mac<br>
</div>
<div>#/vis/disable<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # MATERIALS<br>
</div>
<div>/gate/geometry/setMaterialDatabase    ../data/HFMaterials.db<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div># WORLD<br>
</div>
<div>/gate/world/setMaterial                 Air<br>
</div>
<div>/gate/world/geometry/setXLength         3 m<br>
</div>
<div>/gate/world/geometry/setYLength         3 m<br>
</div>
<div>/gate/world/geometry/setZLength         3 m<br>
</div>
<div>/gate/world/vis/setVisible              0<br>
</div>
<div><br>
</div>
<div>/control/execute ../data/MAN_phantom.mac<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # PHYSICS<br>
</div>
<div><br>
</div>
<div>/gate/physics/addPhysicsList QBBC_EMZ<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # PARAMETERS<br>
</div>
<div>/control/alias cut "0.1"<br>
</div>
<div>/control/alias step "0.1"<br>
</div>
<div>  <br>
</div>
<div>  #Cut<br>
</div>
<div>/gate/physics/Gamma/SetCutInRegion      patient 0.1 mm<br>
</div>
<div>/gate/physics/Electron/SetCutInRegion   patient 0.1 mm<br>
</div>
<div>/gate/physics/Positron/SetCutInRegion   patient 0.1 mm<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>  #Tracking cut<br>
</div>
<div>/gate/physics/SetMinRemainingRangeInRegion patient 0.1 mm<br>
</div>
<div>/gate/physics/ActivateSpecialCuts e-<br>
</div>
<div>/gate/physics/ActivateSpecialCuts proton<br>
</div>
<div><br>
</div>
<div>  #stepLimiter<br>
</div>
<div>/gate/physics/SetMaxStepSizeInRegion world 100 mm<br>
</div>
<div>/gate/physics/SetMaxStepSizeInRegion patient 0.1 mm<br>
</div>
<div>/gate/physics/ActivateStepLimiter proton<br>
</div>
<div>/gate/physics/ActivateStepLimiter deuteron<br>
</div>
<div>/gate/physics/ActivateStepLimiter triton<br>
</div>
<div>/gate/physics/ActivateStepLimiter alpha<br>
</div>
<div>/gate/physics/ActivateStepLimiter GenericIon<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # OUTPUTS<br>
</div>
<div><br>
</div>
<div>/control/execute ../data/actor.mac<br>
</div>
<div>/gate/actor/addActor                                              DoseActor  dose3D<br>
</div>
<div>/gate/actor/dose3D/attachTo                                       patient<br>
</div>
<div>/gate/actor/dose3D/stepHitType                                    random<br>
</div>
<div>/gate/actor/dose3D/setResolution                                  512 512 8<br>
</div>
<div>/gate/actor/dose3D/enableDose                                     true<br>
</div>
<div>/gate/actor/dose3D/save                                           ../output/output.mhd<br>
</div>
<div>/gate/actor/dose3D/inputDoseByRegions                             ../data/SYRPhantom.mhd<br>
</div>
<div>/gate/actor/dose3D/outputDoseByRegions                            ../output/DoseByRegions.txt<br>
</div>
<div>#/gate/actor/dose3D/addRegion                                      1000: 89, 90, 91<br>
</div>
<div>#/gate/actor/dose3D/addRegion                                      1001: 92, 93, 94
<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # INITIALISATION<br>
</div>
<div><br>
</div>
<div>/gate/run/initialize<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # SOURCE<br>
</div>
<div><br>
</div>
<div># TPSPencilBeam SOURCE<br>
</div>
<div><br>
</div>
<div>#/gate/source/addSource                          TPS     TPSPencilBeam<br>
</div>
<div>#/gate/source/TPS/setTestFlag                    false<br>
</div>
<div>#/gate/source/TPS/setFlatGenerationFlag          false<br>
</div>
<div>##/gate/source/TPS/setPlan                        ../data/PlanDescriptionffcenter.txt<br>
</div>
<div>#/gate/source/TPS/setPlan                       ../data/PlanDescriptionFilspots.txt<br>
</div>
<div>#/gate/source/TPS/setParticleType                proton<br>
</div>
<div>#/gate/source/TPS/setSpotIntensityAsNbIons       true<br>
</div>
<div>#/gate/source/TPS/setSourceDescriptionFile       ../data/SourceDescriptionFile.txt<br>
</div>
<div>#/gate/source/TPS/setBeamConvergence             true<br>
</div>
<div>/gate/source/addSource mybeam gps<br>
</div>
<div>/gate/source/mybeam/gps/particle proton<br>
</div>
<div>/gate/source/mybeam/gps/energy 8 MeV<br>
</div>
<div>/gate/source/mybeam/gps/energytype Mono<br>
</div>
<div>/gate/source/mybeam/gps/type Point<br>
</div>
<div>/gate/source/mybeam/gps/direction 0 0 1<br>
</div>
<div>/gate/source/mybeam/gps/pos/centre 0. 0. -0.01 cm<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # SEED<br>
</div>
<div>/gate/random/setEngineSeed 1234567890<br>
</div>
<div>#/gate/random/setEngineName MersenneTwister<br>
</div>
<div>#/gate/random/setEngineSeed auto<br>
</div>
<div><br>
</div>
<div>#================================================================<br>
</div>
<div><br>
</div>
<div>  # START BEAMS<br>
</div>
<div>/gate/application/setTotalNumberOfPrimaries 10000<br>
</div>
<div>/gate/application/start<br>
</div>
<span>#/geometry/test/run</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>------------------------------</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>#HU conversion & Schneider tables<br>
</span>
<div><br>
</div>
<div>/gate/HounsfieldMaterialGenerator/SetMaterialTable ../data/Schneider2000MaterialsTable.txt<br>
</div>
<div>/gate/HounsfieldMaterialGenerator/SetDensityTable ../data/Schneider2000DensitiesTable.txt<br>
</div>
<div>/gate/HounsfieldMaterialGenerator/SetDensityTolerance 0.1 g/cm3<br>
</div>
<div>/gate/HounsfieldMaterialGenerator/SetOutputMaterialDatabaseFilename ../data/HUmaterials-0.1.db<br>
</div>
<div>/gate/HounsfieldMaterialGenerator/SetOutputHUMaterialFilename ../data/HU2mat-0.1.txt<br>
</div>
<div>/gate/HounsfieldMaterialGenerator/Generate<br>
</div>
<div><br>
</div>
<div>#patient virtual container<br>
</div>
<div>/gate/world/daughters/name patient_box<br>
</div>
<div>/gate/world/daughters/insert box<br>
</div>
<div>/gate/patient_box/setMaterial G4_AIR<br>
</div>
<div>/gate/patient_box/geometry/setXLength 50 cm<br>
</div>
<div>/gate/patient_box/geometry/setYLength 50 cm<br>
</div>
<div>/gate/patient_box/geometry/setZLength 50 cm<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>/gate/patient_box/vis/setColor        yellow<br>
</div>
<div><br>
</div>
<div># Patient geometry description<br>
</div>
<div>/gate/patient_box/daughters/name patient<br>
</div>
<div>/gate/patient_box/daughters/insert ImageNestedParametrisedVolume<br>
</div>
<div><br>
</div>
<div>/gate/patient/geometry/TranslateTheImageAtThisIsoCenter 0.0 0.0 0.0 mm<br>
</div>
<div><br>
</div>
<div>/control/alias dg "0"<br>
</div>
<div><br>
</div>
<div>/gate/patient/placement/setTranslation 0.0 0.0 0.0 cm<br>
</div>
<div>/gate/patient_box/placement/setRotationAxis           0 1 0<br>
</div>
<div>/gate/patient_box/placement/setRotationAngle          0 deg<br>
</div>
<div><br>
</div>
<div>/gate/geometry/setMaterialDatabase                  ../data/HUmaterials-0.1.db<br>
</div>
<div>/gate/patient/geometry/setHUToMaterialFile          ../data/HU2mat-0.1.txt<br>
</div>
<div>#/gate/patient/geometry/setImage                     ../data/phantom.mhd<br>
</div>
<div>/gate/patient/geometry/setImage                     ../data/SYRPhantom.mhd<br>
</div>
<span>/gate/patient/vis/setColor            red</span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div id="Signature">                    <font size="2" style="font-size:10pt"> <font color="#666666"><strong>Mohamad Pharaon</strong></font><br>
<font color="#666666"><strong>                           Nuclear Engineer </strong>
</font><br>
<font color="#666666"><strong>             Teacher Assistant at Faculty Of</strong></font><br>
<font color="#666666"><strong>        Mechanical And Electrical Engineering  </strong></font></font><br>
</div>
</div>
</body>
</html>