CbmRoot
Loading...
Searching...
No Matches
CbmKFTrack Class Reference

#include <CbmKFTrack.h>

Inheritance diagram for CbmKFTrack:
[legend]
Collaboration diagram for CbmKFTrack:
[legend]

Public Member Functions

 CbmKFTrack ()
 Default constructor.
 
 ~CbmKFTrack ()
 Destructor.
 
 CbmKFTrack (CbmKFTrackInterface &track)
 Constructor from the CbmKFTrackInterface.
 
 CbmKFTrack (FairTrackParam &track)
 Constructor from the FairTrackParam.
 
 CbmKFTrack (CbmStsTrack &track, bool first=1)
 Constructor from the CbmStsTrack.
 
 CbmKFTrack (CbmGlobalTrack &track, bool first=1)
 Constructor from the CbmGlobalTrack.
 
void SetTrack (CbmKFTrackInterface &track)
 
void SetTrackParam (const FairTrackParam &track)
 
void SetStsTrack (CbmStsTrack &track, bool first=1)
 
void SetGlobalTrack (CbmGlobalTrack &track, bool first=1)
 
void GetTrackParam (FairTrackParam &track)
 
void GetStsTrack (CbmStsTrack &track, bool first=1)
 
void GetGlobalTrack (CbmGlobalTrack &track, bool first=1)
 
void SetPID (Int_t pidHypo)
 
Double_t * GetTrack () override
 Is it electron.
 
Double_t * GetCovMatrix () override
 array[6] of track parameters(x,y,tx,ty,qp,z)
 
Double_t & GetRefChi2 () override
 array[15] of covariance matrix
 
Int_t & GetRefNDF () override
 Chi^2 after fit.
 
Double_t GetMass () const override
 
Bool_t IsElectron () const override
 Mass hypothesis.
 
Int_t GetNOfHits () override
 Number of Degrees of Freedom after fit.
 
CbmKFHitGetHit (Int_t i) override
 Number of hits.
 
Int_t Extrapolate (Double_t z, Double_t *QP0=nullptr)
 Access to i-th hit.
 
Int_t Fit (Bool_t downstream=1)
 
void Smooth (Double_t Z)
 
void Fit2Vertex (CbmKFVertexInterface &vtx)
 
Int_t Propagate (Double_t z_out, Double_t QP0)
 
Int_t Propagate (Double_t z_out)
 
int Id () const
 
void SetId (int id)
 

Public Attributes

std::vector< CbmKFHit * > fHits
 

Protected Attributes

int fId
 

Private Attributes

Double_t fT [6]
 
Double_t fC [15]
 
Double_t fMass
 
Double_t fChi2
 
Bool_t fIsElectron
 
Int_t fNDF
 

Detailed Description

Definition at line 26 of file CbmKFTrack.h.

Constructor & Destructor Documentation

◆ CbmKFTrack() [1/5]

CbmKFTrack::CbmKFTrack ( )

Default constructor.

◆ ~CbmKFTrack()

CbmKFTrack::~CbmKFTrack ( )
inline

Destructor.

Definition at line 40 of file CbmKFTrack.h.

◆ CbmKFTrack() [2/5]

CbmKFTrack::CbmKFTrack ( CbmKFTrackInterface & track)
inline

Constructor from the CbmKFTrackInterface.

Parameters
trackReference to the CbmKFTrackInterface

Definition at line 44 of file CbmKFTrack.h.

References SetTrack().

◆ CbmKFTrack() [3/5]

CbmKFTrack::CbmKFTrack ( FairTrackParam & track)
inline

Constructor from the FairTrackParam.

Parameters
trackReference to the FairTrackParam instance

Definition at line 48 of file CbmKFTrack.h.

References SetTrackParam().

◆ CbmKFTrack() [4/5]

CbmKFTrack::CbmKFTrack ( CbmStsTrack & track,
bool first = 1 )
inline

Constructor from the CbmStsTrack.

Parameters
trackReference to the CbmStsTrack instance
firsttrue: parameters in the first hit, false: parameters in the last hit

Definition at line 53 of file CbmKFTrack.h.

References first, and SetStsTrack().

◆ CbmKFTrack() [5/5]

CbmKFTrack::CbmKFTrack ( CbmGlobalTrack & track,
bool first = 1 )
inline

Constructor from the CbmGlobalTrack.

Parameters
trackReference to the CbmGlobalTrack instance
firsttrue: parameters in the first hit, false: parameters in the last hit

Definition at line 61 of file CbmKFTrack.h.

References first, and SetGlobalTrack().

Member Function Documentation

◆ Extrapolate()

◆ Fit()

◆ Fit2Vertex()

◆ GetCovMatrix()

Double_t * CbmKFTrack::GetCovMatrix ( )
inlineoverridevirtual

array[6] of track parameters(x,y,tx,ty,qp,z)

Reimplemented from CbmKFTrackInterface.

Definition at line 78 of file CbmKFTrack.h.

References fC.

Referenced by CbmKFTrackFitQa::FillHistoAtFirstPoint(), CbmPVFinderKF::FindEventVertex(), CbmPVFinderKFGlobal::FindEventVertex(), and CbmPVFinderKFGlobal::FindPrimaryVertex().

◆ GetGlobalTrack()

◆ GetHit()

CbmKFHit * CbmKFTrack::GetHit ( Int_t )
inlineoverridevirtual

Number of hits.

Reimplemented from CbmKFTrackInterface.

Definition at line 84 of file CbmKFTrack.h.

References fHits.

◆ GetMass()

Double_t CbmKFTrack::GetMass ( ) const
inlineoverridevirtual

Information not to be changed

Reimplemented from CbmKFTrackInterface.

Definition at line 81 of file CbmKFTrack.h.

References fMass.

◆ GetNOfHits()

Int_t CbmKFTrack::GetNOfHits ( )
inlineoverridevirtual

Number of Degrees of Freedom after fit.

Accessors to the track hits during track fit

Reimplemented from CbmKFTrackInterface.

Definition at line 83 of file CbmKFTrack.h.

References fHits.

◆ GetRefChi2()

Double_t & CbmKFTrack::GetRefChi2 ( )
inlineoverridevirtual

array[15] of covariance matrix

Parameters during and after the track fit

Reimplemented from CbmKFTrackInterface.

Definition at line 79 of file CbmKFTrack.h.

References fChi2.

Referenced by GetGlobalTrack(), GetStsTrack(), SetGlobalTrack(), and SetStsTrack().

◆ GetRefNDF()

Int_t & CbmKFTrack::GetRefNDF ( )
inlineoverridevirtual

Chi^2 after fit.

Reimplemented from CbmKFTrackInterface.

Definition at line 80 of file CbmKFTrack.h.

References fNDF.

Referenced by GetGlobalTrack(), GetStsTrack(), SetGlobalTrack(), and SetStsTrack().

◆ GetStsTrack()

◆ GetTrack()

Double_t * CbmKFTrack::GetTrack ( )
inlineoverridevirtual

Is it electron.

I/O parameters for extrapolation routines

Reimplemented from CbmKFTrackInterface.

Definition at line 77 of file CbmKFTrack.h.

References fT.

Referenced by CbmKFTrackFitQa::FillHistoAtFirstPoint(), CbmPVFinderKF::FindEventVertex(), CbmPVFinderKFGlobal::FindEventVertex(), and CbmPVFinderKFGlobal::FindPrimaryVertex().

◆ GetTrackParam()

void CbmKFTrack::GetTrackParam ( FairTrackParam & track)

◆ Id()

int CbmKFTrackInterface::Id ( ) const
inlineinherited

Definition at line 69 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

◆ IsElectron()

Bool_t CbmKFTrack::IsElectron ( ) const
inlineoverridevirtual

Mass hypothesis.

Reimplemented from CbmKFTrackInterface.

Definition at line 82 of file CbmKFTrack.h.

References fIsElectron.

◆ Propagate() [1/2]

Int_t CbmKFTrackInterface::Propagate ( Double_t z_out)
inherited

◆ Propagate() [2/2]

Int_t CbmKFTrackInterface::Propagate ( Double_t z_out,
Double_t QP0 )
inherited

◆ SetGlobalTrack()

◆ SetId()

void CbmKFTrackInterface::SetId ( int id)
inlineinherited

Definition at line 70 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

◆ SetPID()

void CbmKFTrack::SetPID ( Int_t pidHypo)

◆ SetStsTrack()

◆ SetTrack()

◆ SetTrackParam()

void CbmKFTrack::SetTrackParam ( const FairTrackParam & track)

◆ Smooth()

Member Data Documentation

◆ fC

Double_t CbmKFTrack::fC[15]
private

Definition at line 29 of file CbmKFTrack.h.

Referenced by GetCovMatrix(), GetTrackParam(), SetTrack(), and SetTrackParam().

◆ fChi2

Double_t CbmKFTrack::fChi2
private

Definition at line 29 of file CbmKFTrack.h.

Referenced by GetRefChi2(), and SetTrack().

◆ fHits

std::vector<CbmKFHit*> CbmKFTrack::fHits

Definition at line 34 of file CbmKFTrack.h.

Referenced by GetHit(), and GetNOfHits().

◆ fId

int CbmKFTrackInterface::fId
protectedinherited

Definition at line 73 of file CbmKFTrackInterface.h.

Referenced by CbmKFTrackInterface::Id(), and CbmKFTrackInterface::SetId().

◆ fIsElectron

Bool_t CbmKFTrack::fIsElectron
private

Definition at line 30 of file CbmKFTrack.h.

Referenced by IsElectron(), SetPID(), and SetTrack().

◆ fMass

Double_t CbmKFTrack::fMass
private

Definition at line 29 of file CbmKFTrack.h.

Referenced by GetMass(), SetPID(), and SetTrack().

◆ fNDF

Int_t CbmKFTrack::fNDF
private

Definition at line 31 of file CbmKFTrack.h.

Referenced by GetRefNDF(), and SetTrack().

◆ fT

Double_t CbmKFTrack::fT[6]
private

Definition at line 29 of file CbmKFTrack.h.

Referenced by GetTrack(), GetTrackParam(), SetTrack(), and SetTrackParam().


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