Message: Re: Applying q.e. of photon detector at Cerenkov photon production stage? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Applying q.e. of photon detector at Cerenkov photon production stage? 

Forum: Processes Involving Optical Photons
Re: Question Applying q.e. of photon detector at Cerenkov photon production stage? (Luka Santelj)
Date: 10 Feb, 2011
From: Gumplinger Peter <Gumplinger Peter>

Hi Luka,

You have a very good point - why propagate an optical photon when in the end a single random number, based on a wavelength dependent q.e., will decide whether or not this photon contributes to the signal.

The best place to do this is in G4UserStackingAction::ClassifyNewTrack. If you look at:

http://www-geant4.kek.jp/lxr/source//examples/extended/optical/LXe/src/LXeStackingAction.cc#L48

the implementation you need to code will be obvious; you either return fUrgent or fKill.

One place you can do this even earlier is by hacking the Geant4 source. There is a for-loop:

http://www-geant4.kek.jp/lxr/source/processes/electromagnetic/xrays/src/G4Cerenkov.cc#L240

The optical photon energy is sucessfully sampled after this do-while:

http://www-geant4.kek.jp/lxr/source/processes/electromagnetic/xrays/src/G4Cerenkov.cc#L259

You could jump (continue) to the end of the for-loop on the q.e. condition applied to 'sampledEnergy'.

Hope this helps, Peter

P.S. I was away, hence my late reply.

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

1 None: Re: Applying q.e. of photon detector at Cerenkov photon production stage?   (Luka Santelj - 17 Feb, 2011)
2 Question: Re: Applying q.e. of photon detector at Cerenkov photon production stage?   (Michael H. Kelsey - 17 Feb, 2011)
1 Feedback: Re: Applying q.e. of photon detector at Cerenkov photon production stage?   (Gumplinger Peter - 03 Mar, 2011)
(_ None: Re: Applying q.e. of photon detector at Cerenkov photon production stage?   (Mike Kelsey - 03 Mar, 2011)
 Add Message Add Message
to: "Re: Applying q.e. of photon detector at Cerenkov photon production stage?"

 Subscribe Subscribe

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