GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » FairTrackParP constructor (Help with creation of PndTrack object)
FairTrackParP constructor [message #15911] Mon, 03 March 2014 14:28 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Dear all,

I am trying to construct PndTrack objects from PndTrackCand. I believe that I should use the FairTrackParP class for storing the parameters of the first and the last hit in the PndTrackCand.

I am trying to use the following constructor:
    /** Constructor with position and momentum track in LAB **/
    // DIAGONAL MARS covariance matrix
    FairTrackParP(TVector3 pos, TVector3 Mom,
                  TVector3 posErr, TVector3 MomErr, Int_t q,
                  TVector3 o, TVector3 dj, TVector3 dk);


(If someone can explain to me how to use any of the other constructors, I would be ok with that, too.)

I understand that the position, the momentum and the charge should come from my track model used in the pattern recognition. The errors are probably not very important as the Kalman filter will set them lateron anyway. So far that part is pretty clear to me, but I don't quite understand what the last 3 parameters mean. (TVector3 o, TVector3 dj, TVector3 dk) I assume from looking at the code that some plane is defined by those vectors, but I don't understand the meaning of such a plane and how I should choose the vectors in the case of the FTS.

I have already looked at


    comments in the code
    the code itself
    other tracking code that creates PndTrack objects
    old forum posts
    publications concerning GEANE and Virtual Monte Carlo


but I still have not found the answer to my question.

Kind regards,
Martin

[Updated on: Mon, 03 March 2014 15:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Fts undefined references
Next Topic: FairHit::SetPositionError
Goto Forum:
  


Current Time: Thu Nov 28 02:50:37 CET 2024

Total time taken to generate the page: 0.00696 seconds