|Message: Re: can sensitive detectors be used to filter out secondary particles .. ?||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)|
User Manju Sudhakar wrote:
>> Dear Geant Users, >> >> I need help .. >> >> Suppose I have a sample material, say Silicon.I irradiate it with >> photons of a particular energy. The photons interact with the material >> and produce secondaries, electrons and photons. I am interested in the >> secondary electrons. If I place a sensitive detector below the material, >> it registers a hit only if a primary particle, the photon impinges on >> the sensitive detector. What I want is for the sensitive detector to >> register a hit when the secondary electron impinges on it, because I >> want to accumulate the electrons and plot a spectrum. Right now, I'm >> using a counter in the mySteppingVerbose.cc to filter out the necessary >> particles and count them as they pass into the counter. >> >> My questions are : >> >> 1 ) Is it possible to select the particle of our choice to be registered >> as a hit in the sensitive detector ? 2 ) Is it possible to have many >> sensitive detectors that are "sensitive" to different particles ? >> >> Thanks. >> >> Manju Sudhakar.
Experts will answer you about sensitive detectors.
I wish to make one comment : if you want only to plot the spectrum of electrons which exit the silicon, you do not need the concept of sensitive detectors and hits collection. You can do the plots directly in SteppingAction or TrackingAction.
examples/extended/electromagnetic/TestEm5 is designed to produce such kind of plots. See the README. In your case it is the plot number 4. The example could be run with a typical macro as bellow:
# # macro file for TestEm5.cc # /control/verbose 2 /run/verbose 2 # /testem/det/setAbsMat Silicon /testem/det/setAbsThick 1 mm /testem/det/setAbsYZ 2 mm # /testem/phys/setCuts 1 mum # /run/initialize # /testem/gun/setDefault /gun/particle gamma /gun/energy 1 MeV # /testem/histo/setFileType hbook #for paw /testem/histo/setFileName 1mum.paw /testem/histo/setHisto 4 100 0. 1000. keV #energy at exit # /testem/event/printModulo 100000 # /run/beamOn 1000000
|Inline Depth:||Outline Depth:||Add message:|