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

#include <CbmTrdTrack.h>

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

Public Member Functions

 CbmTrdTrack ()
 
virtual ~CbmTrdTrack ()
 
void AddTrdHit (int32_t hitIndex)
 
double GetPidWkn () const
 
double GetPidANN () const
 
double GetELoss () const
 
double GetPidLikeEL () const
 
double GetPidLikePI () const
 
double GetPidLikeKA () const
 
double GetPidLikePR () const
 
double GetPidLikeMU () const
 
void SetPidWkn (double pid)
 
void SetPidANN (double pid)
 
void SetELoss (double eLoss)
 
void SetPidLikeEL (double value)
 
void SetPidLikePI (double value)
 
void SetPidLikeKA (double value)
 
void SetPidLikePR (double value)
 
void SetPidLikeMU (double value)
 
void AddHit (int32_t index, HitType type)
 
virtual int32_t GetNofHits () const
 
int32_t GetHitIndex (int32_t iHit) const
 
HitType GetHitType (int32_t iHit) const
 
int32_t GetPidHypo () const
 
int32_t GetFlag () const
 
double GetChiSq () const
 
int32_t GetNDF () const
 
double GetChiSqTime () const
 
int32_t GetNdfTime () const
 
int32_t GetPreviousTrackId () const
 
const FairTrackParam * GetParamFirst () const
 
const FairTrackParam * GetParamLast () const
 
CbmMatchGetMatch () const
 
double GetStartTime () const
 
double GetStartTimeError () const
 
double GetFirstHitTime () const
 
double GetFirstHitTimeError () const
 
double GetLastHitTime () const
 
double GetLastHitTimeError () const
 
void SetPidHypo (int32_t pid)
 
void SetFlag (int32_t flag)
 
void SetChiSq (double chiSq)
 
void SetNDF (int32_t ndf)
 
void SetChiSqTime (double chiSq)
 
void SetNdfTime (int32_t ndf)
 
void SetPreviousTrackId (int32_t previousTrackId)
 
void SetParamFirst (const FairTrackParam *par)
 
void SetParamFirst (const FairTrackParam &par)
 
void SetParamLast (const FairTrackParam *par)
 
void SetParamLast (const FairTrackParam &par)
 
void SetMatch (CbmMatch *match)
 
void SetStartTime (double time)
 
void SetStartTimeError (double error)
 
void SetFirstHitTime (double time)
 
void SetFirstHitTimeError (double error)
 
void SetLastHitTime (double time)
 
void SetLastHitTimeError (double error)
 
virtual std::string ToString () const
 

Protected Member Functions

 ClassDef (CbmTrack, 6)
 

Protected Attributes

std::vector< int32_t > fHitIndex
 
std::vector< HitTypefHitType
 
int32_t fPidHypo
 
FairTrackParam fParamFirst
 
FairTrackParam fParamLast
 
double fStartTime
 
double fStartTimeError
 
double fFirstHitTime
 
double fFirstHitTimeError
 
double fLastHitTime
 
double fLastHitTimeError
 
int32_t fFlag
 
Double32_t fChiSq
 
int32_t fNDF
 
int32_t fPreviousTrackId
 
CbmMatchfMatch
 
Double32_t fChiSqTime {0.}
 
int32_t fNdfTime {0}
 

Private Member Functions

 ClassDef (CbmTrdTrack, 4)
 

Private Attributes

double fPidWkn
 
double fPidANN
 
double fPidLikeEL
 
double fPidLikePI
 
double fPidLikeKA
 
double fPidLikePR
 
double fPidLikeMU
 
double fELoss
 

Detailed Description

CbmTrdTrack.h

Author
M.Kalisky m.kal.nosp@m.isky.nosp@m.@gsi..nosp@m.de

TRD local track. Holds lists of CbmTrdHits and the fitted track parameters. The fit parameters are of type FairTrackParam and can only be accessed and modified via this class.

Definition at line 25 of file CbmTrdTrack.h.

Constructor & Destructor Documentation

◆ CbmTrdTrack()

CbmTrdTrack::CbmTrdTrack ( )

Default constructor

Definition at line 13 of file CbmTrdTrack.cxx.

◆ ~CbmTrdTrack()

CbmTrdTrack::~CbmTrdTrack ( )
virtual

Destructor

Definition at line 28 of file CbmTrdTrack.cxx.

Member Function Documentation

◆ AddHit()

void CbmTrack::AddHit ( int32_t index,
HitType type )
inherited

◆ AddTrdHit()

void CbmTrdTrack::AddTrdHit ( int32_t hitIndex)
inline

Associate a TrdHit to the track

Parameters
hitIndexIndex of the TRD hit in TClonesArray

Definition at line 37 of file CbmTrdTrack.h.

References CbmTrack::AddHit(), and kTRDHIT.

◆ ClassDef() [1/2]

CbmTrack::ClassDef ( CbmTrack ,
6  )
protectedinherited

◆ ClassDef() [2/2]

CbmTrdTrack::ClassDef ( CbmTrdTrack ,
4  )
private

◆ GetChiSq()

◆ GetChiSqTime()

double CbmTrack::GetChiSqTime ( ) const
inlineinherited

Definition at line 65 of file CbmTrack.h.

References CbmTrack::fChiSqTime.

◆ GetELoss()

double CbmTrdTrack::GetELoss ( ) const
inline

◆ GetFirstHitTime()

double CbmTrack::GetFirstHitTime ( ) const
inlineinherited

◆ GetFirstHitTimeError()

double CbmTrack::GetFirstHitTimeError ( ) const
inlineinherited

◆ GetFlag()

int32_t CbmTrack::GetFlag ( ) const
inlineinherited

◆ GetHitIndex()

◆ GetHitType()

◆ GetLastHitTime()

double CbmTrack::GetLastHitTime ( ) const
inlineinherited

◆ GetLastHitTimeError()

double CbmTrack::GetLastHitTimeError ( ) const
inlineinherited

◆ GetMatch()

CbmMatch * CbmTrack::GetMatch ( ) const
inlineinherited

Definition at line 70 of file CbmTrack.h.

References CbmTrack::fMatch.

◆ GetNDF()

◆ GetNdfTime()

int32_t CbmTrack::GetNdfTime ( ) const
inlineinherited

Definition at line 66 of file CbmTrack.h.

References CbmTrack::fNdfTime.

◆ GetNofHits()

◆ GetParamFirst()

◆ GetParamLast()

◆ GetPidANN()

◆ GetPidHypo()

◆ GetPidLikeEL()

◆ GetPidLikeKA()

double CbmTrdTrack::GetPidLikeKA ( ) const
inline

Definition at line 45 of file CbmTrdTrack.h.

References fPidLikeKA.

Referenced by PairAnalysisVarManager::FillVarTrdTrack().

◆ GetPidLikeMU()

double CbmTrdTrack::GetPidLikeMU ( ) const
inline

Definition at line 47 of file CbmTrdTrack.h.

References fPidLikeMU.

Referenced by PairAnalysisVarManager::FillVarTrdTrack().

◆ GetPidLikePI()

double CbmTrdTrack::GetPidLikePI ( ) const
inline

Definition at line 44 of file CbmTrdTrack.h.

References fPidLikePI.

Referenced by LmvmTask::FillCands(), and PairAnalysisVarManager::FillVarTrdTrack().

◆ GetPidLikePR()

double CbmTrdTrack::GetPidLikePR ( ) const
inline

Definition at line 46 of file CbmTrdTrack.h.

References fPidLikePR.

Referenced by PairAnalysisVarManager::FillVarTrdTrack().

◆ GetPidWkn()

double CbmTrdTrack::GetPidWkn ( ) const
inline

◆ GetPreviousTrackId()

int32_t CbmTrack::GetPreviousTrackId ( ) const
inlineinherited

◆ GetStartTime()

double CbmTrack::GetStartTime ( ) const
inlineinherited

◆ GetStartTimeError()

double CbmTrack::GetStartTimeError ( ) const
inlineinherited

Definition at line 72 of file CbmTrack.h.

References CbmTrack::fStartTimeError.

Referenced by CbmBuildEventsFromTracksReal::Exec(), and CbmEventBuilderQa::Exec().

◆ SetChiSq()

◆ SetChiSqTime()

void CbmTrack::SetChiSqTime ( double chiSq)
inlineinherited

Definition at line 83 of file CbmTrack.h.

References CbmTrack::fChiSqTime.

Referenced by CbmL1StsTrackFinder::CopyL1Tracks().

◆ SetELoss()

void CbmTrdTrack::SetELoss ( double eLoss)
inline

Definition at line 52 of file CbmTrdTrack.h.

References fELoss.

Referenced by CbmTrdSetTracksPidLike::Exec(), and CbmTrdSetTracksPidWkn::Exec().

◆ SetFirstHitTime()

void CbmTrack::SetFirstHitTime ( double time)
inlineinherited

◆ SetFirstHitTimeError()

void CbmTrack::SetFirstHitTimeError ( double error)
inlineinherited

◆ SetFlag()

void CbmTrack::SetFlag ( int32_t flag)
inlineinherited

◆ SetLastHitTime()

void CbmTrack::SetLastHitTime ( double time)
inlineinherited

◆ SetLastHitTimeError()

void CbmTrack::SetLastHitTimeError ( double error)
inlineinherited

◆ SetMatch()

void CbmTrack::SetMatch ( CbmMatch * match)
inherited

Definition at line 103 of file CbmTrack.cxx.

References CbmTrack::fMatch.

◆ SetNDF()

◆ SetNdfTime()

void CbmTrack::SetNdfTime ( int32_t ndf)
inlineinherited

Definition at line 84 of file CbmTrack.h.

References CbmTrack::fNdfTime.

Referenced by CbmL1StsTrackFinder::CopyL1Tracks().

◆ SetParamFirst() [1/2]

void CbmTrack::SetParamFirst ( const FairTrackParam & par)
inlineinherited

Definition at line 88 of file CbmTrack.h.

References CbmTrack::fParamFirst.

◆ SetParamFirst() [2/2]

◆ SetParamLast() [1/2]

void CbmTrack::SetParamLast ( const FairTrackParam & par)
inlineinherited

Definition at line 89 of file CbmTrack.h.

References CbmTrack::fParamLast.

◆ SetParamLast() [2/2]

◆ SetPidANN()

void CbmTrdTrack::SetPidANN ( double pid)
inline

Definition at line 51 of file CbmTrdTrack.h.

References fPidANN.

Referenced by CbmTrdSetTracksPidANN::Exec().

◆ SetPidHypo()

void CbmTrack::SetPidHypo ( int32_t pid)
inlineinherited

◆ SetPidLikeEL()

void CbmTrdTrack::SetPidLikeEL ( double value)
inline

Definition at line 53 of file CbmTrdTrack.h.

References fPidLikeEL.

Referenced by CbmTrdSetTracksPidLike::Exec().

◆ SetPidLikeKA()

void CbmTrdTrack::SetPidLikeKA ( double value)
inline

Definition at line 55 of file CbmTrdTrack.h.

References fPidLikeKA.

Referenced by CbmTrdSetTracksPidLike::Exec().

◆ SetPidLikeMU()

void CbmTrdTrack::SetPidLikeMU ( double value)
inline

Definition at line 57 of file CbmTrdTrack.h.

References fPidLikeMU.

Referenced by CbmTrdSetTracksPidLike::Exec().

◆ SetPidLikePI()

void CbmTrdTrack::SetPidLikePI ( double value)
inline

Definition at line 54 of file CbmTrdTrack.h.

References fPidLikePI.

Referenced by CbmTrdSetTracksPidLike::Exec().

◆ SetPidLikePR()

void CbmTrdTrack::SetPidLikePR ( double value)
inline

Definition at line 56 of file CbmTrdTrack.h.

References fPidLikePR.

Referenced by CbmTrdSetTracksPidLike::Exec().

◆ SetPidWkn()

void CbmTrdTrack::SetPidWkn ( double pid)
inline

Modifiers

Definition at line 50 of file CbmTrdTrack.h.

References fPidWkn.

Referenced by CbmTrdSetTracksPidModWkn::Exec(), and CbmTrdSetTracksPidWkn::Exec().

◆ SetPreviousTrackId()

void CbmTrack::SetPreviousTrackId ( int32_t previousTrackId)
inlineinherited

◆ SetStartTime()

void CbmTrack::SetStartTime ( double time)
inlineinherited

◆ SetStartTimeError()

void CbmTrack::SetStartTimeError ( double error)
inlineinherited

◆ ToString()

std::string CbmTrack::ToString ( ) const
virtualinherited

Member Data Documentation

◆ fChiSq

Double32_t CbmTrack::fChiSq
protectedinherited

Chi square and NDF of track fit

Definition at line 130 of file CbmTrack.h.

Referenced by CbmTrack::GetChiSq(), CbmTrack::operator=(), CbmTrack::SetChiSq(), and CbmTrack::ToString().

◆ fChiSqTime

Double32_t CbmTrack::fChiSqTime {0.}
protectedinherited

Chi square and NDF of track fit in time

Definition at line 140 of file CbmTrack.h.

Referenced by CbmTrack::GetChiSqTime(), and CbmTrack::SetChiSqTime().

◆ fELoss

double CbmTrdTrack::fELoss
private

Total energy loss in TRD

Definition at line 74 of file CbmTrdTrack.h.

Referenced by GetELoss(), and SetELoss().

◆ fFirstHitTime

double CbmTrack::fFirstHitTime
protectedinherited

Track time at the first hit

Definition at line 119 of file CbmTrack.h.

Referenced by CbmTrack::GetFirstHitTime(), CbmTrack::operator=(), and CbmTrack::SetFirstHitTime().

◆ fFirstHitTimeError

double CbmTrack::fFirstHitTimeError
protectedinherited

◆ fFlag

int32_t CbmTrack::fFlag
protectedinherited

Quality flag

Definition at line 127 of file CbmTrack.h.

Referenced by CbmTrack::GetFlag(), CbmTrack::operator=(), CbmTrack::SetFlag(), and CbmTrack::ToString().

◆ fHitIndex

std::vector<int32_t> CbmTrack::fHitIndex
protectedinherited

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

Definition at line 102 of file CbmTrack.h.

Referenced by CbmTrack::AddHit(), CbmTrack::GetHitIndex(), CbmTrack::GetNofHits(), CbmTrack::operator=(), CbmTofTrack::SetTofHitIndex(), and CbmTrack::ToString().

◆ fHitType

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

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

Definition at line 105 of file CbmTrack.h.

Referenced by CbmTrack::AddHit(), CbmTrack::GetHitType(), CbmTrack::operator=(), and CbmTofTrack::SetTofHitIndex().

◆ fLastHitTime

double CbmTrack::fLastHitTime
protectedinherited

Track time at the last hit

Definition at line 123 of file CbmTrack.h.

Referenced by CbmTrack::GetLastHitTime(), CbmTrack::operator=(), and CbmTrack::SetLastHitTime().

◆ fLastHitTimeError

double CbmTrack::fLastHitTimeError
protectedinherited

◆ fMatch

CbmMatch* CbmTrack::fMatch
protectedinherited

Monte-Carlo information

Definition at line 137 of file CbmTrack.h.

Referenced by CbmTrack::GetMatch(), CbmTrack::operator=(), CbmTrack::SetMatch(), and CbmTrack::~CbmTrack().

◆ fNDF

int32_t CbmTrack::fNDF
protectedinherited

◆ fNdfTime

int32_t CbmTrack::fNdfTime {0}
protectedinherited

Definition at line 141 of file CbmTrack.h.

Referenced by CbmTrack::GetNdfTime(), and CbmTrack::SetNdfTime().

◆ fParamFirst

FairTrackParam CbmTrack::fParamFirst
protectedinherited

Track parameters at first and last fitted hit

Definition at line 111 of file CbmTrack.h.

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

◆ fParamLast

FairTrackParam CbmTrack::fParamLast
protectedinherited

◆ fPidANN

double CbmTrdTrack::fPidANN
private

PID value based on ANN method

Definition at line 64 of file CbmTrdTrack.h.

Referenced by GetPidANN(), and SetPidANN().

◆ fPidHypo

int32_t CbmTrack::fPidHypo
protectedinherited

PID hypothesis used by the track fitter

Definition at line 108 of file CbmTrack.h.

Referenced by CbmTrack::GetPidHypo(), CbmTrack::operator=(), CbmTrack::SetPidHypo(), and CbmTrack::ToString().

◆ fPidLikeEL

double CbmTrdTrack::fPidLikeEL
private

PID values based on Likelihood method

Definition at line 67 of file CbmTrdTrack.h.

Referenced by GetPidLikeEL(), and SetPidLikeEL().

◆ fPidLikeKA

double CbmTrdTrack::fPidLikeKA
private

Definition at line 69 of file CbmTrdTrack.h.

Referenced by GetPidLikeKA(), and SetPidLikeKA().

◆ fPidLikeMU

double CbmTrdTrack::fPidLikeMU
private

Definition at line 71 of file CbmTrdTrack.h.

Referenced by GetPidLikeMU(), and SetPidLikeMU().

◆ fPidLikePI

double CbmTrdTrack::fPidLikePI
private

Definition at line 68 of file CbmTrdTrack.h.

Referenced by GetPidLikePI(), and SetPidLikePI().

◆ fPidLikePR

double CbmTrdTrack::fPidLikePR
private

Definition at line 70 of file CbmTrdTrack.h.

Referenced by GetPidLikePR(), and SetPidLikePR().

◆ fPidWkn

double CbmTrdTrack::fPidWkn
private

PID value based on Wkn method

Definition at line 61 of file CbmTrdTrack.h.

Referenced by GetPidWkn(), and SetPidWkn().

◆ fPreviousTrackId

int32_t CbmTrack::fPreviousTrackId
protectedinherited

Index of previous track segment

Definition at line 134 of file CbmTrack.h.

Referenced by CbmTrack::GetPreviousTrackId(), CbmTrack::operator=(), CbmTrack::SetPreviousTrackId(), and CbmTrack::ToString().

◆ fStartTime

double CbmTrack::fStartTime
protectedinherited

◆ fStartTimeError

double CbmTrack::fStartTimeError
protectedinherited

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