Message: Re: 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

Feedback Re: How to get the number of optical photon in a scintillator? 

Forum: Particles
Re: None How to get the number of optical photon in a scintillator? (Jianglai Liu)
Date: 19 May, 2006
From: Gumplinger Peter <Gumplinger Peter>

I am afraid, there is at present no easier way than counting in G4UserStackingAction, see:

http://geant4.slac.stanford.edu/Tips/event/4.html

with the condition that the photons are in a particular volume, as you have done. See also:

http://geant4www.triumf.ca/lxr/source/examples/extended/optical/LXe/src/LXeStackingAction.cc

The number of optical photons generated in one step is not part of the G4Step class (while fTotalEnergyDeposit is). One reason for this, of course, is that most G4 applications do not concern themselves with optical photons, while those that do, are usually concerned with how many of the generated photons make it to some distant photon detector.

The mean number of optical photons is directly proportional to the energy loss, the proportionality being the scintillation yield.

It would not be difficult to add code so the user can obtain in his/her SteppingAction or Hits classes, the number of optical photons generated in a step from the G4Scintillation process. This number is at present a local variable of the PostStepDoIt.

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

 Add Message Add Message
to: "Re: 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


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