Home » PANDA » PandaRoot » Tracking » Strategy discussion on Track objects
Re: Strategy discussion on Track objects [message #8514 is a reply to message #8484] |
Mon, 11 May 2009 23:02 |
Anonymous Poster
|
|
From: *pool.einsundeins.de
|
|
Hi,
in order to make a PndTrack I need to give FairTrackPar for the first and last points. I looked into these files. First I would like to point out that in the header file the constructor is declared as
/** Constructor with all variables **/
FairTrackPar(Double_t x, Double_t y, Double_t z,
Double_t fx, Double_t fy, Double_t fz, Double_t q);
And then in the cxx file it is defined as
FairTrackPar::FairTrackPar(Double_t x, Double_t y, Double_t z,
Double_t px, Double_t py, Double_t pz, Double
_t q)
: fX (x),
fY (y),
fZ (z),
fDX (x),
fDY (y),
fDZ (z),
fPx (px),
fPy (py),
fPz (pz),
fDPx (px),
fDPy (py),
fDPz (pz),
fQp (0),
fDQp (0),
fq (q)
{
This different naming of variables is strictly speaking not forbidden in C++, but it is very confusing. Please correct it to clarify.
I guess the paramters px,py,pz in the cxx file mean the momentum of the particle. But what about all errors and covariances? In this class there arent any data fields for covariances.
Am I doing something wrong here? Am I supposed to use some derived class? Please clarify this.
Cheers, Christian
|
|
|
Goto Forum:
Current Time: Fri Nov 08 16:27:38 CET 2024
Total time taken to generate the page: 0.00787 seconds
|