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

#include <EicRoot/blob/master/cbmdata/CbmTrack.h>

+ Inheritance diagram for CbmTrack:
+ Collaboration diagram for CbmTrack:

Public Member Functions

 CbmTrack ()
 
virtual ~CbmTrack ()
 
 CbmTrack (const CbmTrack &)
 
CbmTrackoperator= (const CbmTrack &)
 
void AddHit (Int_t index, HitType type)
 
Int_t GetNofHits () const
 
Int_t GetHitIndex (Int_t iHit) const
 
HitType GetHitType (Int_t iHit) const
 
Int_t GetPidHypo () const
 
Int_t GetFlag () const
 
Double_t GetChiSq () const
 
Int_t GetNDF () const
 
Int_t GetPreviousTrackId () const
 
const FairTrackParamGetParamFirst () const
 
const FairTrackParamGetParamLast () const
 
FairMultiLinkedDataGetLinks () const
 
void SetPidHypo (Int_t pid)
 
void SetFlag (Int_t flag)
 
void SetChiSq (Double_t chiSq)
 
void SetNDF (Int_t ndf)
 
void SetPreviousTrackId (Int_t previousTrackId)
 
void SetParamFirst (const FairTrackParam *par)
 
void SetParamLast (const FairTrackParam *par)
 
void SetLinks (FairMultiLinkedData *links)
 
virtual void Print () const
 

Private Member Functions

 ClassDef (CbmTrack, 2)
 

Private Attributes

std::vector< Int_t > fHitIndex
 
std::vector< HitTypefHitType
 
Int_t fPidHypo
 
FairTrackParam fParamFirst
 
FairTrackParam fParamLast
 
Int_t fFlag
 
Double32_t fChiSq
 
Int_t fNDF
 
Int_t fPreviousTrackId
 
FairMultiLinkedDatafLinks
 

Detailed Description

Definition at line 28 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 28 of file CbmTrack.h

Constructor & Destructor Documentation

CbmTrack::CbmTrack ( )

Default constructor

Definition at line 17 of file CbmTrack.cxx.

View newest version in sPHENIX GitHub at line 17 of file CbmTrack.cxx

CbmTrack::~CbmTrack ( )
virtual

Destructor

Definition at line 81 of file CbmTrack.cxx.

View newest version in sPHENIX GitHub at line 81 of file CbmTrack.cxx

CbmTrack::CbmTrack ( const CbmTrack rhs)

Copy Constructor

Definition at line 33 of file CbmTrack.cxx.

View newest version in sPHENIX GitHub at line 33 of file CbmTrack.cxx

References fLinks.

Member Function Documentation

void CbmTrack::AddHit ( Int_t  index,
HitType  type 
)

Add a hit to the list, using index and HitType

Parameters
indexIndex of the hit in the array
typeType of the hit to be added

Definition at line 87 of file CbmTrack.cxx.

View newest version in sPHENIX GitHub at line 87 of file CbmTrack.cxx

References fHitIndex, and fHitType.

CbmTrack::ClassDef ( CbmTrack  ,
 
)
private
Double_t CbmTrack::GetChiSq ( ) const
inline

Definition at line 58 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 58 of file CbmTrack.h

References fChiSq.

Int_t CbmTrack::GetFlag ( ) const
inline

Definition at line 57 of file CbmTrack.h.

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

References fFlag.

Int_t CbmTrack::GetHitIndex ( Int_t  iHit) const
inline

Definition at line 54 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 54 of file CbmTrack.h

References fHitIndex.

HitType CbmTrack::GetHitType ( Int_t  iHit) const
inline

Definition at line 55 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 55 of file CbmTrack.h

References fHitType.

FairMultiLinkedData* CbmTrack::GetLinks ( ) const
inline

Definition at line 63 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 63 of file CbmTrack.h

References fLinks.

Int_t CbmTrack::GetNDF ( ) const
inline

Definition at line 59 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 59 of file CbmTrack.h

References fNDF.

Int_t CbmTrack::GetNofHits ( ) const
inline

Accessors

Definition at line 53 of file CbmTrack.h.

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

References fHitIndex.

const FairTrackParam* CbmTrack::GetParamFirst ( ) const
inline

Definition at line 61 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 61 of file CbmTrack.h

References fParamFirst.

const FairTrackParam* CbmTrack::GetParamLast ( ) const
inline

Definition at line 62 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 62 of file CbmTrack.h

References fParamLast.

Int_t CbmTrack::GetPidHypo ( ) const
inline

Definition at line 56 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 56 of file CbmTrack.h

References fPidHypo.

Int_t CbmTrack::GetPreviousTrackId ( ) const
inline

Definition at line 60 of file CbmTrack.h.

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

References fPreviousTrackId.

CbmTrack & CbmTrack::operator= ( const CbmTrack rhs)

Assignment Operator

Definition at line 51 of file CbmTrack.cxx.

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

References fChiSq, fFlag, fHitIndex, fHitType, fLinks, fNDF, fParamFirst, fParamLast, fPidHypo, and fPreviousTrackId.

void CbmTrack::Print ( ) const
virtual

Definition at line 97 of file CbmTrack.cxx.

View newest version in sPHENIX GitHub at line 97 of file CbmTrack.cxx

References fChiSq, fFlag, fHitIndex, fNDF, fPidHypo, and fPreviousTrackId.

void CbmTrack::SetChiSq ( Double_t  chiSq)
inline

Definition at line 68 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 68 of file CbmTrack.h

References fChiSq.

void CbmTrack::SetFlag ( Int_t  flag)
inline

Definition at line 67 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 67 of file CbmTrack.h

References fFlag.

void CbmTrack::SetLinks ( FairMultiLinkedData links)
inline

Definition at line 73 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 73 of file CbmTrack.h

References fLinks.

void CbmTrack::SetNDF ( Int_t  ndf)
inline

Definition at line 69 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 69 of file CbmTrack.h

References fNDF.

void CbmTrack::SetParamFirst ( const FairTrackParam par)
inline

Definition at line 71 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 71 of file CbmTrack.h

References fParamFirst.

void CbmTrack::SetParamLast ( const FairTrackParam par)
inline

Definition at line 72 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 72 of file CbmTrack.h

References fParamLast.

void CbmTrack::SetPidHypo ( Int_t  pid)
inline

Modifiers

Definition at line 66 of file CbmTrack.h.

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

References fPidHypo, and pid.

void CbmTrack::SetPreviousTrackId ( Int_t  previousTrackId)
inline

Definition at line 70 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 70 of file CbmTrack.h

References fPreviousTrackId.

Member Data Documentation

Double32_t CbmTrack::fChiSq
private

Chi square and NDF of track fit

Definition at line 95 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 95 of file CbmTrack.h

Referenced by GetChiSq(), operator=(), Print(), and SetChiSq().

Int_t CbmTrack::fFlag
private

Quality flag

Definition at line 92 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 92 of file CbmTrack.h

Referenced by GetFlag(), operator=(), Print(), and SetFlag().

std::vector<Int_t> CbmTrack::fHitIndex
private

Array contains the hit indices of the hits attached to the track

Definition at line 79 of file CbmTrack.h.

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

Referenced by AddHit(), GetHitIndex(), GetNofHits(), operator=(), and Print().

std::vector<HitType> CbmTrack::fHitType
private

Array contains the hit types of the hits attached to the track

Definition at line 82 of file CbmTrack.h.

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

Referenced by AddHit(), GetHitType(), and operator=().

FairMultiLinkedData* CbmTrack::fLinks
private

Monte-Carlo link collection

Definition at line 102 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 102 of file CbmTrack.h

Referenced by CbmTrack(), GetLinks(), operator=(), and SetLinks().

Int_t CbmTrack::fNDF
private

Definition at line 96 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 96 of file CbmTrack.h

Referenced by GetNDF(), operator=(), Print(), and SetNDF().

FairTrackParam CbmTrack::fParamFirst
private

Track parameters at first and last fitted hit

Definition at line 88 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 88 of file CbmTrack.h

Referenced by GetParamFirst(), operator=(), and SetParamFirst().

FairTrackParam CbmTrack::fParamLast
private

Definition at line 89 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 89 of file CbmTrack.h

Referenced by GetParamLast(), operator=(), and SetParamLast().

Int_t CbmTrack::fPidHypo
private

PID hypothesis used by the track fitter

Definition at line 85 of file CbmTrack.h.

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

Referenced by GetPidHypo(), operator=(), Print(), and SetPidHypo().

Int_t CbmTrack::fPreviousTrackId
private

Index of previous track segment

Definition at line 99 of file CbmTrack.h.

View newest version in sPHENIX GitHub at line 99 of file CbmTrack.h

Referenced by GetPreviousTrackId(), operator=(), Print(), and SetPreviousTrackId().


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