Dear Rooters, Ping,
I tried to start using a THelix class, and immediately realized that it
lacks significant part of functionality one normally needs from class,
representing a particle's trajectory. Here is a brief list of what seems
to be missing:
1. user-friendly constructors, like
- constructor taking x,y,z (coordinates of the point), nx,ny,nz (direction
cosines in this point), radius (may be signed)
- constructor, taking the coordinates, direction, vector of magnetic field
and charge
2. accessors, which would allow to extrapolate particle trajectory into a
certain point, using helical model, such as
THelix::GetPositionAtGivenS (where s is a path length alogn the trajectory)
THelix::GetPositionAtGivenRadius
THelix::GetPositionAtGivenZ
THelix::GetDirectionAtGivenRadius
etc (in a rather common case when magnetic field is directed, say, along
Z-axis, one might want to have a whole bunch of such functions).
As THelix class was contributed by Ping a while ago and there was no development
of it during the last months, I'm wondering what the right way of adding the missing
functionality to it would be? - I'd guess that everybody would benefit if this class
was extended and made more user-friendly.
best, Pasha
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET