Message: How to Get X and Y Position of a particle for a fixed Z Value Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to Get X and Y Position of a particle for a fixed Z Value 

Forum: Event and Track Management
Date: 29 Jul, 2010
From: Nathan <Nathan>

I am currently trying to place a quadrupole magnet axis with respect to an electron beam travelling in the Z direction. I would like to find the X and Y value of an electron for a given Z value (the entrance of the quadrupole), then implement this value in my magnetic field class to define the quadrupole axis. I have tried to use G4Track to do this but I dont understand how to create an object of that class or how to structure the methods it uses in my code. If someone could help me with this I would appreciate it. Also which file would I need to implement G4Track (or whatever class I need to use) in or do I need to create a new file and header file?

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

1 Feedback: Re: How to Get X and Y Position of a particle for a fixed Z Value   (Gumplinger Peter - 29 Jul, 2010)
(_ Agree: Re: How to Get X and Y Position of a particle for a fixed Z Value   (Nathan - 30 Jul, 2010)
(_ Feedback: Re: How to Get X and Y Position of a particle for a fixed Z Value   (Gumplinger Peter - 30 Jul, 2010)
(_ Ok: Re: How to Get X and Y Position of a particle for a fixed Z Value   (Nathan - 30 Jul, 2010)
 Add Message Add Message
to: "How to Get X and Y Position of a particle for a fixed Z Value"

 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 ]