Message: Re: Particle Beam Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Particle Beam 

Forum: Event and Track Management
Re: Question Particle Beam (Madax)
Date: 10 Apr, 2014
From: Gumplinger Peter <Gumplinger Peter>

> By default all particles are emitted at 0 ns. Is it possible to have
> some interval between them?

Please, see:

http://www-geant4.kek.jp/lxr/source//examples/extended/optical/OpNovice/src/OpNovicePrimaryGeneratorAction.cc#L60
http://www-geant4.kek.jp/lxr/source//examples/extended/optical/wls/src/WLSPrimaryGeneratorAction.cc#L239

e.g. use: SetParticleTime method of either ParticleGun or GPS.

> Local time is the present time after the emission, right?

There is: GetGlobalTime (Time since the event in which the track belongs was created), GetLocalTime (Time since the track was created) and GetProperTime (Proper time of the particle).

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

1 Question: Re: Particle Beam   (Madax - 10 Apr, 2014)
(_ None: Re: Particle Beam   (michel maire - 11 Apr, 2014)
 Add Message Add Message
to: "Re: Particle Beam"

 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 ]