26 #include "FairLogger.h" 29 #include "TClonesArray.h" 36 class MeasurementFactory;
65 default: LOG(error) <<
"Wrong particle ID given: " << pdgvalue; LOG(error) <<
"Allowed values are: 11, 13, 211, 321, 2212";
76 PndGFRecoTask(
const char *name =
"Genfit", Int_t iVerbose = 0);
84 void AddParticleHypo(
int pdgCode);
100 fDefaultPID = defaultPID;
127 virtual InitStatus Init();
128 void SetParContainers();
129 virtual void Exec(Option_t *opt);
133 int GetIdealPdgCode(
PndTrack *track);
136 for (
auto &track : fPidHypothesis) {
137 track.fArray->Delete();
142 TClonesArray *fPrefitTrack =
nullptr;
143 TClonesArray *fMCTrack =
nullptr;
144 std::vector<PndGFPidHypo> fPidHypothesis;
145 TString fInputBranchName =
"";
146 TString fOutputBranchName =
"";
147 bool fIdealPID =
false;
148 bool fMultiPID =
true;
149 int fDefaultPID = 211;
150 TDatabasePDG *fPdg =
nullptr;
152 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)