Message: Re: bad_alloc error after changing geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: bad_alloc error after changing geometry 

Forum: Processes Involving Optical Photons
Re: Question bad_alloc error after changing geometry (Astrid Velroyen)
Re: Idea Re: bad_alloc error after changing geometry (Wolfgang Lukas)
Date: 28 Jan, 2010
From: Astrid Velroyen <Astrid Velroyen>

Dear Wolfgang, Peter and Geant4 community,

thank you so much for your help. Combining all the information I got from your mails and postings I managed to solve my problem.

Peter, you were right: If I turn off the trajectory storage I do not get a bad_alloc anymore. So this was really a memory problem of my machine. Still the simulation stayed unbelievably slow. I looked for papers to see what is more realistic to apply as the optical absorption length of LYSO and found something aroung 50 cm. If I apply this data, it speeds up so much! So I guess this is the real solution to my problem.

Still, I like to find also this absorption length for the optical window I have between the crystal and the readout structure. Right now there is still quartz implemented with also a very high absorption length, but I want to change it to epoxy. Does anyone accidently know such values for epoxy? My search in literature was not successful in this field.

Thank you!

Astrid

 Add Message Add Message
to: "Re: bad_alloc error after changing geometry"

 Subscribe Subscribe

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