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 next 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

Re: FairTrackParP constructor [message #15921 is a reply to message #15911] Wed, 05 March 2014 16:06 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
The parabolic track representation gives the parameters defined in a detector plane. In this sense, o is the position of a point in the detector plane, i.e. the coordinates of the hits, while dj and dk will be the two versos. I.e., if you want to have a plane perpendicular to ass z, you will have (1,0,0) and (0,1,0).
Re: FairTrackParP constructor [message #15923 is a reply to message #15921] Wed, 05 March 2014 18:14 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Ok, thank you Stefano.
Previous Topic: [FIXED] Fts undefined references
Next Topic: FairHit::SetPositionError
Goto Forum:
  


Current Time: Wed Oct 16 02:42:12 CEST 2024

Total time taken to generate the page: 0.00712 seconds