CbmRoot
|
#include <CbmKFTrack.h>
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. | |
CbmKFHit * | GetHit (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 |
Definition at line 26 of file CbmKFTrack.h.
CbmKFTrack::CbmKFTrack | ( | ) |
Default constructor.
|
inline |
Destructor.
Definition at line 40 of file CbmKFTrack.h.
|
inline |
Constructor from the CbmKFTrackInterface.
track | Reference to the CbmKFTrackInterface |
Definition at line 44 of file CbmKFTrack.h.
References SetTrack().
|
inline |
Constructor from the FairTrackParam.
track | Reference to the FairTrackParam instance |
Definition at line 48 of file CbmKFTrack.h.
References SetTrackParam().
|
inline |
Constructor from the CbmStsTrack.
track | Reference to the CbmStsTrack instance |
first | true: parameters in the first hit, false: parameters in the last hit |
Definition at line 53 of file CbmKFTrack.h.
References first, and SetStsTrack().
|
inline |
Constructor from the CbmGlobalTrack.
track | Reference to the CbmGlobalTrack instance |
first | true: parameters in the first hit, false: parameters in the last hit |
Definition at line 61 of file CbmKFTrack.h.
References first, and SetGlobalTrack().
|
inherited |
Access to i-th hit.
Methods
Definition at line 41 of file CbmKFTrackInterface.cxx.
References CbmKFMaterial::compareP_Z(), CbmKFMaterial::compareP_z(), CbmKFMath::GetThickness(), CbmKFTrackInterface::GetTrack(), CbmKF::Instance(), CbmKFTrackInterface::Propagate(), and CbmKF::vMaterial.
Referenced by CbmFsdHitsConverter::ExtrapolateGtrack(), CbmKFTrackFitQa::FillHistoAtFirstPoint(), CbmKFTrackFitQa::FillHistoAtParticleVertex(), and CbmKFTrackInterface::Fit2Vertex().
|
inherited |
Definition at line 101 of file CbmKFTrackInterface.cxx.
References CbmKFTrackInterface::GetCovMatrix(), CbmKFTrackInterface::GetHit(), CbmKF::GetMethod(), CbmKFTrackInterface::GetNOfHits(), CbmKFTrackInterface::GetRefChi2(), CbmKFTrackInterface::GetRefNDF(), CbmKFTrackInterface::GetTrack(), CbmKF::Instance(), and CbmKF::vMaterial.
|
inherited |
Definition at line 378 of file CbmKFTrackInterface.cxx.
References CbmKFTrackInterface::Extrapolate(), CbmKFTrackInterface::GetCovMatrix(), CbmKFVertexInterface::GetCovMatrix(), CbmKFTrackInterface::GetRefChi2(), CbmKFTrackInterface::GetRefNDF(), CbmKFVertexInterface::GetRefX(), CbmKFVertexInterface::GetRefY(), CbmKFVertexInterface::GetRefZ(), CbmKFTrackInterface::GetTrack(), x, and y.
|
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().
void CbmKFTrack::GetGlobalTrack | ( | CbmGlobalTrack & | track, |
bool | first = 1 ) |
Definition at line 76 of file CbmKFTrack.cxx.
References first, CbmGlobalTrack::GetParamFirst(), CbmGlobalTrack::GetParamLast(), GetRefChi2(), GetRefNDF(), GetTrackParam(), CbmGlobalTrack::SetChi2(), CbmGlobalTrack::SetNDF(), CbmGlobalTrack::SetParamFirst(), and CbmGlobalTrack::SetParamLast().
|
inlineoverridevirtual |
Number of hits.
Reimplemented from CbmKFTrackInterface.
Definition at line 84 of file CbmKFTrack.h.
References fHits.
|
inlineoverridevirtual |
Information not to be changed
Reimplemented from CbmKFTrackInterface.
Definition at line 81 of file CbmKFTrack.h.
References fMass.
|
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.
|
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().
|
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().
void CbmKFTrack::GetStsTrack | ( | CbmStsTrack & | track, |
bool | first = 1 ) |
Definition at line 67 of file CbmKFTrack.cxx.
References first, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), GetRefChi2(), GetRefNDF(), GetTrackParam(), CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), and CbmTrack::SetParamLast().
|
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().
void CbmKFTrack::GetTrackParam | ( | FairTrackParam & | track | ) |
Definition at line 65 of file CbmKFTrack.cxx.
References CbmKFMath::CopyTC2TrackParam(), fC, and fT.
Referenced by CbmFsdHitsConverter::ExtrapolateGtrack(), GetGlobalTrack(), and GetStsTrack().
|
inlineinherited |
Definition at line 69 of file CbmKFTrackInterface.h.
References CbmKFTrackInterface::fId.
|
inlineoverridevirtual |
Mass hypothesis.
Reimplemented from CbmKFTrackInterface.
Definition at line 82 of file CbmKFTrack.h.
References fIsElectron.
|
inherited |
Definition at line 483 of file CbmKFTrackInterface.cxx.
References CbmKFTrackInterface::GetTrack(), and CbmKFTrackInterface::Propagate().
|
inherited |
Definition at line 478 of file CbmKFTrackInterface.cxx.
References CbmKFTrackInterface::GetCovMatrix(), CbmKFTrackInterface::GetTrack(), CbmKF::Instance(), and CbmKF::Propagate().
Referenced by CbmKFTrackInterface::Extrapolate(), CbmKFStsHit::Filter(), CbmKFStsHit::FilterPDAF(), and CbmKFTrackInterface::Propagate().
void CbmKFTrack::SetGlobalTrack | ( | CbmGlobalTrack & | track, |
bool | first = 1 ) |
Definition at line 57 of file CbmKFTrack.cxx.
References first, CbmGlobalTrack::GetChi2(), CbmGlobalTrack::GetNDF(), CbmGlobalTrack::GetParamFirst(), CbmGlobalTrack::GetParamLast(), CbmGlobalTrack::GetPidHypo(), GetRefChi2(), GetRefNDF(), SetPID(), and SetTrackParam().
Referenced by CbmKFTrack(), CbmPVFinderKFGlobal::FindEventVertex(), and CbmPVFinderKFGlobal::FindPrimaryVertex().
|
inlineinherited |
Definition at line 70 of file CbmKFTrackInterface.h.
References CbmKFTrackInterface::fId.
void CbmKFTrack::SetPID | ( | Int_t | pidHypo | ) |
Definition at line 85 of file CbmKFTrack.cxx.
References fIsElectron, and fMass.
Referenced by CbmStsKFTrackFitter::DoFit(), CbmStsKFTrackFitter::Extrapolate(), SetGlobalTrack(), and SetStsTrack().
void CbmKFTrack::SetStsTrack | ( | CbmStsTrack & | track, |
bool | first = 1 ) |
Definition at line 49 of file CbmKFTrack.cxx.
References first, CbmTrack::GetChiSq(), CbmTrack::GetNDF(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmTrack::GetPidHypo(), GetRefChi2(), GetRefNDF(), SetPID(), and SetTrackParam().
Referenced by CbmKFTrack(), CbmPVFinderKF::FindEventVertex(), CbmPVFinderKF::FindPrimaryVertex(), and CbmStsKFTrackFitter::GetChiToVertex().
void CbmKFTrack::SetTrack | ( | CbmKFTrackInterface & | track | ) |
Definition at line 33 of file CbmKFTrack.cxx.
References fC, fChi2, fIsElectron, fMass, fNDF, fT, CbmKFTrackInterface::GetCovMatrix(), CbmKFTrackInterface::GetMass(), CbmKFTrackInterface::GetRefChi2(), CbmKFTrackInterface::GetRefNDF(), CbmKFTrackInterface::GetTrack(), and CbmKFTrackInterface::IsElectron().
Referenced by CbmKFTrack().
void CbmKFTrack::SetTrackParam | ( | const FairTrackParam & | track | ) |
Definition at line 47 of file CbmKFTrack.cxx.
References CbmKFMath::CopyTrackParam2TC(), fC, and fT.
Referenced by CbmKFTrack(), CbmStsKFTrackFitter::Extrapolate(), CbmFsdHitsConverter::ExtrapolateGtrack(), SetGlobalTrack(), and SetStsTrack().
|
inherited |
Definition at line 221 of file CbmKFTrackInterface.cxx.
References CbmKFTrackInterface::GetCovMatrix(), CbmKFTrackInterface::GetHit(), CbmKF::GetMethod(), CbmKFTrackInterface::GetNOfHits(), CbmKFTrackInterface::GetRefChi2(), CbmKFTrackInterface::GetRefNDF(), CbmKFTrackInterface::GetTrack(), CbmKFMath::indexS(), CbmKF::Instance(), CbmKFMath::invS(), CbmKFMath::multSSQ(), CbmKF::Propagate(), and CbmKF::vMaterial.
|
private |
Definition at line 29 of file CbmKFTrack.h.
Referenced by GetCovMatrix(), GetTrackParam(), SetTrack(), and SetTrackParam().
|
private |
Definition at line 29 of file CbmKFTrack.h.
Referenced by GetRefChi2(), and SetTrack().
std::vector<CbmKFHit*> CbmKFTrack::fHits |
Definition at line 34 of file CbmKFTrack.h.
Referenced by GetHit(), and GetNOfHits().
|
protectedinherited |
Definition at line 73 of file CbmKFTrackInterface.h.
Referenced by CbmKFTrackInterface::Id(), and CbmKFTrackInterface::SetId().
|
private |
Definition at line 30 of file CbmKFTrack.h.
Referenced by IsElectron(), SetPID(), and SetTrack().
|
private |
Definition at line 29 of file CbmKFTrack.h.
Referenced by GetMass(), SetPID(), and SetTrack().
|
private |
Definition at line 31 of file CbmKFTrack.h.
Referenced by GetRefNDF(), and SetTrack().
|
private |
Definition at line 29 of file CbmKFTrack.h.
Referenced by GetTrack(), GetTrackParam(), SetTrack(), and SetTrackParam().