oslocyclotronlab / OCL_GEANT4

5 stars 3 forks source link

Spectra from Scintillation #4

Open fzeiser opened 9 years ago

fzeiser commented 9 years ago

At the moment, I still have problems getting the spectra from scintillation working (so those at the location of the the PMT cathode).

The Energy spectra are now more or less fine to create. However, if one wants to do larger scale simulations, one should set the Scintillation yield factor lower (to save computing time): https://github.com/fzeiser/OCL/blob/master/src/PhysicsList.cc#L32-L33

In addition, the timing and light history are fakes, see here: https://github.com/fzeiser/OCL/blob/master/src/SteppingAction.cc#L46-L51

@grytveten @hirotakefurihata

fzeiser commented 9 years ago

This is how the energy histogram for 100 (or rather 101) gammas of 470 keV looks like. Seems ok :+1:

energyhisto

Important Aside: Currently only every 101st event the spectra are saved to disk! This means that you don't see a difference in the spectra when you create 1, 20 or 100 events, but only once you created the 101st event.

grytveten commented 9 years ago

I think this energy histogram looks OK.

Good to know about the saving every 100 events.


From: fzeiser notifications@github.com Sent: 20 October 2015 18:25 To: fzeiser/OCL Cc: Gry Merete Tveten Subject: Re: [OCL] Spectra from Scintillation (#4)

This is how the energy histogram for 100 (or rather 101) gammas of 470 keV looks like. Seems ok [:+1:]

[energyhisto]https://cloud.githubusercontent.com/assets/15156776/10613899/9953a0b2-7757-11e5-8348-4932ad9e7128.png

Important Aside: Currently only every 101st event the spectra are saved to disk! This means that you don't see a difference in the spectra when you create 1, 20 or 100 events, but only once you created the 101st event.

Reply to this email directly or view it on GitHubhttps://github.com/fzeiser/OCL/issues/4#issuecomment-149622776.