Message: Re: Temporal Distributions GPS Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Temporal Distributions GPS 

Forum: Particles
Re: Question Temporal Distributions GPS (Michael)
Date: 10 Mar, 2009
From: Kevin Lynch <Kevin Lynch>

We have needed the same functionality, and found we needed to implement the functionality ourselves; it doesn't look like things have changed in the intervening few years.

Here's what we did: We add a new distribution class (G4SPSTimeDistribution), similar to the energy, angle, etc. distribution classes. Then, make a copy of the G4SingleParticleSource and G4GeneralParticleSource where you add hooks for the new distribution code. Finally, you need to make a new version of G4GeneralParticleSourceMessenger.

I should get our version cleaned up, and submit it for inclusion. Our version is based on the code originally in 4.6.0, so I don't know how much work that would be. In the meantime, I'd be happy to post it here, or send our code to you if you like.

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

1 None: Re: Temporal Distributions GPS   (Michael - 12 Mar, 2009)
(_ None: Re: Temporal Distributions GPS   (Kevin Lynch - 16 Mar, 2009)
 Add Message Add Message
to: "Re: Temporal Distributions GPS"

 Subscribe Subscribe

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

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]