CbmRoot
|
Base data class for track. More...
#include <CbmLitTrack.h>
Public Member Functions | |
CbmLitTrack () | |
Constructor. More... | |
virtual | ~CbmLitTrack () |
Destructor. More... | |
Int_t | GetNofHits () const |
LitTrackQa | GetQuality () const |
litfloat | GetChi2 () const |
Int_t | GetNDF () const |
Int_t | GetPreviousTrackId () const |
Int_t | GetPDG () const |
const CbmLitTrackParam * | GetParamFirst () const |
const CbmLitTrackParam * | GetParamLast () const |
Int_t | GetLastStationId () const |
const CbmLitHit * | GetHit (Int_t index) const |
const vector< const CbmLitHit * > & | GetHits () const |
const CbmLitFitNode * | GetFitNode (Int_t index) const |
const vector< CbmLitFitNode > & | GetFitNodes () const |
Int_t | GetNofMissingHits () const |
Int_t | GetRefId () const |
litfloat | GetLength () const |
void | SetQuality (LitTrackQa quality) |
void | SetChi2 (litfloat chi2) |
void | SetNDF (Int_t ndf) |
void | SetPreviousTrackId (Int_t id) |
void | SetPDG (Int_t pdg) |
void | SetParamFirst (const CbmLitTrackParam *par) |
void | SetParamLast (const CbmLitTrackParam *par) |
void | SetNofHits (Int_t nofHits) |
void | SetLastStationId (Int_t lastPlaneId) |
void | SetFitNodes (const vector< CbmLitFitNode > &nodes) |
void | SetNofMissingHits (Int_t nofMissingHits) |
void | SetRefId (Int_t refId) |
void | SetLength (litfloat length) |
void | AddHit (const CbmLitHit *hit) |
Add hit to track. No additional memory is allocated for hit. More... | |
void | ClearHits () |
Remove all hits from track. Do not delete memory. More... | |
void | RemoveHit (Int_t index) |
Remove hit and corresponding fit node. More... | |
void | SortHits (Bool_t downstream=true) |
Sort hits by Z position. More... | |
Bool_t | CheckParams () const |
Return true if track parameters are correct. More... | |
string | ToString () const |
Return string representation of class. More... | |
Private Attributes | |
vector< const CbmLitHit * > | fHits |
CbmLitTrackParam | fParamFirst |
CbmLitTrackParam | fParamLast |
vector< CbmLitFitNode > | fFitNodes |
LitTrackQa | fQuality |
litfloat | fChi2 |
Int_t | fNDF |
Int_t | fPreviousTrackId |
Int_t | fLastStationId |
Int_t | fPDG |
Int_t | fNofMissingHits |
Int_t | fRefId |
litfloat | fLength |
|
inline |
Constructor.
Definition at line 35 of file CbmLitTrack.h.
|
inlinevirtual |
Destructor.
Definition at line 53 of file CbmLitTrack.h.
|
inline |
Add hit to track. No additional memory is allocated for hit.
Definition at line 96 of file CbmLitTrack.h.
References fHits.
Referenced by CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), and LitCudaTrackToCbmLitTrack().
|
inline |
Return true if track parameters are correct.
Definition at line 127 of file CbmLitTrack.h.
References fParamFirst, fParamLast, CbmLitTrackParam::GetCovMatrix(), GetNofHits(), and i.
Referenced by CbmLitTrackFinderNN::CopyToOutput(), and CbmLitTrackFinderBranch::CopyToOutput().
|
inline |
Remove all hits from track. Do not delete memory.
Definition at line 101 of file CbmLitTrack.h.
References fHits.
|
inline |
Definition at line 58 of file CbmLitTrack.h.
References fChi2.
Referenced by CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), and CompareTrackPtrChiSqOverNdfLess::operator()().
|
inline |
Definition at line 67 of file CbmLitTrack.h.
References fFitNodes.
Referenced by CbmLitConverter::CbmLitTrackToCbmTrack(), and CbmLitTrackFitterIter::Fit().
|
inline |
Definition at line 70 of file CbmLitTrack.h.
References fFitNodes.
Referenced by CbmLitKalmanSmoother::Fit(), and CbmLitConverter::LitTrackVectorToGlobalTrackArray().
|
inline |
Definition at line 65 of file CbmLitTrack.h.
References fHits.
Referenced by CbmLitConverter::CbmLitTrackToCbmTrack(), CbmLitTrackToLitCudaTrack(), CbmLitTrackSelectionSharedHits::CheckSharedHits(), CbmLitFindMvdTracks::ConvertOutputData(), CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), CbmLitConverter::LitTrackVectorToGlobalTrackArray(), lit::NDF(), CbmLitTrackFinderNN::RemoveHits(), CbmLitTrackFinderBranch::RemoveHits(), and CbmLitFindGlobalTracks::SelectTracksForTofMerging().
|
inline |
Definition at line 66 of file CbmLitTrack.h.
References fHits.
|
inline |
Definition at line 64 of file CbmLitTrack.h.
References fLastStationId.
Referenced by CompareTrackPtrLastStationIdMore::operator()().
|
inline |
Definition at line 73 of file CbmLitTrack.h.
References fLength.
|
inline |
Definition at line 59 of file CbmLitTrack.h.
References fNDF.
Referenced by CompareTrackPtrChiSqOverNdfLess::operator()().
|
inline |
Definition at line 56 of file CbmLitTrack.h.
References fHits.
Referenced by CbmLitConverter::CbmLitTrackToCbmTrack(), CbmLitTrackToLitCudaTrack(), CheckParams(), CbmLitTrackSelectionSharedHits::CheckSharedHits(), CbmLitFindMvdTracks::ConvertOutputData(), CbmLitTrackFitterIter::Fit(), CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), CbmLitConverter::LitTrackVectorToGlobalTrackArray(), lit::NDF(), CompareTrackPtrNofHitsMore::operator()(), CompareTrackPtrNofHitsLess::operator()(), CbmLitTrackFinderNN::RemoveHits(), CbmLitTrackFinderBranch::RemoveHits(), and CbmLitFindGlobalTracks::SelectTracksForTofMerging().
|
inline |
Definition at line 71 of file CbmLitTrack.h.
References fNofMissingHits.
Referenced by CbmLitTrackFinderNN::FollowTracks(), and CbmLitTrackFinderBranch::FollowTracks().
|
inline |
Definition at line 62 of file CbmLitTrack.h.
References fParamFirst.
Referenced by CbmLitFindMvdTracks::ConvertInputData(), CbmLitFitTracks::DoFit(), and CbmLitTrackFitterImp::Fit().
|
inline |
Definition at line 63 of file CbmLitTrack.h.
References fParamLast.
Referenced by CbmLitTrackToLitCudaTrack(), CbmLitFindMvdTracks::ConvertOutputData(), CbmLitFitTracks::DoFit(), CbmLitNearestHitTofMerger::DoMerge(), CbmLitAllHitsTofMerger::DoMerge(), CbmLitTrackFitterImp::Fit(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), and CbmLitConverter::LitTrackVectorToGlobalTrackArray().
|
inline |
Definition at line 61 of file CbmLitTrack.h.
References fPDG.
Referenced by CbmLitTrackFitterImp::Fit().
|
inline |
Definition at line 60 of file CbmLitTrack.h.
References fPreviousTrackId.
Referenced by CbmLitConverter::CbmLitTrackToCbmTrack(), CbmLitFindMvdTracks::ConvertOutputData(), CbmLitTrackFinderNN::CopyToOutput(), CbmLitTrackFinderBranch::CopyToOutput(), CbmLitFitTracks::DoFit(), CbmLitTrackFinderNN::InitTrackSeeds(), CbmLitTrackFinderBranch::InitTrackSeeds(), CbmLitConverter::LitTrackVectorToGlobalTrackArray(), and CompareTrackPtrPrevTrackIdLess::operator()().
|
inline |
Definition at line 57 of file CbmLitTrack.h.
References fQuality.
Referenced by CbmLitConverter::CbmLitTrackToCbmTrack(), CbmLitTrackSelectionSharedHits::CheckSharedHits(), CbmLitTrackFinderNN::CopyToOutput(), CbmLitTrackFinderBranch::CopyToOutput(), CbmLitNearestHitTofMerger::DoMerge(), CbmLitAllHitsTofMerger::DoMerge(), CbmLitTrackFinderNN::InitTrackSeeds(), CbmLitTrackFinderBranch::InitTrackSeeds(), CbmLitConverter::LitTrackVectorToGlobalTrackArray(), CbmLitTrackFinderNN::RemoveHits(), CbmLitTrackFinderBranch::RemoveHits(), and CbmLitFindGlobalTracks::SelectTracksForTofMerging().
|
inline |
Definition at line 72 of file CbmLitTrack.h.
References fRefId.
|
inline |
Remove hit and corresponding fit node.
Definition at line 106 of file CbmLitTrack.h.
References fFitNodes, and fHits.
Referenced by CbmLitTrackFitterIter::Fit().
|
inline |
Definition at line 77 of file CbmLitTrack.h.
References fChi2.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), CbmLitTrackFinderNN::InitTrackSeeds(), CbmLitTrackFinderBranch::InitTrackSeeds(), and LitCudaTrackToCbmLitTrack().
|
inline |
Definition at line 86 of file CbmLitTrack.h.
References fFitNodes.
Referenced by CbmLitKalmanSmoother::Fit(), and CbmLitTrackFitterImp::Fit().
|
inline |
Definition at line 85 of file CbmLitTrack.h.
References fLastStationId.
Referenced by CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitQualitySort::DoSortLastStation(), CbmLitTrackFinderNN::FollowTracks(), and CbmLitTrackFinderBranch::FollowTracks().
|
inline |
Definition at line 91 of file CbmLitTrack.h.
References fLength.
Referenced by CbmLitTrackFitterImp::Fit().
|
inline |
Definition at line 78 of file CbmLitTrack.h.
References fNDF.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), and LitCudaTrackToCbmLitTrack().
|
inline |
Definition at line 84 of file CbmLitTrack.h.
References fHits.
Referenced by CbmLitQualitySort::DoSortNofHits().
|
inline |
Definition at line 87 of file CbmLitTrack.h.
References fNofMissingHits.
Referenced by CbmLitTrackFinderNN::FollowTracks(), and CbmLitTrackFinderBranch::FollowTracks().
|
inline |
Definition at line 81 of file CbmLitTrack.h.
References fParamFirst.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitFitTracks::DoFit(), CbmLitKalmanSmoother::Fit(), CbmLitTrackFitterImp::Fit(), and LitCudaTrackToCbmLitTrack().
|
inline |
Definition at line 82 of file CbmLitTrack.h.
References fParamLast.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitFindMvdTracks::ConvertInputData(), CbmLitTrackFitterImp::Fit(), CbmLitTrackFinderNN::FollowTracks(), CbmLitTrackFinderBranch::FollowTracks(), and LitCudaTrackToCbmLitTrack().
|
inline |
Definition at line 80 of file CbmLitTrack.h.
References fPDG.
Referenced by CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitFitTracks::DoFit(), CbmLitTrackFinderNN::InitTrackSeeds(), and CbmLitTrackFinderBranch::InitTrackSeeds().
|
inline |
Definition at line 79 of file CbmLitTrack.h.
References fPreviousTrackId.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), LitCudaTrackToCbmLitTrack(), and CbmLitConverter::StsTrackArrayToTrackVector().
|
inline |
Definition at line 76 of file CbmLitTrack.h.
References fQuality.
Referenced by CbmLitConverter::CbmStsTrackToCbmLitTrack(), CbmLitConverter::CbmTrackToCbmLitTrack(), CbmLitTrackSelectionSharedHits::CheckSharedHits(), CbmLitTrackFitterImp::Fit(), LitCudaTrackToCbmLitTrack(), and CbmLitFindGlobalTracks::SelectTracksForTofMerging().
|
inline |
Definition at line 90 of file CbmLitTrack.h.
References fRefId.
Referenced by CbmLitConverter::StsTrackArrayToTrackVector().
|
inline |
Sort hits by Z position.
[in] | downstream | If downstream is true than hits are sorted in downstream direction otherwise in upstream direction. |
Definition at line 115 of file CbmLitTrack.h.
References fHits.
Referenced by CbmLitTrackFitterImp::Fit().
|
inline |
Return string representation of class.
Definition at line 143 of file CbmLitTrack.h.
References fChi2, fFitNodes, fHits, fLastStationId, fNDF, fPDG, fPreviousTrackId, and fQuality.
Referenced by CbmLitConverter::LitTrackVectorToGlobalTrackArray().
|
private |
Definition at line 159 of file CbmLitTrack.h.
Referenced by GetChi2(), SetChi2(), and ToString().
|
private |
Definition at line 157 of file CbmLitTrack.h.
Referenced by GetFitNode(), GetFitNodes(), RemoveHit(), SetFitNodes(), and ToString().
|
private |
Definition at line 154 of file CbmLitTrack.h.
Referenced by AddHit(), ClearHits(), GetHit(), GetHits(), GetNofHits(), RemoveHit(), SetNofHits(), SortHits(), and ToString().
|
private |
Definition at line 162 of file CbmLitTrack.h.
Referenced by GetLastStationId(), SetLastStationId(), and ToString().
|
private |
Definition at line 166 of file CbmLitTrack.h.
Referenced by GetLength(), and SetLength().
|
private |
Definition at line 160 of file CbmLitTrack.h.
Referenced by GetNDF(), SetNDF(), and ToString().
|
private |
Definition at line 164 of file CbmLitTrack.h.
Referenced by GetNofMissingHits(), and SetNofMissingHits().
|
private |
Definition at line 155 of file CbmLitTrack.h.
Referenced by CheckParams(), GetParamFirst(), and SetParamFirst().
|
private |
Definition at line 156 of file CbmLitTrack.h.
Referenced by CheckParams(), GetParamLast(), and SetParamLast().
|
private |
Definition at line 163 of file CbmLitTrack.h.
Referenced by GetPDG(), SetPDG(), and ToString().
|
private |
Definition at line 161 of file CbmLitTrack.h.
Referenced by GetPreviousTrackId(), SetPreviousTrackId(), and ToString().
|
private |
Definition at line 158 of file CbmLitTrack.h.
Referenced by GetQuality(), SetQuality(), and ToString().
|
private |
Definition at line 165 of file CbmLitTrack.h.
Referenced by GetRefId(), and SetRefId().