Base class for accessing PID track information.
More...
#include <PndPidTrackInfo.h>
Base class for accessing PID track information.
Through the function GetInfo() the track information is included in the PidCandidate.
- Author
- Sarah Gaiser gaise.nosp@m.r@hi.nosp@m.skp.u.nosp@m.ni-b.nosp@m.onn.d.nosp@m.e, HISKP Bonn
- Version
- 1.0
- Date
- Jan 2021
Definition at line 26 of file PndPidTrackInfo.h.
◆ PndPidTrackInfo()
PndPidTrackInfo::PndPidTrackInfo |
( |
| ) |
|
◆ ~PndPidTrackInfo()
virtual PndPidTrackInfo::~PndPidTrackInfo |
( |
| ) |
|
|
virtual |
◆ ClassDef()
◆ GetInfo()
Bool_t PndPidTrackInfo::GetInfo |
( |
Int_t |
track_index, |
|
|
PndPidCandidate * |
pidCand |
|
) |
| |
Include track information in PidCandidate.
- Parameters
-
track_index | Index of track in TCA. |
pidCand | PidCandidate belonging to track. |
- Returns
- kTRUE if successful.
Referenced by Register().
◆ GetMcTrack()
PndMCTrack* PndPidTrackInfo::GetMcTrack |
( |
Int_t |
index | ) |
|
Get track from MC track TClonesArrays.
- Parameters
-
index | Index of track in TCA. |
- Returns
- The track at "index" in TCA.
Referenced by Register().
◆ GetNTracks()
Int_t PndPidTrackInfo::GetNTracks |
( |
| ) |
|
Get number of tracks in barrel or forward detector.
Depending on the flag fIsBarrel either the number of tracks in the barrel detector (kTRUE) or in the forward detector (kFALSE) is returned.
- Returns
- Number of tracks.
Referenced by Register().
◆ GetNTracksTotal()
Int_t PndPidTrackInfo::GetNTracksTotal |
( |
| ) |
|
|
inline |
◆ GetTrack()
PndTrack* PndPidTrackInfo::GetTrack |
( |
Int_t |
index | ) |
|
Get track from barrel or foward track TClonesArrays.
Depending on the flag fIsBarrel either the track at "index" in the barrel detector (kTRUE) or in the forward detector (kFALSE) is returned.
- Parameters
-
index | Index of track in TCA. |
- Returns
- The track at "index" in TCA.
Referenced by Register().
◆ Register()
virtual void PndPidTrackInfo::Register |
( |
| ) |
|
|
inlinevirtual |
◆ SetBackPropagate()
void PndPidTrackInfo::SetBackPropagate |
( |
Bool_t |
back_propagate | ) |
|
|
inline |
◆ SetIsBarrel()
void PndPidTrackInfo::SetIsBarrel |
( |
Bool_t |
is_barrel | ) |
|
|
inline |
◆ SetMcTrack()
Bool_t PndPidTrackInfo::SetMcTrack |
( |
FairRootManager * |
manager | ) |
|
Set McTrack TClonesArray.
- Parameters
-
manager | Needed to get MC track TCA of event. |
- Returns
- kTRUE if TCA set successfully.
Referenced by Register().
◆ SetPidHypo()
void PndPidTrackInfo::SetPidHypo |
( |
Int_t |
pid_hyp | ) |
|
|
inline |
◆ SetPropagator()
void PndPidTrackInfo::SetPropagator |
( |
PndPropagator * |
propagator | ) |
|
|
inline |
◆ SetTrackArrays()
Bool_t PndPidTrackInfo::SetTrackArrays |
( |
FairRootManager * |
manager | ) |
|
◆ SetTrackBranchBarrel()
void PndPidTrackInfo::SetTrackBranchBarrel |
( |
TString |
track_branch | ) |
|
|
inline |
◆ SetTrackBranchForward()
void PndPidTrackInfo::SetTrackBranchForward |
( |
TString |
track_branch | ) |
|
|
inline |
◆ SetUsePropagator()
void PndPidTrackInfo::SetUsePropagator |
( |
Bool_t |
use_propagator | ) |
|
|
inline |
◆ SetVerbose()
void PndPidTrackInfo::SetVerbose |
( |
Int_t |
verbose | ) |
|
|
inline |
◆ fBackPropagate
Bool_t PndPidTrackInfo::fBackPropagate = kFALSE |
|
protected |
◆ fIsBarrel
Bool_t PndPidTrackInfo::fIsBarrel = kTRUE |
|
protected |
◆ fMcTrack
TClonesArray* PndPidTrackInfo::fMcTrack = nullptr |
|
protected |
◆ fPidHyp
Int_t PndPidTrackInfo::fPidHyp = 0 |
|
protected |
◆ fPropagator
◆ fTrackBarrel
TClonesArray* PndPidTrackInfo::fTrackBarrel = nullptr |
|
protected |
◆ fTrackBranchBarrel
TString PndPidTrackInfo::fTrackBranchBarrel = "" |
|
protected |
◆ fTrackBranchForward
TString PndPidTrackInfo::fTrackBranchForward = "" |
|
protected |
◆ fTrackForward
TClonesArray* PndPidTrackInfo::fTrackForward = nullptr |
|
protected |
◆ fUsePropagator
Bool_t PndPidTrackInfo::fUsePropagator = kFALSE |
|
protected |
◆ fVerbose
Int_t PndPidTrackInfo::fVerbose = 0 |
|
protected |
The documentation for this class was generated from the following file: