Task to perform kalman tracking via genfit2.
More...
#include <PndGFRecoTask.h>
Task to perform kalman tracking via genfit2.
- Date
- 19.04.2022
- Author
- Tobias Stockmanns
Definition at line 61 of file PndGFRecoTask.h.
◆ PndGFRecoTask()
PndGFRecoTask::PndGFRecoTask |
( |
const char * |
name = "Genfit" , |
|
|
Int_t |
iVerbose = 0 |
|
) |
| |
◆ ~PndGFRecoTask()
PndGFRecoTask::~PndGFRecoTask |
( |
| ) |
|
◆ AddParticleHypo()
void PndGFRecoTask::AddParticleHypo |
( |
int |
pdgCode | ) |
|
Add a particle hypothesis used for fitting. If used more then once all hypothesis are used for one track (multiKalman).
- pdgCode code of particle hypothesis according to PDG definition. Sign is not important.
◆ DeleteOldTracks()
void PndGFRecoTask::DeleteOldTracks |
( |
| ) |
|
|
inlineprotected |
Definition at line 122 of file PndGFRecoTask.h.
124 for (
auto &track : fPidHypothesis) {
125 track.fArray->Delete();
◆ Exec()
virtual void PndGFRecoTask::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
◆ FinishTask()
virtual void PndGFRecoTask::FinishTask |
( |
| ) |
|
|
inlinevirtual |
◆ GetIdealPdgCode()
int PndGFRecoTask::GetIdealPdgCode |
( |
PndTrack * |
track | ) |
|
|
protected |
◆ Init()
virtual InitStatus PndGFRecoTask::Init |
( |
| ) |
|
|
virtual |
◆ SetFitter()
◆ SetMultiPID()
void PndGFRecoTask::SetMultiPID |
( |
| ) |
|
Adds a predefined set of particles as tracking hypothesis (e, mu, pi, K, p)
◆ SetNBusyCut()
void PndGFRecoTask::SetNBusyCut |
( |
int |
val | ) |
|
|
inline |
Cut to suppress events with too many tracks.
Definition at line 110 of file PndGFRecoTask.h.
◆ SetParContainers()
void PndGFRecoTask::SetParContainers |
( |
| ) |
|
◆ SetTrackInBranchName()
void PndGFRecoTask::SetTrackInBranchName |
( |
TString |
name | ) |
|
|
inline |
Set the name of the input branch Set the name of the input branch with the prefit PndTracks.
Definition at line 95 of file PndGFRecoTask.h.
95 { fInputBranchName = name; }
◆ SetTrackOutBranchName()
void PndGFRecoTask::SetTrackOutBranchName |
( |
TString |
name | ) |
|
|
inline |
Name of the output branch containing the fitted PndTracks.
Definition at line 100 of file PndGFRecoTask.h.
100 { fOutputBranchName = name; }
◆ UseEventDisplay()
void PndGFRecoTask::UseEventDisplay |
( |
bool |
val = true | ) |
|
|
inline |
◆ UseIdealPID()
void PndGFRecoTask::UseIdealPID |
( |
bool |
val = true , |
|
|
Int_t |
defaultPID = 211 |
|
) |
| |
|
inline |
Flag to use ideal PID from MC tracks instead of particle hypothesis.
- val switches ideal PID on or off
- defaultPID default particle hypothesis used if no proper ideal value can be determined
Definition at line 85 of file PndGFRecoTask.h.
88 fDefaultPID = defaultPID;
The documentation for this class was generated from the following file: