Message: Generating 2 particles with different energies Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Generating 2 particles with different energies 

Forum: Particles
Date: 08 Jun, 2007
From: Adam <ax_blais@laurentian.ca>

I have to generate two particles at a time, coming from the same vertex. Each particle has to have a unique energy. I tried setting energy1 and then generating vertex, and then setting energy2 and calling generateVertex again. (This is with the same particle gun.) The result was thousands of tracks which led to a segmentation fault. This doesn't happen when I set each particle to have the same energy. How can I do this?

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

1 None: RE: Generating 2 particles with different energies   (Makoto Asai - 10 Jun, 2007)
(_ None: RE: Generating 2 particles with different energies   (Adam - 11 Jun, 2007)
(_ None: RE: Generating 2 particles with different energies   (Makoto Asai - 11 Jun, 2007)
(_ None: RE: Generating 2 particles with different energies   (Adam - 11 Jun, 2007)
(_ None: RE: Generating 2 particles with different energies   (Makoto Asai - 11 Jun, 2007)
(_ None: RE: Generating 2 particles with different energies   (Adam - 11 Jun, 2007)
 Add Message Add Message
to: "Generating 2 particles with different energies"

 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 ]