Message: Re: simulate x ray production direction but the angle seem to be wrong Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: simulate x ray production direction but the angle seem to be wrong 

Forum: Event and Track Management
Re: None simulate x ray production direction but the angle seem to be wrong (HuangHong)
Re: Idea Re: simulate x ray production direction but the angle seem to be wrong (Vladimir Ivanchenko)
Date: 05 Jul, 2018
From: HuangHong <HuangHong>

Sorry,I choose wrong forum. you said, maybe I need to study cosTheta distribution,which should be uniform (not distribution in theta). I used the codes like follows to transform the Moment into angle, so the theta stands for the angle,not the cosTheta.

G4ThreeVector direction = track->GetMomentumDirection(); G4double theta = direction.theta(); G4double phi = direction.phi();

I didn't understand your advice for this point, could you please give me more information about this item. Thanks in advance.

what's more, thanks for your advises for the example learning.

 Add Message Add Message
to: "Re: simulate x ray production direction but the angle seem to be wrong"

 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 ]