CbmRoot
CbmTofTrack Class Reference

Provides information on attaching a TofHit to a GlobalTrack. More...

#include <CbmTofTrack.h>

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

Public Member Functions

 CbmTofTrack ()
 
 CbmTofTrack (Int_t trackIndex, Int_t hitIndex, Double_t trackLength, Float_t mass, const FairTrackParam &trackPar, Int_t pidHypo)
 
virtual ~CbmTofTrack ()
 
Int_t GetPidHypo () const
 
Float_t GetMass () const
 
Int_t GetTofHitIndex () const
 
Double_t GetTrackDx () const
 
Double_t GetTrackDy () const
 
Int_t GetTrackIndex () const
 
Double_t GetTrackLength () const
 
const FairTrackParam * GetTrackParameter () const
 
Double_t GetTrackX () const
 
Double_t GetTrackY () const
 
Double_t GetDistance () const
 
void SetTrackIndex (Int_t trackIndex)
 
void SetTofHitIndex (Int_t tofHitIndex)
 
void SetTrackParameter (const FairTrackParam *par)
 
void SetTrackLength (Double32_t trackLength)
 
void SetPidHypo (Int_t pid)
 
void SetMass (Float_t mass)
 
void SetDistance (Double_t distance)
 

Private Member Functions

 ClassDef (CbmTofTrack, 1)
 

Private Attributes

Int_t fGlbTrack
 Index of global track. More...
 
Int_t fTofHit
 Index of TofHit. More...
 
Double32_t fTrackLength
 Track length from primary vertex to TOF [cm]. More...
 
FairTrackParam fTrackPar
 Track parameters at z of TofHit. More...
 
Int_t fPidHypo
 PID hypothesis used for track extrapolation. More...
 
Float_t fMass
 Mass from Tof. More...
 
Double32_t fDistance
 Normalized distance from hit to track. More...
 

Detailed Description

Provides information on attaching a TofHit to a GlobalTrack.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

Definition at line 20 of file CbmTofTrack.h.

Constructor & Destructor Documentation

◆ CbmTofTrack() [1/2]

CbmTofTrack::CbmTofTrack ( )

Constructor

Definition at line 11 of file CbmTofTrack.cxx.

◆ CbmTofTrack() [2/2]

CbmTofTrack::CbmTofTrack ( Int_t  trackIndex,
Int_t  hitIndex,
Double_t  trackLength,
Float_t  mass,
const FairTrackParam &  trackPar,
Int_t  pidHypo 
)
inline

Constructor with parameters

Parameters
trackIndexArray index of global track
hitIndexArray index of TOF hit
trackLengthTrack length from primary vertex to TOF
trackParParameters of track at TOF
pidHypoPID hypothesis for track extrapolation

Definition at line 35 of file CbmTofTrack.h.

◆ ~CbmTofTrack()

CbmTofTrack::~CbmTofTrack ( )
virtual

Destructor

Definition at line 21 of file CbmTofTrack.cxx.

Member Function Documentation

◆ ClassDef()

CbmTofTrack::ClassDef ( CbmTofTrack  ,
 
)
private

◆ GetDistance()

Double_t CbmTofTrack::GetDistance ( ) const
inline

Normalized distance from hit to track

Definition at line 89 of file CbmTofTrack.h.

References fDistance.

Referenced by CbmHadronAnalysis::ExecEvent(), and CbmLitTofQa::ProcessTofTracks().

◆ GetMass()

Float_t CbmTofTrack::GetMass ( ) const
inline

mass hypothesis from TOF

Definition at line 58 of file CbmTofTrack.h.

References fMass.

Referenced by CbmHadronAnalysis::ExecEvent().

◆ GetPidHypo()

Int_t CbmTofTrack::GetPidHypo ( ) const
inline

PID hypothesis for track extrapolation to TOF

Definition at line 55 of file CbmTofTrack.h.

References fPidHypo.

◆ GetTofHitIndex()

Int_t CbmTofTrack::GetTofHitIndex ( ) const
inline

Index of TOF hit

Definition at line 61 of file CbmTofTrack.h.

References fTofHit.

Referenced by CbmLitFindGlobalTracks::CalculateLength(), CbmHadronAnalysis::ExecEvent(), and CbmLitTofQa::ProcessTofTracks().

◆ GetTrackDx()

Double_t CbmTofTrack::GetTrackDx ( ) const
inline

Error of track x coordinate at TOF

Definition at line 64 of file CbmTofTrack.h.

References fTrackPar.

◆ GetTrackDy()

Double_t CbmTofTrack::GetTrackDy ( ) const
inline

Error of track x coordinate at TOF

Definition at line 69 of file CbmTofTrack.h.

References fTrackPar.

◆ GetTrackIndex()

Int_t CbmTofTrack::GetTrackIndex ( ) const
inline

Index of global track

Definition at line 74 of file CbmTofTrack.h.

References fGlbTrack.

Referenced by CbmLitFindGlobalTracks::CalculateLength(), CbmHadronAnalysis::ExecEvent(), and CbmLitTofQa::ProcessTofTracks().

◆ GetTrackLength()

Double_t CbmTofTrack::GetTrackLength ( ) const
inline

Track length from primary vertex to TOF

Definition at line 77 of file CbmTofTrack.h.

References fTrackLength.

Referenced by CbmHadronAnalysis::ExecEvent(), and CbmLitTofQa::ProcessTofTracks().

◆ GetTrackParameter()

const FairTrackParam* CbmTofTrack::GetTrackParameter ( ) const
inline

Track parameters at TOF

Definition at line 80 of file CbmTofTrack.h.

References fTrackPar.

Referenced by CbmHadronAnalysis::ExecEvent(), and CbmLitTofQa::ProcessTofTracks().

◆ GetTrackX()

Double_t CbmTofTrack::GetTrackX ( ) const
inline

Track x position at TOF

Definition at line 83 of file CbmTofTrack.h.

References fTrackPar.

◆ GetTrackY()

Double_t CbmTofTrack::GetTrackY ( ) const
inline

Track y position at TOF

Definition at line 86 of file CbmTofTrack.h.

References fTrackPar.

◆ SetDistance()

void CbmTofTrack::SetDistance ( Double_t  distance)
inline

Set normalized distance from hit to track

Definition at line 110 of file CbmTofTrack.h.

References fDistance.

Referenced by CbmLitConverter::LitTrackVectorToGlobalTrackArray().

◆ SetMass()

void CbmTofTrack::SetMass ( Float_t  mass)
inline

Set mass from TOF

Definition at line 107 of file CbmTofTrack.h.

References fMass.

Referenced by CbmHadronAnalysis::ExecEvent().

◆ SetPidHypo()

void CbmTofTrack::SetPidHypo ( Int_t  pid)
inline

Set PID hypothesis for track extrapolation to TOF

Definition at line 104 of file CbmTofTrack.h.

References fPidHypo.

◆ SetTofHitIndex()

void CbmTofTrack::SetTofHitIndex ( Int_t  tofHitIndex)
inline

Set TOF hit index

Definition at line 95 of file CbmTofTrack.h.

References fTofHit.

Referenced by CbmL1GlobalTrackFinder::CreateGlobalTrackArray(), and CbmLitConverter::LitTrackVectorToGlobalTrackArray().

◆ SetTrackIndex()

void CbmTofTrack::SetTrackIndex ( Int_t  trackIndex)
inline

Set track index

Definition at line 92 of file CbmTofTrack.h.

References fGlbTrack.

Referenced by CbmL1GlobalTrackFinder::CreateGlobalTrackArray(), and CbmLitConverter::LitTrackVectorToGlobalTrackArray().

◆ SetTrackLength()

void CbmTofTrack::SetTrackLength ( Double32_t  trackLength)
inline

Set track length

Definition at line 101 of file CbmTofTrack.h.

References fTrackLength.

Referenced by CbmLitFindGlobalTracks::CalculateLength().

◆ SetTrackParameter()

void CbmTofTrack::SetTrackParameter ( const FairTrackParam *  par)
inline

Set track parameter

Definition at line 98 of file CbmTofTrack.h.

References fTrackPar.

Referenced by CbmLitConverter::LitTrackVectorToGlobalTrackArray().

Member Data Documentation

◆ fDistance

Double32_t CbmTofTrack::fDistance
private

Normalized distance from hit to track.

Definition at line 119 of file CbmTofTrack.h.

Referenced by GetDistance(), and SetDistance().

◆ fGlbTrack

Int_t CbmTofTrack::fGlbTrack
private

Index of global track.

Definition at line 113 of file CbmTofTrack.h.

Referenced by GetTrackIndex(), and SetTrackIndex().

◆ fMass

Float_t CbmTofTrack::fMass
private

Mass from Tof.

Definition at line 118 of file CbmTofTrack.h.

Referenced by GetMass(), and SetMass().

◆ fPidHypo

Int_t CbmTofTrack::fPidHypo
private

PID hypothesis used for track extrapolation.

Definition at line 117 of file CbmTofTrack.h.

Referenced by GetPidHypo(), and SetPidHypo().

◆ fTofHit

Int_t CbmTofTrack::fTofHit
private

Index of TofHit.

Definition at line 114 of file CbmTofTrack.h.

Referenced by GetTofHitIndex(), and SetTofHitIndex().

◆ fTrackLength

Double32_t CbmTofTrack::fTrackLength
private

Track length from primary vertex to TOF [cm].

Definition at line 115 of file CbmTofTrack.h.

Referenced by GetTrackLength(), and SetTrackLength().

◆ fTrackPar

FairTrackParam CbmTofTrack::fTrackPar
private

Track parameters at z of TofHit.

Definition at line 116 of file CbmTofTrack.h.

Referenced by GetTrackDx(), GetTrackDy(), GetTrackParameter(), GetTrackX(), GetTrackY(), and SetTrackParameter().


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