Dear all
I am modeling 3 spheres inside a cuboidal world volume.
Geometry is as follows:
-
Cuboidal world volume with sides 4 cm x 4 cm x 8 cm.
-
Sphere with radius 4 cm positioned at (0, 0, 4. cm).
-
Two concentric spheres named as Source (radius = 4. mm) and Target (radius 2. cm). The center of source is dislocated by 4. mm from the center of Target volume The code for this part is a below
// Spherical shell for Target
//
G4Sphere*
sTarget = new G4Sphere(“sTarget”,
0.,
fProstateRadius,
0.,
360.*deg,
0.,
180.*deg);fLogicalTarget = new G4LogicalVolume(sTarget,
TISSUE,
“Target”);fTarget = new G4PVPlacement(nullptr,
G4ThreeVector(0., 0., -2.0*cm),
“Target”,
fLogicalTarget,
fWorld,
false,
0);// Spherical shell for Source
//
G4Sphere*
sSource = new G4Sphere(“sSource”,
0.*micrometer,
fTumorRadius,
0.,
360.*deg,
0.,
180.*deg);fLogicalSource = new G4LogicalVolume(sTumor,
TISSUE,
“Tumor”);fSource = new G4PVPlacement(nullptr,
G4ThreeVector(0., 0.4*cm, 0.),
“Source”,
fLogicalSource,
fTarget,
false,
0);
I am also attaching the image from the viewer. Please find the attachment. Blue is the largest sphere. Green is the Target volume and red is the Source volume.
Now, my question is:
- Is this geometry fine if I want to calculate the dose deposited inside the Source and Target region separately?
- Since Source volume is not positioned at (0,0,0) and I am interested to uniformly sample the 1 MeV electron sources inside the source volume. How can I get it done with GeneralParticleGun? Currently I am using GPS to get this distribution. But I am interested to use GeneralParticleGun.