|Message: Question About Mother Volume||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I'm building a space application simulation to calculate dose on a given solid.
First, I'm building a simple geometry to validate my simulation and then I'll create more complicated geometries.
This is a very basic question, but as I understand, if I have solid sphere and a target inside it, the target's mother volume is the sphere, and not the world volume, because the target is inside the sphere's material. But what if I have a spherical shell, and the target is inside, but not touching the shell's material?
This is what I'm doing:
// Sphere G4Sphere* Sphere = new G4Sphere("Sphere",rmin,rmax,startAngle,spanningAngle,startAngle,spanningAngle); G4LogicalVolume* logicSphere = new G4LogicalVolume(Sphere,Al,"Sphere"); new G4PVPlacement(0,G4ThreeVector(),logicSphere,"Sphere",logicWorld,false,0); logicSphere->SetVisAttributes(G4Colour::Blue());
// Target G4Sphere* Target = new G4Sphere("Sphere",0.*cm,rmin,startAngle,spanningAngle,startAngle,spanningAngle); G4LogicalVolume* logicTarget = new G4LogicalVolume(Target,Si,"Target"); new G4PVPlacement(0,G4ThreeVector(),logicTarget,"Target",logicSphere,false,0); logicTarget->SetVisAttributes(G4Colour::Red());
My doubt appeared because when the Target is a daughter volume of the world and I start to put the spherical shell as invisible, I don't see the target. But I can see the target when I put the spherical shell as the mother volume.
Best Regards Leonardo