Drawing a 3D particle trajectory in a magnetic field

Hello,

Can anyone point me in the right direction?

I would like to illustrate the path of a projectile through a magnetic field given it’s x,y z coordinates. Is there a way to do this in ROOT? Also, is it possible to do this using speherical coordinates as well?

Thanks.

see class THelix
root.cern.ch/root/htmldoc/THelix.html

but only cartesian coordinates. I do not understand the point with spherical coordinates.

Rene