Message: Re: Generate photons discretionally Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Generate photons discretionally 

Forum: Processes Involving Optical Photons
Re: Question Generate photons discretionally (JungEun Elena Suh)
Date: 16 Jul, 2014
From: Gumplinger Peter <Gumplinger Peter>

> Is it possible to generate photons discretionally?

What exaclty would you like to do? Yes, it is possible to launch photons one by one. Please, see the code and macro in OpNovice:

This uses the G4ParticleGun with the utility:

that makes sure the op-photon polarization is perpendicular to the direction.

> Like ZEMAX?

I am not familier with ZEMAX - but let me know if there is anything in that program that G4 can't do.

> Give an energy, direction, myself.

Yes, via G4ParticleGun

> I want to simulate Cherenkov radiation.

Well, Geant4 already has a process - G4Cerenkov - that generates cherenkov photons when a charged particle passes through a medium - so long as that medium has been given a real index of refraction. Please, see the G4 documentation.

> I wanna know if I can generate photons themselves without primary particle beam.

Yes, but in the case of cherekov photons I don't see why you would want to.


 Add Message Add Message
to: "Re: Generate photons discretionally"

 Subscribe Subscribe

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