|Message: Source volume restriction||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 am modeling the response of a Phoswich detector where an electron is detected in a low-Z scintillator region (a hollow cylinder filled with Xe gas possessing thin BC-404 walls) cylindrically surrounded by a high-Z scintillator for capturing gammas (concentric cylinders with a Xe gas in hole at the center running the entire length).
My code produces reasonable output, with one exception: the source description is not what I expect it to be. Namely, I have a defined my source such that I would expect it to be uniformly distributed within the confines of my hollow inner scintillator region, viz
G4VSolid* solidSource = new G4Tubs("solidSource", 0., fInnerScinRadius - fInnerScinThickness, fOuterScinHalfz, 0., twopi); logicSource = new G4LogicalVolume(solidSource ,SourceMatter, "logicSource",0,0,0); physiSource = new G4PVPlacement(0, positionInnerScintillator, logicSource, "Radioactive source", logicWorld, false, 0);
UI->ApplyCommand("/gps/pos/confine Radioactive source");
but when I run the program (using vis.in below) my source is emitting isotropically but confined to a point at the center of my detector - not uniformly over the source volume.
I've tried all sorts of permutations with no relief. Any insight as to where I am missing the boat?
As always, much appreciated
/event/fileName Xe133test /event/ionType Xe133m
# Should match number of event to run /event/numberEventsPrint 10
# ---------------------- # Visualization settings
#/vis/open HepRepFile #/vis/drawVolume #/vis/viewer/flush
/vis/open OGLIX /vis/viewer/set/style wireframe # Set direction from target to camera. /vis/viewer/set/viewpointVector 10.7 1. 1. /vis/viewer/set/viewpointThetaPhi 90 180 deg /vis/viewer/zoom 1. /vis/scene/create /vis/scene/add/volume /vis/sceneHandler/attach /vis/drawVolume /vis/viewer/flush
/vis/scene/add/trajectories /vis/scene/endOfEventAction accumulate
/vis/modeling/trajectories/create/drawByParticleID /vis/modeling/trajectories/drawByParticleID-0/set gamma green /vis/modeling/trajectories/drawByParticleID-0/set e- red /vis/modeling/trajectories/drawByParticleID-0/set opticalphoton white # ----------------------
/gps/source/intensity 1.0 /gps/particle ion /gps/ion 54 133 0 0
# #/gps/energy 30 keV #/gps/ang/type iso #/gps/particle e-
|Inline Depth:||Outline Depth:||Add message:|