Message: Re: calculate particles within a cone Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: calculate particles within a cone 

Forum: Particles
Re: Question calculate particles within a cone (Summit)
Date: 28 May, 2012
From: Gumplinger Peter <Gumplinger Peter>

In your StackingAction::ClassifyNewTrack(const G4Track* aTrack), you put:


Now, you have the direction of a (any) secondary. With that you can figure out whether the direction is within the cone you desire; very simple if the cone axis is the z-axis, still simple if your axis is some other direction.

 Add Message Add Message
to: "Re: calculate particles within a cone"

 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 ]