Message: How to get the number of optical photon in a scintillator? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to get the number of optical photon in a scintillator? 

Forum: Processes Involving Optical Photons
Date: 19 May, 2006
From: Jianglai Liu <Jianglai Liu>

Dear Geanters,

I have a simple question. I have an electron beam which goes through
two scintillators. I would like to count the total number of optical 
photons in each scintillator. Currently, I follow the "classical approach" by 
by adding two counters in either G4UserStackingAction or 
G4UserTrackingAction, and incrementing individual counter by testing 
on volume name. It works, however, I am wondering if there is more natural way of
doing this under the framework of Hits/Sensitive Detectors. After all, 
for a scintillator, the number of photons should be simply kept just 
like dEdx. 

So far I came up with an ugly fix. I try to count the total number of 
unique new trackID in SD::ProcessHits() demanding that the particle name = 
"optical photons". If you happen to know a better approach, would you 
share it with me? Thanks much!

Jianglai

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

1 Feedback: Re: How to get the number of optical photon in a scintillator?   (Peter Gumplinger - 19 May, 2006)
 Add Message Add Message
to: "How to get the number of optical photon in a scintillator?"

 Subscribe Subscribe

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