Message: Re: 2 particles from 1 source Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: 2 particles from 1 source 

Forum: Particles
Re: Question 2 particles from 1 source
Date: 16 Jun, 2016
From: michel maire <michel maire>

On Wed, 15 Jun 2016 13:11:47 GMT, Dmytro wrote:
> Dear All.
> 
> I need to create a source which simultaneously emits 2 particles with
> condition that sum energy of both should be some defined constant
> (E1+E2=const).
> What is the better way to do it?
> Should I define two gps sources at the same position with 100%
> intensities and set /gps/source/multiplevertex true or it is possible to
> do with single source?
> 
> Thank you,
> Dmytro.
> 

  You do not need gps to do such simple things.
  See examples/extended/eventgenerator/particleGun  (PrimaryGeneratorAction1)
  Or userPrimaryGenerator, if you have Geant4 10.2 

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

1 None: Re: 2 particles from 1 source   (Dmytro - 16 Jun, 2016)
 Add Message Add Message
to: "Re: 2 particles from 1 source"

 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 ]