CbmRoot
CbmKFTrack Class Reference

#include <CbmKFTrack.h>

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

Public Member Functions

 CbmKFTrack ()
 
 ~CbmKFTrack ()
 
 CbmKFTrack (CbmKFTrackInterface &track)
 
 CbmKFTrack (FairTrackParam &track)
 
 CbmKFTrack (CbmStsTrack &track, bool first=1)
 
void SetTrack (CbmKFTrackInterface &track)
 
void SetTrackParam (const FairTrackParam &track)
 
void SetStsTrack (CbmStsTrack &track, bool first=1)
 
void GetTrackParam (FairTrackParam &track)
 
void GetStsTrack (CbmStsTrack &track, bool first=1)
 
void SetPID (Int_t pidHypo)
 
Double_t * GetTrack ()
 Is it electron. More...
 
Double_t * GetCovMatrix ()
 array[6] of track parameters(x,y,tx,ty,qp,z) More...
 
Double_t & GetRefChi2 ()
 array[15] of covariance matrix More...
 
Int_t & GetRefNDF ()
 Chi^2 after fit. More...
 
Double_t GetMass ()
 
Bool_t IsElectron ()
 Mass hypothesis. More...
 
Int_t GetNOfHits ()
 Number of Degrees of Freedom after fit. More...
 
CbmKFHitGetHit (Int_t i)
 Number of hits. More...
 
Int_t Extrapolate (Double_t z, Double_t *QP0=0)
 Access to i-th hit. More...
 
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 21 of file CbmKFTrack.h.

Constructor & Destructor Documentation

◆ CbmKFTrack() [1/4]

CbmKFTrack::CbmKFTrack ( )

◆ ~CbmKFTrack()

CbmKFTrack::~CbmKFTrack ( )
inline

Definition at line 32 of file CbmKFTrack.h.

◆ CbmKFTrack() [2/4]

CbmKFTrack::CbmKFTrack ( CbmKFTrackInterface track)
inline

Definition at line 34 of file CbmKFTrack.h.

References SetTrack().

◆ CbmKFTrack() [3/4]

CbmKFTrack::CbmKFTrack ( FairTrackParam &  track)
inline

Definition at line 39 of file CbmKFTrack.h.

References SetTrackParam().

◆ CbmKFTrack() [4/4]

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

Definition at line 44 of file CbmKFTrack.h.

References first, and SetStsTrack().

Member Function Documentation

◆ Extrapolate()

◆ Fit()

◆ Fit2Vertex()

◆ GetCovMatrix()

◆ GetHit()

CbmKFHit* CbmKFTrack::GetHit ( Int_t  )
inlinevirtual

Number of hits.

Reimplemented from CbmKFTrackInterface.

Definition at line 65 of file CbmKFTrack.h.

References fHits, and i.

◆ GetMass()

Double_t CbmKFTrack::GetMass ( )
inlinevirtual

Information not to be changed

Reimplemented from CbmKFTrackInterface.

Definition at line 62 of file CbmKFTrack.h.

References fMass.

Referenced by CbmStsKFTrackFitter::CheckTrack(), ClassImp(), and CbmKFSecondaryVertexFinder::Fit().

◆ GetNOfHits()

Int_t CbmKFTrack::GetNOfHits ( )
inlinevirtual

Number of Degrees of Freedom after fit.

Accessors to the track hits during track fit

Reimplemented from CbmKFTrackInterface.

Definition at line 64 of file CbmKFTrack.h.

References fHits.

◆ GetRefChi2()

◆ GetRefNDF()

◆ GetStsTrack()

◆ GetTrack()

◆ GetTrackParam()

◆ Id()

int CbmKFTrackInterface::Id ( ) const
inlineinherited

Definition at line 67 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

Referenced by ClassImp().

◆ IsElectron()

Bool_t CbmKFTrack::IsElectron ( )
inlinevirtual

Mass hypothesis.

Reimplemented from CbmKFTrackInterface.

Definition at line 63 of file CbmKFTrack.h.

References fIsElectron.

◆ Propagate() [1/2]

Int_t CbmKFTrackInterface::Propagate ( Double_t  z_out)
inherited

◆ Propagate() [2/2]

◆ SetId()

void CbmKFTrackInterface::SetId ( int  id)
inlineinherited

Definition at line 68 of file CbmKFTrackInterface.h.

References CbmKFTrackInterface::fId.

Referenced by CbmL1::Reconstruct().

◆ SetPID()

◆ SetStsTrack()

◆ SetTrack()

◆ SetTrackParam()

◆ Smooth()

Member Data Documentation

◆ fC

Double_t CbmKFTrack::fC[15]
private

Definition at line 24 of file CbmKFTrack.h.

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

◆ fChi2

Double_t CbmKFTrack::fChi2
private

Definition at line 24 of file CbmKFTrack.h.

Referenced by GetRefChi2(), and SetTrack().

◆ fHits

◆ fId

int CbmKFTrackInterface::fId
protectedinherited

Definition at line 71 of file CbmKFTrackInterface.h.

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

◆ fIsElectron

Bool_t CbmKFTrack::fIsElectron
private

Definition at line 25 of file CbmKFTrack.h.

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

◆ fMass

Double_t CbmKFTrack::fMass
private

Definition at line 24 of file CbmKFTrack.h.

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

◆ fNDF

Int_t CbmKFTrack::fNDF
private

Definition at line 26 of file CbmKFTrack.h.

Referenced by GetRefNDF(), and SetTrack().

◆ fT

Double_t CbmKFTrack::fT[6]
private

Definition at line 24 of file CbmKFTrack.h.

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


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