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

#include <CbmMuchTrack.h>

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

Public Member Functions

 CbmMuchTrack ()
 
virtual ~CbmMuchTrack ()
 
void AddMuchHit (int32_t hitIndex)
 
 ClassDef (CbmMuchTrack, 3)
 
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}
 

Detailed Description

CbmMuchTrack.h

Author
A.Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Since
2007

Base class for local tracks in the MUCH detector. Derives from CbmTrack.

Definition at line 20 of file CbmMuchTrack.h.

Constructor & Destructor Documentation

◆ CbmMuchTrack()

CbmMuchTrack::CbmMuchTrack ( )

Default constructor

CbmMuchTrack.h

Author
A.Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Since
2007

Definition at line 11 of file CbmMuchTrack.cxx.

◆ ~CbmMuchTrack()

CbmMuchTrack::~CbmMuchTrack ( )
virtual

Destructor

Definition at line 13 of file CbmMuchTrack.cxx.

Member Function Documentation

◆ AddHit()

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

◆ AddMuchHit()

void CbmMuchTrack::AddMuchHit ( int32_t hitIndex)
inline

Associate a MuchPixelHit to the track

Parameters
hitIndexIndex of the Much hit in TClonesArray

Definition at line 32 of file CbmMuchTrack.h.

References CbmTrack::AddHit(), and kMUCHPIXELHIT.

◆ ClassDef() [1/2]

CbmMuchTrack::ClassDef ( CbmMuchTrack ,
3  )

◆ ClassDef() [2/2]

CbmTrack::ClassDef ( CbmTrack ,
6  )
protectedinherited

◆ GetChiSq()

◆ GetChiSqTime()

double CbmTrack::GetChiSqTime ( ) const
inlineinherited

Definition at line 65 of file CbmTrack.h.

References CbmTrack::fChiSqTime.

◆ 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()

◆ GetPidHypo()

◆ 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().

◆ 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]

◆ SetPidHypo()

void CbmTrack::SetPidHypo ( int32_t pid)
inlineinherited

◆ 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().

◆ 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

◆ 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().

◆ 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: