GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

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 Go to previous message
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! Smile
Ciao,
Lia.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new features in GENFIT
Next Topic: Event Display and PndTrack
Goto Forum:
  


Current Time: Sat Apr 20 09:24:49 CEST 2024

Total time taken to generate the page: 0.01062 seconds