Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Practice GEANT4 - ML2 Geant4 School, 12-14 October 2009, Catania Italy Dr. C. Andenna DIPIA – ISPESL e Gruppo Collegato Sanità INFN (Roma)

Similar presentations


Presentation on theme: "1 Practice GEANT4 - ML2 Geant4 School, 12-14 October 2009, Catania Italy Dr. C. Andenna DIPIA – ISPESL e Gruppo Collegato Sanità INFN (Roma)"— Presentation transcript:

1 1 Practice GEANT4 - ML2 Geant4 School, October 2009, Catania Italy Dr. C. Andenna DIPIA – ISPESL e Gruppo Collegato Sanità INFN (Roma)

2 Geant4 Low Energy Electromagnetic Physics Working Group Some aspects of the program /primaryParticleData/idParticleSource 1 switch (this->idCurrentParticleSource) { case idParticleSource_Random: this->GenerateFromRandom(); break; case idParticleSource_CalculatedPhaseSpace: this->GenerateFromCalculatedPhaseSpace(); break; } 2 Geant4 School, October 2009, Catania Italy

3 Geant4 Low Energy Electromagnetic Physics Working Group Some aspects of the program /primaryParticleData/idParticleSource 2 switch (this->idCurrentParticleSource) { case idParticleSource_Random: this->GenerateFromRandom(); break; case idParticleSource_CalculatedPhaseSpace: this->GenerateFromCalculatedPhaseSpace(); break; } 3 Geant4 School, October 2009, Catania Italy

4 Geant4 Low Energy Electromagnetic Physics Working Group Some aspects of the program Dose calculation and its standard deviation In each voxel: 4 Geant4 School, October 2009, Catania Italy

5 Geant4 Low Energy Electromagnetic Physics Working Group Some aspects of the program Dose calculation: G4double depEnergy= aStep->GetTotalEnergyDeposit(); voxelMass=density*voxels.halfSize.X*voxels.halfSize.Y*voxels.halfSize.Z; dose=depEnergy/voxelMass; Voxels.nEvents++; voxels.depEnergy+=dose; voxels.depEnergy2+=dose*dose; 5 Geant4 School, October 2009, Catania Italy

6 Geant4 Low Energy Electromagnetic Physics Working Group Content 6 An overview of the results Phase space data Phantom voxelization Comparison between experimental and calculated doses Graphical view Geant4 School, October 2009, Catania Italy

7 Geant4 Low Energy Electromagnetic Physics Working Group Phase space data Type of data saved 7 nX [mm] Y [mm] Z [mm] dxdydzkinEnergy [MeV] Part Type Prim part type Prim part Geant4 School, October 2009, Catania Italy

8 Geant4 Low Energy Electromagnetic Physics Working Group Phantom voxelization Type of data saved 8 Phys VolumeX [mm] Y [mm] Z [mm] ixiyizDose [Gy] Dose^2 [Gy^2] nEvents fullWaterPhantomPV e e Geant4 School, October 2009, Catania Italy

9 Geant4 Low Energy Electromagnetic Physics Working Group Experimental vs Calculated data Type of data saved 9 % 6 MeV Tutte le misure gaf 10 luglio 2009 campo 3x3 n208=2; fh208=[ e e+07 ]; % x [mm], y [mm], z [mm], expDose [Gy], Calculated dose [Gy], Calculated dose2 [Gy^2], nEvents, normDose [Gy], normDoseError [Gy] d208=[ e e e e e e …. ]; Geant4 School, October 2009, Catania Italy

10 Geant4 Low Energy Electromagnetic Physics Working Group Graphical view Dedicated programs have to be used to generate the wanted graphs We use matlab programs 10 Geant4 School, October 2009, Catania Italy

11 Geant4 Low Energy Electromagnetic Physics Working Group Graphical view: examples Comparison between calculated and measured data 11 Geant4 School, October 2009, Catania Italy

12 Geant4 Low Energy Electromagnetic Physics Working Group Graphical view: 3D Two examples of a section of the ROG 12 Geant4 School, October 2009, Catania Italy

13 13 Thank you ! Should you have any question, do not hesitate to contact us


Download ppt "1 Practice GEANT4 - ML2 Geant4 School, 12-14 October 2009, Catania Italy Dr. C. Andenna DIPIA – ISPESL e Gruppo Collegato Sanità INFN (Roma)"

Similar presentations


Ads by Google