Message: Re: total number of Cherenkov photons which are produced by a primary particle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: total number of Cherenkov photons which are produced by a primary particle 

Keywords: number of Cherenkov Photons
Forum: Processes Involving Optical Photons
Date: 14 Nov, 2006
From: Gumplinger Peter <Gumplinger Peter>

Hi Adnan,

The only way I can see how you can do this is by implementing logic in your G4UserSteppingAction. The logic needs to increment a counter but only for the first step of an optical photon in your layers. - Please, refer to other examples on how you can inquire about the number of steps already taken along a track and in which volume and copy number the step is located.

However, this solution is just my best understanding what to do. Maybe, somebody else has a better idea? In G4 it is, quite in general - I think, difficult to find out about secondaries produced during a step: how many, their direction, energy, type, and mechanism having generated the secondary; i.e. our good old GCKINE common block in G3. Comments, please.

Peter

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

1 Idea: total number of Cherenkov photons which are produced by a primary particle   (adnan - 15 Nov, 2006)
(_ More: Re: total number of Cherenkov photons which are produced by a primary particle   (Peter Gumplinger - 15 Nov, 2006)
 Add Message Add Message
to: "Re: total number of Cherenkov photons which are produced by a primary particle"

 Subscribe Subscribe

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