Class to perform a kalman fit via genfit2 within PandaRoot.
More...
#include <PndGFRecoFit.h>
|
| PndGFRecoFit () |
|
virtual | ~PndGFRecoFit () |
|
void | Init () |
| Initialization of the fitter Has to be called in the Init() call of a task to initialize the TClonesArrays. More...
|
|
PndTrack * | Fit (PndTrack *prefit, int pdgcode) |
| Method to perform the fit of a track. More...
|
|
void | SetFitter (genfit::AbsKalmanFitter *fitter) |
| Set different genfit2 fitters If no external fitter is set a default fitter is generated. More...
|
|
void | SetPropagateToIP (bool val=true) |
| Toggle between initial propagation to primary vertex or to a given length The start values for the kalman fit are given at the first point of the track This can cause a problem for the propagation. Therefore the start parameters are propagated to a point before the start of the track. This switch selects if the propagation is done to the primary vertex or just by a given distance (SetPropagateDistance() ). More...
|
|
void | SetPropagateDistance (double val) |
| Sets the distance the initial parameters are propagated backward along the track. More...
|
|
void | UseEventDisplay () |
|
Class to perform a kalman fit via genfit2 within PandaRoot.
- Date
- 20.04.2022
- Author
- Tobias Stockmanns
Definition at line 21 of file PndGFRecoFit.h.
◆ PndGFRecoFit()
PndGFRecoFit::PndGFRecoFit |
( |
| ) |
|
◆ ~PndGFRecoFit()
virtual PndGFRecoFit::~PndGFRecoFit |
( |
| ) |
|
|
virtual |
◆ Fit()
Method to perform the fit of a track.
- Parameters
-
prefit | Track to be fitted including prefit values |
pdgcode | Particle hypothesis used for the tracking |
- Returns
- fitted track as PndTrack
◆ Init()
void PndGFRecoFit::Init |
( |
| ) |
|
Initialization of the fitter Has to be called in the Init() call of a task to initialize the TClonesArrays.
◆ SetDefaultFitter()
void PndGFRecoFit::SetDefaultFitter |
( |
| ) |
|
|
protected |
◆ SetFitter()
Set different genfit2 fitters If no external fitter is set a default fitter is generated.
- Parameters
-
Definition at line 45 of file PndGFRecoFit.h.
◆ SetPropagateDistance()
void PndGFRecoFit::SetPropagateDistance |
( |
double |
val | ) |
|
|
inline |
Sets the distance the initial parameters are propagated backward along the track.
Definition at line 59 of file PndGFRecoFit.h.
59 { fPropagateDistance = val; }
◆ SetPropagateToIP()
void PndGFRecoFit::SetPropagateToIP |
( |
bool |
val = true | ) |
|
|
inline |
Toggle between initial propagation to primary vertex or to a given length The start values for the kalman fit are given at the first point of the track This can cause a problem for the propagation. Therefore the start parameters are propagated to a point before the start of the track. This switch selects if the propagation is done to the primary vertex or just by a given distance (SetPropagateDistance() ).
Definition at line 54 of file PndGFRecoFit.h.
54 { fPropagateToIP = val; }
◆ UseEventDisplay()
void PndGFRecoFit::UseEventDisplay |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: