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

None Re: setmomentumdirection 

Keywords: setmomentumdirection
Forum: Event and Track Management
Re: None setmomentumdirection
Date: 23 Nov, 2005
From: michel maire <michel maire>

User wrote:

>> Dear Madam/Sir
>> I ask to you for confirmation on my understanding on
>> SetParticleMomentumDirection. I want to include the momentum from the
>> emittance of the beam. I guess the three components of the vector are:
>> cos(alpha1)=thetax= Px/P, cos(alpha2)=thetay=Py/P, cos(alpha3)=Pz/P with
>> P the total momentum and z the direction for beam propagation. If I put
>> then, cos(alpha1), cos(alpha2) and cos(alpha3) to define the direction
>> of the particle momentum, GEANT4 will automatically yield the momentum
>> from this unitary vector in combination with the energy given by
>> SetParticleEnergy.
>> am I correct ? Thankyou very much regards Daniel

 Yes, it is correct.
 Futhermore the vector direction does not need to be normalized: geant4
 will do.

 The z direction is not necessary the direction on the beam. This is your 
 choice. The reference frame is the one of the World volume.


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

 Add Message Add Message
to: "Re: setmomentumdirection"

 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 ]