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

None Re: GPS SetParticleMomentumDirection 

Forum: Geometry
Re: None GPS SetParticleMomentumDirection
Re: None Re: GPS SetParticleMomentumDirection (John Allison)
Re: None Re: GPS SetParticleMomentumDirection
Re: None Re: GPS SetParticleMomentumDirection
Re: None Re: GPS SetParticleMomentumDirection (John Allison)
Date: 29 Mar, 2016
From: <Nicolas78>

It seems to work but I'm still having a problem. When I set my particle position (random x,y,z), it always returns me (0,0,0) even if I've commented the gps position in .mac. Though I use particleGun->GetCurrentSource()->SetParticlePosition(G4ThreeVector(x,y,z)) in my primarygeneratoraction.

Where could it be from ?

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

1 None: Re: GPS SetParticleMomentumDirection   (Artem Zontikov - 29 Mar, 2016)
(_ None: Re: GPS SetParticleMomentumDirection   (Nicolas78 - 29 Mar, 2016)
 Add Message Add Message
to: "Re: GPS SetParticleMomentumDirection"

 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 ]