Message: Re: Number of reflections of Opticalphotons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Number of reflections of Opticalphotons 

Forum: Processes Involving Optical Photons
Date: 06 Feb, 2003
From: Gumplinger Peter <Gumplinger Peter>

The GEANT4 kernel does not keep track of the number of reflections an optical photon takes along its trajectory and until the user decides to tally it.

However, the G4OpBoundaryProcess has a public method called:

G4OpBoundaryProcessStatus::GetStatus

which returns the internal status of the process after the DoIt (process action). The possible status include:

enum G4OpBoundaryProcessStatus {  Undefined,
                                  FresnelRefraction, FresnelReflection,
                                  TotalInternalReflection,
                                  LambertianReflection, LobeReflection,
                                  SpikeReflection, BackScattering,
                                  Absorption, Detection };

It is therefore possible for the user to tally in his/her G4UserSteppingAction how many times for a given optical photon track a certain mechanism was used in the G4OpBoundaryProcess.

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

 Add Message Add Message
to: "Re: Number of reflections of Opticalphotons"

 Subscribe Subscribe

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