Message: Re: Fluence rate computed from the deposited energy of the optical photons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: Fluence rate computed from the deposited energy of the optical photons 

Forum: Processes Involving Optical Photons
Re: Question Fluence rate computed from the deposited energy of the optical photons (Clément DUPONT)
Re: None Re: Fluence rate computed from the deposited energy of the optical photons (C Mos)
Re: None Re: Fluence rate computed from the deposited energy of the optical photons (michel maire)
Re: None Re: Fluence rate computed from the deposited energy of the optical photons (Clément DUPONT)
Date: 11 Mar, 2015
From: Gumplinger Peter <Gumplinger Peter>

Hi Clément,

From the Appl. Devel. Manual:

"Optical photons are generated in GEANT4 without energy conservation and their energy must therefore not be tallied as part of the energy balance of an event."

As a result, the coding in G4OpAbsorption process is incomplete:

http://www-geant4.kek.jp/lxr/source/processes/optical/src/G4OpAbsorption.cc#L101

It does not set:

  aParticleChange.ProposeLocalEnergyDeposit(thePhotonMomentum);

Now if you start with an optical photon with a given energy, the warning of the manual can be ignored, if you add these lines in your version of G4OpAbsorption.cc at:

http://www-geant4.kek.jp/lxr/source/processes/optical/src/G4OpAbsorption.cc#L101

const G4DynamicParticle* aParticle = aTrack.GetDynamicParticle();

thePhotonMomentum = aParticle->GetTotalMomentum();

aParticleChange.ProposeLocalEnergyDeposit(thePhotonMomentum);

I believe then your sensitive detector should behave as you expect.

Peter

 Add Message Add Message
to: "Re: Fluence rate computed from the deposited energy of the optical photons"

 Subscribe Subscribe

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