Message: Re: Problems with Optical Photons [OpAbsorption] Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: Problems with Optical Photons [OpAbsorption] 

Forum: Processes Involving Optical Photons
Re: Question Problems with Optical Photons [OpAbsorption] (Ana)
Re: Feedback Re: Problems with Optical Photons [OpAbsorption] (Gumplinger Peter)
Re: None Re: Problems with Optical Photons [OpAbsorption] (Ana)
Date: 15 Mar, 2011
From: Gumplinger Peter <Gumplinger Peter>

Hi Ana,

I found the problem - wavelength dependent properties must be given at a minimum of two bins! You must not shrink the array to just one entry. The bins can be as close together as you wish:

  const G4int nEntries_Air = 2;
  G4double photonEnergy_Air[nEntries_Air] = { 2.95*eV, 3.00*eV };
  G4double refractiveIndex_Air[nEntries_Air] = { 1.0, 1.0 };

  const G4int nEntries_scint = 2;
  G4double scint_PP[nEntries_scint] = { 2.95*eV, 3.00*eV };
  G4double scint_FAST[nEntries_scint] = { 1.0, 1.0 };
  G4double scint_SLOW[nEntries_scint] = { 0.0, 0.0 };

  G4double scint_ABSL[nEntries_scint] = { 360*cm, 360*cm };

  G4double scint_RIND[nEntries_scint] = { 1.82, 1.82 };

This has always been like this and is not new to 9.4 so I don't know how it could have ever worked.

At first, I thought that you may have uncovered an incompatibility between Penelope and optical photons (I have only ever checked with standard EM).

This is not your fault but mine; the documentation is not explicit about this and too many users have already fallen into this trap.


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

1 Sad: Re: Problems with Optical Photons [OpAbsorption]   (Ana - 22 Mar, 2011)
 Add Message Add Message
to: "Re: Problems with Optical Photons [OpAbsorption]"

 Subscribe Subscribe

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