![]() |
PandaRoot
|
Class for combining all PID track information. More...
#include <PndPidTrackingSystemInfo.h>
Public Member Functions | |
| PndPidTrackingSystemInfo (Bool_t use_default_setup=kTRUE) | |
| Default constructor. More... | |
| virtual | ~PndPidTrackingSystemInfo () |
| Default destructor. More... | |
| void | SetDetectors (std::vector< PndPidTrackingDetectorInfo *> detectors) |
| void | AddDetector (PndPidTrackingDetectorInfo *detector_info) |
| std::vector< PndPidTrackingDetectorInfo * > | GetDetectors () |
| void | Reset () |
| Call Reset() of PndTrackingDetectorInfo classes. More... | |
| void | SetPidHypo (Int_t pid_hyp) |
| Set fPidHyp and call SetPidHypo() of PndTrackingDetectorInfo classes. More... | |
| void | SetPropagator (PndPropagator *propagator) |
| Set fPropagator and call SetPropagator() of PndTrackingDetectorInfo classes. More... | |
| void | SetParContainers (FairRuntimeDb *db) |
| Call SetParContainers() of PndTrackingDetectorInfo classes. More... | |
| Bool_t | Setup (FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params) |
| Setup tracking info and tracking detector info. More... | |
| Bool_t | GetCompleteTrackingSystemInfo (Int_t track_index, PndPidCandidate *pidCand) |
| Include track and tracking detector information in PidCandidate. More... | |
Public Member Functions inherited from PndPidTrackInfo | |
| PndPidTrackInfo () | |
| Default constructor. More... | |
| virtual | ~PndPidTrackInfo () |
| Default destructor. More... | |
| void | SetUsePropagator (Bool_t use_propagator) |
| void | SetPropagator (PndPropagator *propagator) |
| void | SetPidHypo (Int_t pid_hyp) |
| void | SetVerbose (Int_t verbose) |
| void | SetBackPropagate (Bool_t back_propagate) |
| void | SetTrackBranchBarrel (TString track_branch) |
| void | SetTrackBranchForward (TString track_branch) |
| void | SetIsBarrel (Bool_t is_barrel) |
| Int_t | GetNTracksTotal () |
| virtual void | Register () |
| Bool_t | SetMcTrack (FairRootManager *manager) |
| Set McTrack TClonesArray. More... | |
| Bool_t | GetInfo (Int_t track_index, PndPidCandidate *pidCand) |
| Include track information in PidCandidate. More... | |
| Int_t | GetNTracks () |
| Get number of tracks in barrel or forward detector. More... | |
| PndTrack * | GetTrack (Int_t index) |
| Get track from barrel or foward track TClonesArrays. More... | |
| PndMCTrack * | GetMcTrack (Int_t index) |
| Get track from MC track TClonesArrays. More... | |
| Bool_t | SetTrackArrays (FairRootManager *manager) |
Protected Member Functions | |
| ClassDef (PndPidTrackingSystemInfo, 1) | |
Protected Member Functions inherited from PndPidTrackInfo | |
| ClassDef (PndPidTrackInfo, 1) | |
Protected Attributes | |
| Bool_t | fUseDefaultSetup |
| std::vector< PndPidTrackingDetectorInfo * > | fDetectors = {} |
Protected Attributes inherited from PndPidTrackInfo | |
| Bool_t | fUsePropagator = kFALSE |
| kTRUE to use propagator like PndGeanePro. More... | |
| PndPropagator * | fPropagator = nullptr |
| The propagator. More... | |
| Int_t | fPidHyp = 0 |
| Particle Id hypothesis (pdg particle code) More... | |
| Int_t | fVerbose = 0 |
| Verbosity level. More... | |
| TString | fTrackBranchBarrel = "" |
| TString | fTrackBranchForward = "" |
| TClonesArray * | fTrackBarrel = nullptr |
| TClonesArray * | fTrackForward = nullptr |
| TClonesArray * | fMcTrack = nullptr |
| Bool_t | fBackPropagate = kFALSE |
| Bool_t | fIsBarrel = kTRUE |
Class for combining all PID track information.
Through the function GetCompleteTrackingSystemInfo() the track information is included in the PidCandidate.
Definition at line 25 of file PndPidTrackingSystemInfo.h.
| PndPidTrackingSystemInfo::PndPidTrackingSystemInfo | ( | Bool_t | use_default_setup = kTRUE | ) |
Default constructor.
|
virtual |
Default destructor.
|
inline |
Definition at line 40 of file PndPidTrackingSystemInfo.h.
References fDetectors.
|
protected |
| Bool_t PndPidTrackingSystemInfo::GetCompleteTrackingSystemInfo | ( | Int_t | track_index, |
| PndPidCandidate * | pidCand | ||
| ) |
Include track and tracking detector information in PidCandidate.
| track_index | Index of track in TCA. |
| pidCand | PidCandidate belonging to track. |
Referenced by GetDetectors().
|
inline |
Definition at line 43 of file PndPidTrackingSystemInfo.h.
References fDetectors, GetCompleteTrackingSystemInfo(), Reset(), SetParContainers(), SetPidHypo(), SetPropagator(), and Setup().
| void PndPidTrackingSystemInfo::Reset | ( | ) |
Call Reset() of PndTrackingDetectorInfo classes.
Referenced by GetDetectors().
|
inline |
Definition at line 37 of file PndPidTrackingSystemInfo.h.
References fDetectors.
| void PndPidTrackingSystemInfo::SetParContainers | ( | FairRuntimeDb * | db | ) |
Call SetParContainers() of PndTrackingDetectorInfo classes.
| db | Runtime data base. |
Referenced by GetDetectors().
| void PndPidTrackingSystemInfo::SetPidHypo | ( | Int_t | pid_hyp | ) |
Set fPidHyp and call SetPidHypo() of PndTrackingDetectorInfo classes.
| pid_hyp | Particle Id hypothesis (pdg particle code). |
Referenced by GetDetectors().
| void PndPidTrackingSystemInfo::SetPropagator | ( | PndPropagator * | propagator | ) |
Set fPropagator and call SetPropagator() of PndTrackingDetectorInfo classes.
| propagator | The propagator. |
Referenced by GetDetectors().
| Bool_t PndPidTrackingSystemInfo::Setup | ( | FairRootManager * | manager, |
| PndPropagator * | propagator, | ||
| PndPidDetectorParams::DetectorParams * | params | ||
| ) |
Setup tracking info and tracking detector info.
| manager | Needed to get all relevant TCAs of event. |
| propagator | Propagator to be used in track-hit correlation. |
| params | Set of detector and track parameters that is passed from PndPidCorrelator. |
Referenced by GetDetectors().
|
protected |
Definition at line 87 of file PndPidTrackingSystemInfo.h.
Referenced by AddDetector(), GetDetectors(), and SetDetectors().
|
protected |
Definition at line 86 of file PndPidTrackingSystemInfo.h.