Home » PANDA » PandaRoot » Tracking » Conversion of track parameters
Re: Conversion of track parameters [message #8987 is a reply to message #8984] |
Wed, 15 July 2009 16:42 |
Lia Lavezzi
Messages: 291 Registered: May 2007 Location: Torino
|
first-grade participant |
From: *47-151.net24.it
|
|
Hi,
after testing the changes I uploaded to svn the new versions of the FairTrackPar* classes.
1) In FairTrackParP/H, there are two new constructors:
FairTrackParP(FairTrackParH *helix, TVector3 dj, TVector3 dk, Int_t &ierr)
and
FairTrackParH(FairTrackParP *parab, Int_t &ierr)
which allow the user to create a parabola from an helix, by setting also the unit vector which span the plane, (and an helix from a parabola) without directly calling FairGeaneUtil functions. The transformation is not always possible, the problematic cases are flagged in FairGeaneUtil by the IERR flag, so I kept it also here and I printed an error message.
2) In FairTrackPar, Stefano, I added your two functions to easily get momentum and position in MARS (master reference system) as a 3-vector.
Obviously if you find that something does not work as it should, please tell me!
Ciao,
Lia.
|
|
|
Goto Forum:
Current Time: Wed Jan 15 12:54:36 CET 2025
Total time taken to generate the page: 0.00774 seconds
|