![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/PHGenFitPkg/PHGenFit/Fitter.h>
Collaboration diagram for PHGenFit::Fitter: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, _tgeo_manager, genfit::MaterialEffects::getInstance(), genfit::EventDisplay::getInstance(), genfit::FieldManager::getInstance(), genfit::MaterialEffects::init(), genfit::FieldManager::init(), and genfit::Exception::quiet().
Referenced by getInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 |
||
| ) |
Definition at line 235 of file Fitter.cc.
View newest version in sPHENIX GitHub at line 235 of file Fitter.cc
References _display, _doEventDisplay, _fitter, genfit::MaterialEffects::getInstance(), genfit::EventDisplay::getInstance(), genfit::FieldManager::getInstance(), genfit::MaterialEffects::init(), genfit::FieldManager::init(), and LogERROR.
Here is the call graph for this function:| 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, genfit::MaterialEffects::getInstance(), genfit::EventDisplay::getInstance(), genfit::FieldManager::getInstance(), genfit::MaterialEffects::init(), genfit::FieldManager::init(), KalmanFitter, KalmanFitterRefTrack, and LogERROR.
Here is the call graph for this function:| 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, genfit::EventDisplay::open(), and verbosity.
Referenced by PHG4TrackFastSim::DisplayEvent(), B0TrackFastSim::DisplayEvent(), PHG4TrackFastSim::End(), and B0TrackFastSim::End().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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, genfit::EventDisplay::addEvent(), genfit::Track::checkConsistency(), Acts::UnitConstants::e, genfit::Track::getCardinalRep(), genfit::Track::getFitStatus(), PHGenFit::Track::getGenFitTrack(), genfit::FitStatus::isFitConverged(), LogWARNING, genfit::AbsFitter::processTrack(), verbosity, and genfit::Exception::what().
Referenced by main(), PHG4TrackFastSim::process_event(), and B0TrackFastSim::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 102 of file Fitter.h.
View newest version in sPHENIX GitHub at line 102 of file Fitter.h
References _display, _doEventDisplay, and genfit::EventDisplay::getInstance().
Here is the call graph for this function:
|
inline |
Definition at line 119 of file Fitter.h.
View newest version in sPHENIX GitHub at line 119 of file Fitter.h
References genfit::Exception::quiet(), and verbosity.
Referenced by PHGenFitTrackProjection::InitRun(), PHRaveVertexing::InitRun(), PHG4TrackFastSim::InitRun(), and B0TrackFastSim::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().