Message: Insering new detector and secondary ions on Hadr02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Insering new detector and secondary ions on Hadr02 

Forum: Educational Applications
Date: 07 Aug, 2014
From: George <George>


I'm new to Geant4 and I'd like to modify the example extended/hadronic/Hadr02 to assimilate with my needs. I have been "playing" with it for a few time and need some help to understand a few things.

Resume of what I want: incident ion beam hitting a target (gas or solid, doesn't matter at first instance because I know its an easy geometry/detector manipulation) and a detector getting deposited energy of secondary ion particles.

So, basically:

1) How should I add the secondary particles of my interest to the program? Basically all light ions is of my interest.

2) How should I modify the code to bring up energy of the secondary particles which hit the detector (each partile energy, not the average one)? I would need an output as a table basically saying "Particle(ion) deltaE E" for example (11C X(MeV) Y(MeV)) so I could easily make the plot on any data analysis software. ( I actually just built a new detector, but the real one would be two layers of Si, one thicker than another. So the particle would lose a bit of energy in first layer and then lose the rest on the second, thicker, layer).

Note: I successfully added a new detector to HAdr02 after the built-in target. However, the incident beam looks like is losing all energy even when my secondary detector thickness is like 0.0000001 cm which doesn't seems to make any sense because when I run the same input on the original Hadr02 it doesn't lose all of its energy. Maybe my edited code has a bug...

 Add Message Add Message
to: "Insering new detector and secondary ions on Hadr02"

 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 ]