EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairTrackParH Class Reference

#include <EicRoot/blob/master/trackbase/FairTrackParH.h>

+ Inheritance diagram for FairTrackParH:
+ Collaboration diagram for FairTrackParH:

Public Member Functions

 FairTrackParH ()
 
 FairTrackParH (Double_t x, Double_t y, Double_t z, Double_t lambda, Double_t phi, Double_t qp, Double_t CovMatrix[15])
 
 FairTrackParH (TVector3 pos, TVector3 Mom, TVector3 posErr, TVector3 MomErr, Int_t q)
 
 FairTrackParH (FairTrackPar &Trkbase)
 
 FairTrackParH (FairTrackParP *parab, Int_t &ierr)
 
virtual ~FairTrackParH ()
 
virtual void Print (Option_t *option="") const
 
Double_t GetLambda ()
 
Double_t GetPhi ()
 
Double_t GetDLambda ()
 
Double_t GetDPhi ()
 
void GetCov (Double_t *Cov)
 
void GetCovQ (Double_t *CovQ)
 
void GetMARSCov (Double_t Cov66[6][6])
 
Double_t GetDX_sc ()
 
Double_t GetDY_sc ()
 
Double_t GetDZ_sc ()
 
Double_t GetX_sc ()
 
Double_t GetY_sc ()
 
Double_t GetZ_sc ()
 
Double_t GetX ()
 
Double_t GetY ()
 
Double_t GetZ ()
 
void SetLambda (Double_t Lm)
 
void SetPhi (Double_t Phi)
 
void SetDLambda (Double_t DLm)
 
void SetDPhi (Double_t DPhi)
 
void SetX_sc (Double_t x)
 
void SetY_sc (Double_t y)
 
void SetZ_sc (Double_t z)
 
void SetCov (Double_t *Cov)
 
void SetTrackPar (Double_t x, Double_t y, Double_t z, Double_t Px, Double_t Py, Double_t Pz, Int_t Q, Double_t CovMatrix[15])
 
void SetTrackPar (Double_t x, Double_t y, Double_t z, Double_t pq, Double_t lm, Double_t phi, Double_t CovMatrix[15])
 
void Reset ()
 
 ClassDef (FairTrackParH, 1)
 
- Public Member Functions inherited from FairTrackPar
 FairTrackPar ()
 
 FairTrackPar (Double_t x, Double_t y, Double_t z, Double_t fx, Double_t fy, Double_t fz, Int_t q)
 
virtual ~FairTrackPar ()
 
virtual TVector3 GetPosition () const
 
Int_t GetQ () const
 
virtual Double_t GetDX () const
 
virtual Double_t GetDY () const
 
virtual Double_t GetDZ () const
 
virtual TVector3 GetMomentum () const
 
virtual Double_t GetPx () const
 
virtual Double_t GetPy () const
 
virtual Double_t GetPz () const
 
virtual Double_t GetQp () const
 
virtual Double_t GetDPx () const
 
virtual Double_t GetDPy () const
 
virtual Double_t GetDPz () const
 
virtual Double_t GetDQp () const
 
virtual void SetX (Double_t x)
 
virtual void SetY (Double_t y)
 
virtual void SetZ (Double_t z)
 
virtual void SetDX (Double_t dx)
 
virtual void SetDY (Double_t dy)
 
virtual void SetDZ (Double_t dz)
 
virtual void SetPx (Double_t px)
 
virtual void SetPy (Double_t py)
 
virtual void SetPz (Double_t pz)
 
virtual void SetDPx (Double_t dpx)
 
virtual void SetDPy (Double_t dpy)
 
virtual void SetDPz (Double_t dpz)
 
void SetQp (Double_t qp)
 

Private Member Functions

void CalCov ()
 

Private Attributes

Double_t fLm
 
Double_t fPhi
 
Double_t fDLm
 
Double_t fDPhi
 
Double_t fX_sc
 
Double_t fY_sc
 
Double_t fZ_sc
 
Double_t fDX_sc
 
Double_t fDY_sc
 
Double_t fDZ_sc
 
Double_t fCovMatrix [15]
 
Double_t fCovMatrix66 [6][6]
 
Double_t cLm
 
Double_t sLm
 
Double_t cphi
 
Double_t sphi
 

Additional Inherited Members

- Protected Member Functions inherited from FairTrackPar
 ClassDef (FairTrackPar, 1)
 /// FairLogger
 
- Protected Attributes inherited from FairTrackPar
Double_t fX
 
Double_t fY
 
Double_t fZ
 
Double_t fDX
 
Double_t fDY
 
Double_t fDZ
 
Double_t fPx
 
Double_t fPy
 
Double_t fPz
 
Double_t fDPx
 
Double_t fDPy
 
Double_t fDPz
 
Double_t fQp
 
Double_t fDQp
 
Int_t fq
 
FairLoggerfLogger
 

Detailed Description

Definition at line 20 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 20 of file FairTrackParH.h

Constructor & Destructor Documentation

FairTrackParH::FairTrackParH ( )

Constructor

FairTrackParH::FairTrackParH ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  lambda,
Double_t  phi,
Double_t  qp,
Double_t  CovMatrix[15] 
)

Constructor with track variables (in SC)

Definition at line 51 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 51 of file FairTrackParH.cxx

References cLm, cphi, fCovMatrix, fCovMatrix66, fDLm, fDPhi, FairTrackPar::fDPx, FairTrackPar::fDPy, FairTrackPar::fDPz, FairTrackPar::fDQp, FairTrackPar::fDX, fDX_sc, FairTrackPar::fDY, fDY_sc, FairTrackPar::fDZ, fDZ_sc, fLm, fPhi, FairTrackPar::fPx, FairTrackPar::fPy, FairTrackPar::fPz, FairTrackPar::fq, FairTrackPar::fQp, FairGeaneUtil::FromSCToMars(), FairTrackPar::fX, fX_sc, FairTrackPar::fY, fY_sc, FairTrackPar::fZ, fZ_sc, FairRunAna::GetField(), H, FairRunAna::Instance(), lit::Sign(), sLm, and sphi.

+ Here is the call graph for this function:

FairTrackParH::FairTrackParH ( TVector3  pos,
TVector3  Mom,
TVector3  posErr,
TVector3  MomErr,
Int_t  q 
)

Constructor track parameters with position and momentum (in LAB)

Definition at line 145 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 145 of file FairTrackParH.cxx

References cLm, cphi, fCovMatrix, fCovMatrix66, FairTrackPar::fDPx, FairTrackPar::fDPy, FairTrackPar::fDPz, FairTrackPar::fDX, fDX_sc, FairTrackPar::fDY, fDY_sc, FairTrackPar::fDZ, fDZ_sc, fLm, fPhi, FairTrackPar::fPx, FairTrackPar::fPy, FairTrackPar::fPz, FairTrackPar::fq, FairTrackPar::fQp, FairGeaneUtil::FromMarsToSC(), FairTrackPar::fX, fX_sc, FairTrackPar::fY, fY_sc, FairTrackPar::fZ, fZ_sc, FairRunAna::GetField(), H, FairRunAna::Instance(), Reset(), FairTrackPar::SetPx(), FairTrackPar::SetPy(), FairTrackPar::SetPz(), FairTrackPar::SetX(), FairTrackPar::SetY(), FairTrackPar::SetZ(), sLm, and sphi.

+ Here is the call graph for this function:

FairTrackParH::FairTrackParH ( FairTrackParP parab,
Int_t &  ierr 
)
FairTrackParH::~FairTrackParH ( )
virtual

Destructor

Definition at line 605 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 605 of file FairTrackParH.cxx

Member Function Documentation

void FairTrackParH::CalCov ( )
private

Calculate the cov. mat. for this helix

Definition at line 449 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 449 of file FairTrackParH.cxx

References cLm, cphi, fCovMatrix, fDLm, fDPhi, FairTrackPar::fDPx, FairTrackPar::fDPy, FairTrackPar::fDPz, FairTrackPar::fDQp, fDX_sc, fDY_sc, fLm, fPhi, FairTrackPar::fPx, FairTrackPar::fPy, FairTrackPar::fPz, fX_sc, fY_sc, FairTrackPar::fZ, fZ_sc, FairTrackPar::GetDPx(), FairTrackPar::GetDPy(), FairTrackPar::GetDPz(), and sLm.

+ Here is the call graph for this function:

FairTrackParH::ClassDef ( FairTrackParH  ,
 
)
void FairTrackParH::GetCov ( Double_t *  Cov)
inline

Get Error in Phi Get the coveriant matrix

Definition at line 57 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 57 of file FairTrackParH.h

References fCovMatrix.

Referenced by FairTrackParP::FairTrackParP(), and PndPidCorrelator::GetTrackInfo().

+ Here is the caller graph for this function:

void FairTrackParH::GetCovQ ( Double_t *  CovQ)

Definition at line 710 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 710 of file FairTrackParH.cxx

References fCovMatrix, and FairTrackPar::fq.

Referenced by FairGeanePro::Propagate().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetDLambda ( )

Definition at line 679 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 679 of file FairTrackParH.cxx

References fDLm.

Double_t FairTrackParH::GetDPhi ( )

Get Error in Lambda

Definition at line 683 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 683 of file FairTrackParH.cxx

References fDPhi.

Double_t FairTrackParH::GetDX_sc ( )

Definition at line 622 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 622 of file FairTrackParH.cxx

References fDX_sc.

Double_t FairTrackParH::GetDY_sc ( )

Get dx in SC

Definition at line 627 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 627 of file FairTrackParH.cxx

References fDY_sc.

Double_t FairTrackParH::GetDZ_sc ( )

Get dy in SC

Definition at line 631 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 631 of file FairTrackParH.cxx

References fDZ_sc.

Double_t FairTrackParH::GetLambda ( )
inline

Accessors

Definition at line 52 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 52 of file FairTrackParH.h

References fLm.

Referenced by FairTrackParP::FairTrackParP(), and PndPidCorrelator::GetTrackInfo().

+ Here is the caller graph for this function:

void FairTrackParH::GetMARSCov ( Double_t  Cov66[6][6])
inline

Definition at line 60 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 60 of file FairTrackParH.h

References fCovMatrix66.

Double_t FairTrackParH::GetPhi ( )
inline

Definition at line 53 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 53 of file FairTrackParH.h

References fPhi.

Referenced by FairTrackParP::FairTrackParP().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetX ( )
virtual

Get z in SC

Reimplemented from FairTrackPar.

Definition at line 636 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 636 of file FairTrackParH.cxx

References cLm, cphi, FairTrackPar::fX, fX_sc, fY_sc, fZ_sc, sLm, and sphi.

Referenced by FairTrackParP::FairTrackParP(), PndRecoDafFit::Fit(), PndRecoKalmanFit::Fit(), PndPidCorrelator::GetTrackInfo(), and FairGeanePro::Propagate().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetX_sc ( )
inline

Get dz in SC

Definition at line 64 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 64 of file FairTrackParH.h

References fX_sc.

Double_t FairTrackParH::GetY ( )
virtual

Get X in Lab

Reimplemented from FairTrackPar.

Definition at line 644 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 644 of file FairTrackParH.cxx

References cLm, cphi, fX_sc, FairTrackPar::fY, fY_sc, fZ_sc, sLm, and sphi.

Referenced by FairTrackParP::FairTrackParP(), PndRecoDafFit::Fit(), PndRecoKalmanFit::Fit(), PndPidCorrelator::GetTrackInfo(), and FairGeanePro::Propagate().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetY_sc ( )
inline

Get x in SC

Definition at line 65 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 65 of file FairTrackParH.h

References fY_sc.

Referenced by PndPidCorrelator::GetTrackInfo().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetZ ( )
virtual

Get Y in Lab

Reimplemented from FairTrackPar.

Definition at line 652 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 652 of file FairTrackParH.cxx

References cLm, fX_sc, FairTrackPar::fZ, fZ_sc, and sLm.

Referenced by FairTrackParP::FairTrackParP(), PndRecoDafFit::Fit(), PndRecoKalmanFit::Fit(), PndPidCorrelator::GetTrackInfo(), and FairGeanePro::Propagate().

+ Here is the caller graph for this function:

Double_t FairTrackParH::GetZ_sc ( )
inline

Get y in SC

Definition at line 66 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 66 of file FairTrackParH.h

References fZ_sc.

Referenced by PndPidCorrelator::GetTrackInfo().

+ Here is the caller graph for this function:

void FairTrackParH::Print ( Option_t *  option = "") const
virtual

Output to screen

Reimplemented from FairTrackPar.

Definition at line 609 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 609 of file FairTrackParH.cxx

References fCovMatrix, fLm, fPhi, FairTrackPar::fQp, FairTrackPar::fX, FairTrackPar::fY, and FairTrackPar::fZ.

Referenced by PndPidCorrelator::GetTrackInfo().

+ Here is the caller graph for this function:

void FairTrackParH::Reset ( )

Definition at line 688 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 688 of file FairTrackParH.cxx

References cLm, cphi, fCovMatrix, fDLm, fDPhi, FairTrackPar::fDPx, FairTrackPar::fDPy, FairTrackPar::fDPz, FairTrackPar::fDQp, FairTrackPar::fDX, fDX_sc, FairTrackPar::fDY, fDY_sc, FairTrackPar::fDZ, fDZ_sc, fLm, fPhi, FairTrackPar::fPx, FairTrackPar::fPy, FairTrackPar::fPz, FairTrackPar::fq, FairTrackPar::fQp, FairTrackPar::fX, fX_sc, FairTrackPar::fY, fY_sc, FairTrackPar::fZ, fZ_sc, sLm, and sphi.

Referenced by FairTrackParH(), and SetTrackPar().

+ Here is the caller graph for this function:

void FairTrackParH::SetCov ( Double_t *  Cov)
inline

Set z in SC

Definition at line 87 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 87 of file FairTrackParH.h

References fCovMatrix.

void FairTrackParH::SetDLambda ( Double_t  DLm)
inline

Definition at line 81 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 81 of file FairTrackParH.h

References fDLm.

void FairTrackParH::SetDPhi ( Double_t  DPhi)
inline

Definition at line 82 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 82 of file FairTrackParH.h

References fDPhi.

void FairTrackParH::SetLambda ( Double_t  Lm)
inline

Get Z in Lab Modifiers

Definition at line 78 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 78 of file FairTrackParH.h

References fLm.

void FairTrackParH::SetPhi ( Double_t  Phi)
inline

Definition at line 79 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 79 of file FairTrackParH.h

References fPhi.

void FairTrackParH::SetTrackPar ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  Px,
Double_t  Py,
Double_t  Pz,
Int_t  Q,
Double_t  CovMatrix[15] 
)

Definition at line 293 of file FairTrackParH.cxx.

View newest version in sPHENIX GitHub at line 293 of file FairTrackParH.cxx

References cLm, cphi, fCovMatrix, fCovMatrix66, fDLm, fDPhi, FairTrackPar::fDPx, FairTrackPar::fDPy, FairTrackPar::fDPz, FairTrackPar::fDQp, FairTrackPar::fDX, fDX_sc, FairTrackPar::fDY, fDY_sc, FairTrackPar::fDZ, fDZ_sc, fLm, fPhi, FairTrackPar::fq, FairTrackPar::fQp, FairGeaneUtil::FromSCToMars(), FairTrackPar::fX, fX_sc, FairTrackPar::fY, fY_sc, FairTrackPar::fZ, fZ_sc, FairTrackPar::GetDPx(), FairTrackPar::GetDPy(), FairTrackPar::GetDPz(), FairRunAna::GetField(), H, FairRunAna::Instance(), Reset(), FairTrackPar::SetPx(), FairTrackPar::SetPy(), FairTrackPar::SetPz(), FairTrackPar::SetX(), FairTrackPar::SetY(), FairTrackPar::SetZ(), sLm, and sphi.

Referenced by FairTrackParH(), and FairGeanePro::Propagate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairTrackParH::SetTrackPar ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  pq,
Double_t  lm,
Double_t  phi,
Double_t  CovMatrix[15] 
)
void FairTrackParH::SetX_sc ( Double_t  x)
inline

Definition at line 84 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 84 of file FairTrackParH.h

References fX_sc, and x.

void FairTrackParH::SetY_sc ( Double_t  y)
inline

Set x in SC

Definition at line 85 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 85 of file FairTrackParH.h

References fY_sc, and y.

void FairTrackParH::SetZ_sc ( Double_t  z)
inline

Set y in SC

Definition at line 86 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 86 of file FairTrackParH.h

References fZ_sc, and z.

Member Data Documentation

Double_t FairTrackParH::cLm
private
    just to simplify a little bit typing the equations
   cLm  = Cos(Lambda),
   sLm  = Sin(Lambda),
   cphi = cos(Phi),
   sphi = Sin(Phi)

! do not streame this to the file

Definition at line 127 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 127 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetY(), GetZ(), Reset(), and SetTrackPar().

Double_t FairTrackParH::cphi
private

Definition at line 127 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 127 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetY(), Reset(), and SetTrackPar().

Double_t FairTrackParH::fCovMatrix[15]
private

Covariant matrix in SC

Definition at line 113 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 113 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetCov(), GetCovQ(), Print(), Reset(), SetCov(), and SetTrackPar().

Double_t FairTrackParH::fCovMatrix66[6][6]
private

Definition at line 115 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 115 of file FairTrackParH.h

Referenced by FairTrackParH(), GetMARSCov(), and SetTrackPar().

Double_t FairTrackParH::fDLm
private

Error in Lambda

Definition at line 105 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 105 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetDLambda(), Reset(), SetDLambda(), and SetTrackPar().

Double_t FairTrackParH::fDPhi
private

Error in Phi

Definition at line 107 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 107 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetDPhi(), Reset(), SetDPhi(), and SetTrackPar().

Double_t FairTrackParH::fDX_sc
private

Errors for X,Y,Z (in SC system)

Definition at line 111 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 111 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetDX_sc(), Reset(), and SetTrackPar().

Double_t FairTrackParH::fDY_sc
private

Definition at line 111 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 111 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetDY_sc(), Reset(), and SetTrackPar().

Double_t FairTrackParH::fDZ_sc
private

Definition at line 111 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 111 of file FairTrackParH.h

Referenced by FairTrackParH(), GetDZ_sc(), Reset(), and SetTrackPar().

Double_t FairTrackParH::fLm
private

fLm = Dip angle

Definition at line 101 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 101 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetLambda(), Print(), Reset(), SetLambda(), and SetTrackPar().

Double_t FairTrackParH::fPhi
private

fPhi = azimuthal angle

Definition at line 103 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 103 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetPhi(), Print(), Reset(), SetPhi(), and SetTrackPar().

Double_t FairTrackParH::fX_sc
private

Points coordinates in SC system

Definition at line 109 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 109 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetX_sc(), GetY(), GetZ(), Reset(), SetTrackPar(), and SetX_sc().

Double_t FairTrackParH::fY_sc
private

Definition at line 109 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 109 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetY(), GetY_sc(), Reset(), SetTrackPar(), and SetY_sc().

Double_t FairTrackParH::fZ_sc
private

Definition at line 109 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 109 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetY(), GetZ(), GetZ_sc(), Reset(), SetTrackPar(), and SetZ_sc().

Double_t FairTrackParH::sLm
private

Definition at line 127 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 127 of file FairTrackParH.h

Referenced by CalCov(), FairTrackParH(), GetX(), GetY(), GetZ(), Reset(), and SetTrackPar().

Double_t FairTrackParH::sphi
private

Definition at line 127 of file FairTrackParH.h.

View newest version in sPHENIX GitHub at line 127 of file FairTrackParH.h

Referenced by FairTrackParH(), GetX(), GetY(), Reset(), and SetTrackPar().


The documentation for this class was generated from the following files: