Message: 3D histogram of energy depositied in Absorber using ROOT Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None 3D histogram of energy depositied in Absorber using ROOT 

Forum: Analysis
Date: 04 Mar, 2015
From: Daniel M <Daniel M>

Hello!

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.

Thanks!

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: 3D histogram of energy depositied in Absorber using ROOT   (Ivana Hrivnacova - 16 Mar, 2015)
 Add Message Add Message
to: "3D histogram of energy depositied in Absorber using ROOT"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]