14 #include "FairLogger.h" 17 #include "TClonesArray.h" 24 class MeasurementFactory;
53 default: LOG(error) <<
"Wrong particle ID given: " << pdgvalue; LOG(error) <<
"Allowed values are: 11, 13, 211, 321, 2212";
64 PndGFRecoTask(
const char *name =
"Genfit", Int_t iVerbose = 0);
72 void AddParticleHypo(
int pdgCode);
88 fDefaultPID = defaultPID;
115 virtual InitStatus Init();
116 void SetParContainers();
117 virtual void Exec(Option_t *opt);
121 int GetIdealPdgCode(
PndTrack *track);
124 for (
auto &track : fPidHypothesis) {
125 track.fArray->Delete();
130 TClonesArray *fPrefitTrack =
nullptr;
131 TClonesArray *fMCTrack =
nullptr;
132 std::vector<PndGFPidHypo> fPidHypothesis;
133 TString fInputBranchName =
"";
134 TString fOutputBranchName =
"";
135 bool fIdealPID =
false;
136 bool fMultiPID =
true;
137 int fDefaultPID = 211;
138 TDatabasePDG *fPdg =
nullptr;
140 bool fUseEventDisplay =
false;
void UseIdealPID(bool val=true, Int_t defaultPID=211)
Flag to use ideal PID from MC tracks instead of particle hypothesis.
PndGFPidHypo(int pdgvalue)
Abstract base class for Kalman fitter and derived fitting algorithms.
Class to perform a kalman fit via genfit2 within PandaRoot.
void SetNBusyCut(int val)
Cut to suppress events with too many tracks.
virtual void FinishTask()
Task to perform kalman tracking via genfit2.
void SetTrackOutBranchName(TString name)
Name of the output branch containing the fitted PndTracks.
void SetTrackInBranchName(TString name)
Set the name of the input branch Set the name of the input branch with the prefit PndTracks...
void UseEventDisplay(bool val=true)