ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/PHGenFitPkg/PHGenFit/Fitter.h>
Public Types | |
enum | FitterType { KalmanFitter, KalmanFitterRefTrack, DafSimple, DafRef } |
enum | TrackRepType { RKTrackRep } |
Public Member Functions | |
Fitter (const std::string &tgeo_file_name, const PHField *field, const std::string &fitter_choice="KalmanFitterRefTrack", const std::string &track_rep_choice="RKTrackRep", const bool doEventDisplay=false) | |
Default constructor. | |
Fitter (TGeoManager *tgeo_manager, genfit::AbsBField *fieldMap, const std::string &fitter_choice="KalmanFitterRefTrack", const std::string &track_rep_choice="RKTrackRep", const bool doEventDisplay=false) | |
Fitter (TGeoManager *tgeo_manager, genfit::AbsBField *fieldMap, const PHGenFit::Fitter::FitterType &fitter_choice=PHGenFit::Fitter::KalmanFitter, const PHGenFit::Fitter::TrackRepType &track_rep_choice=PHGenFit::Fitter::RKTrackRep, const bool doEventDisplay=false) | |
~Fitter () | |
Default destructor. | |
int | processTrack (PHGenFit::Track *track, const bool save_to_evt_disp=false) |
int | displayEvent () |
bool | is_do_Event_Display () const |
void | set_do_Event_Display (bool doEventDisplay) |
genfit::EventDisplay * | getEventDisplay () |
int | get_verbosity () const |
void | set_verbosity (int verbosity) |
Static Public Member Functions | |
static Fitter * | getInstance (const std::string &tgeo_file_name, const PHField *field, const std::string &fitter_choice="KalmanFitterRefTrack", const std::string &track_rep_choice="RKTrackRep", const bool doEventDisplay=false) |
static Fitter * | getInstance (TGeoManager *tgeo_manager, const PHField *field, const std::string &fitter_choice="KalmanFitterRefTrack", const std::string &track_rep_choice="RKTrackRep", const bool doEventDisplay=false) |
static Fitter * | getInstance (TGeoManager *tgeo_manager, const PHField *field, const PHGenFit::Fitter::FitterType &fitter_choice=PHGenFit::Fitter::KalmanFitter, const PHGenFit::Fitter::TrackRepType &track_rep_choice=PHGenFit::Fitter::RKTrackRep, const bool doEventDisplay=false) |
Private Attributes | |
int | verbosity |
TGeoManager * | _tgeo_manager |
bool | _doEventDisplay |
genfit::EventDisplay * | _display |
genfit::AbsKalmanFitter * | _fitter |
Definition at line 38 of file Fitter.h.
View newest version in sPHENIX GitHub at line 38 of file Fitter.h
PHGenFit::Fitter::Fitter | ( | const std::string & | tgeo_file_name, |
const PHField * | field, | ||
const std::string & | fitter_choice = "KalmanFitterRefTrack" , |
||
const std::string & | track_rep_choice = "RKTrackRep" , |
||
const bool | doEventDisplay = false |
||
) |
Default constructor.
Definition at line 44 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 44 of file Fitter.cc
References _display, _doEventDisplay, _fitter, and _tgeo_manager.
Referenced by getInstance().
PHGenFit::Fitter::Fitter | ( | TGeoManager * | tgeo_manager, |
genfit::AbsBField * | fieldMap, | ||
const std::string & | fitter_choice = "KalmanFitterRefTrack" , |
||
const std::string & | track_rep_choice = "RKTrackRep" , |
||
const bool | doEventDisplay = false |
||
) |
PHGenFit::Fitter::Fitter | ( | TGeoManager * | tgeo_manager, |
genfit::AbsBField * | fieldMap, | ||
const PHGenFit::Fitter::FitterType & | fitter_choice = PHGenFit::Fitter::KalmanFitter , |
||
const PHGenFit::Fitter::TrackRepType & | track_rep_choice = PHGenFit::Fitter::RKTrackRep , |
||
const bool | doEventDisplay = false |
||
) |
Definition at line 184 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 184 of file Fitter.cc
References _display, _doEventDisplay, _fitter, DafRef, DafSimple, KalmanFitter, KalmanFitterRefTrack, and LogERROR.
PHGenFit::Fitter::~Fitter | ( | ) |
int PHGenFit::Fitter::displayEvent | ( | ) |
Definition at line 269 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 269 of file Fitter.cc
References _display, LogERROR, and verbosity.
Referenced by PHG4TrackFastSim::DisplayEvent(), B0TrackFastSim::DisplayEvent(), PHG4TrackFastSim::End(), and B0TrackFastSim::End().
|
inline |
|
inline |
Definition at line 109 of file Fitter.h.
View newest version in sPHENIX GitHub at line 109 of file Fitter.h
References _display.
Referenced by PHG4TrackFastSim::process_event(), and B0TrackFastSim::process_event().
|
static |
Definition at line 167 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 167 of file Fitter.cc
References Fitter(), and LogERROR.
Referenced by PHGenFitTrkProp::InitializePHGenFit(), PHGenFitTrackProjection::InitRun(), PHRaveVertexing::InitRun(), PHG4TrackFastSim::InitRun(), B0TrackFastSim::InitRun(), and PHGenFitTrkFitter::InitRun().
|
static |
|
inline |
Definition at line 97 of file Fitter.h.
View newest version in sPHENIX GitHub at line 97 of file Fitter.h
References _doEventDisplay.
int PHGenFit::Fitter::processTrack | ( | PHGenFit::Track * | track, |
const bool | save_to_evt_disp = false |
||
) |
Definition at line 93 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 93 of file Fitter.cc
References _display, _fitter, e, PHGenFit::Track::getGenFitTrack(), LogWARNING, and verbosity.
Referenced by main(), PHG4TrackFastSim::process_event(), and B0TrackFastSim::process_event().
|
inline |
Definition at line 119 of file Fitter.h.
View newest version in sPHENIX GitHub at line 119 of file Fitter.h
References verbosity.
Referenced by PHGenFitTrackProjection::InitRun(), PHRaveVertexing::InitRun(), PHG4TrackFastSim::InitRun(), and B0TrackFastSim::InitRun().
|
private |
Definition at line 143 of file Fitter.h.
View newest version in sPHENIX GitHub at line 143 of file Fitter.h
Referenced by displayEvent(), Fitter(), getEventDisplay(), processTrack(), set_do_Event_Display(), and ~Fitter().
|
private |
Definition at line 141 of file Fitter.h.
View newest version in sPHENIX GitHub at line 141 of file Fitter.h
Referenced by Fitter(), is_do_Event_Display(), and set_do_Event_Display().
|
private |
|
private |
|
private |
Verbose control: -1: Silient 0: Minimum 1: Errors only 2: Errors and Warnings 3: Verbose mode, long term debugging
Definition at line 137 of file Fitter.h.
View newest version in sPHENIX GitHub at line 137 of file Fitter.h
Referenced by displayEvent(), get_verbosity(), processTrack(), and set_verbosity().