Message: Re: opticalsurface definition problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: opticalsurface definition problem 

Forum: Processes Involving Optical Photons
Re: Question Re: opticalsurface definition problem (hemiao)
Date: 23 Mar, 2009
From: Gumplinger Peter <Gumplinger Peter>

> whether the photon means optical photon or gamma ray?

In your code, you have:

theAbsorptionProcess = new G4OpAbsorption();

if (particleName == "opticalphoton") {

What this means is that the G4OpAbsorption process (and it's methods) are attached to the optical photon's process manager (pmanager). There are many methods called, GetMeanFreePath, of process classes for other particles just the same.

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

 Add Message Add Message
to: "Re: opticalsurface definition problem"

 Subscribe Subscribe

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