Message: Re: Scintillation photons leaking through refelctive surface Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Scintillation photons leaking through refelctive surface 

Forum: Processes Involving Optical Photons
Re: None Scintillation photons leaking through refelctive surface (Geertje)
Re: Feedback Re: Scintillation photons leaking through refelctive surface (Gumplinger Peter)
Re: Feedback Re: Scintillation photons leaking through refelctive surface (Geertje)
Re: Feedback Re: Scintillation photons leaking through refelctive surface (Gumplinger Peter)
Re: Ok Re: Scintillation photons leaking through refelctive surface (Geertje)
Date: 01 May, 2014
From: Gumplinger Peter <Gumplinger Peter>

Hey Geertje,

> so I found a solution which gets rid of the problem though I don't
> really understand why. I played a little with the material definitions,
> as this is where the scintillation is defined. Previously I defined my
> material of the scintillator outside of the scintillator detector
> construction via a private variable matGdLdPlScin. If I now define the
> material directly in the scintillator detector construction, those
> leaking scintillation photons are gone.

Strange ... I don't see anything wrong with the code you provided. initMaterial is called from constructDetector construction before plScin_logic is instantiated with the pointer to matGdLdPlScin

> It seems like it is exactly 37 mm.

Now this is our clue!

    4   45.9 ps     11 um    108 um    3.7 cm    945 keV  23.4 keV  86.7 um    1.3 cm   foil_physic  Transportation
    5   45.9 ps     11 um    108 um    3.7 cm      0 eV    945 keV8.07e-10 fm    1.3 cm   plScin_physic       eIoni
    6   45.9 ps     11 um    108 um    3.7 cm      0 eV      0 eV      0 fm    1.3 cm   plScin_physic  Scintillation

The electron passes from the foil into the scintillator but the first step (eIoni) is already exceedingly short (8.07e-10 fm). What is also strange is that the second step is exactly 0 fm and that it was limited by 'Scintillation' - steps in the scintillator should never be limited by 'Scintillation'. Also, why is the ionization step so short ... something is seriously wrong with your physics process definitions.

Together with the above strange behaviour I suspect some memory corruption. You've got to debug your code further.

Peter

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

1 Question: Re: Scintillation photons leaking through refelctive surface   (Geertje - 01 May, 2014)
 Add Message Add Message
to: "Re: Scintillation photons leaking through refelctive surface"

 Subscribe Subscribe

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