|Message: 3D histogram of energy depositied in Absorber using ROOT||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 doing my thesis and need to do a simple simulation of photon beam hitting a tungsten absorber/solid converter (Box). I accomplished something close to this using example B1 as a basis, where i modified the materials and the geometry to match my needs. For the energy deposition i introduced a sensitive detector and a , both based on the files "B2TrackerSD.cc/hh" and "B2TrackerHit.cc/hh" in example B2.
THis gives me an output for every event (generated photon from gun)that tells med where energy is deposited and how much is deposited. The output is:
trackID: 1Edep: 69.525 keV Position: 0 0 -318.202 um trackID: 2Edep: 435.476 keV Position: 188.892 -0.0852614 -178.776 um trackID: 2Edep: 73.24 keV Position: 229.255 -7.13996 -143.099 um trackID: 2Edep: 210.555 keV Position: 230.104 -9.42939 -145.798 um trackID: 3Edep: 69.525 keV Position: 204.573 -133.231 563.216 um trackID: 5Edep: 91.5187 keV Position: 204.716 -133.031 564.194 um>>> Event: 9 5 trajectories stored in this event. 6 hits stored in this event
which is similar to the one which you get form example2.
Now, what i need is a histogram that shows me the distribution of the energy deposited on this absorber (given a large number of incoming photons). I'm a novice user of Geant4,ROOT and have limited c++ knowledge, though i can follow the code reasonably well.
|Inline Depth:||Outline Depth:||Add message:|