BOSS 7.0.1
BESIII Offline Software System
|
A class to fit a TTrackBase object to a helix. More...
#include <THelixFitter.h>
Public Member Functions | |
THelixFitter (const std::string &name) | |
Constructor. | |
virtual | ~THelixFitter () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
bool | fit2D (void) const |
sets/returns 2D flag. | |
bool | fit2D (bool) |
bool | freeT0 (void) const |
sets/returns free T0 flag. | |
bool | freeT0 (bool) |
unsigned | corrections (void) const |
sets/returns correctin flag. | |
unsigned | corrections (unsigned) |
bool | sag (void) const |
sets/returns sag correction flag. | |
bool | sag (bool) |
bool | propagation (void) const |
sets/returns propagation-delay correction flag. | |
bool | propagation (bool) |
bool | tof (void) const |
sets/returns propagation-delay correction flag. | |
bool | tof (bool) |
bool | tanl (void) const |
sets/returns tanLambda correction flag. | |
bool | tanl (bool) |
double | preChi2 (void) const |
returns sum of chi2 before fit. | |
double | chi2 (void) const |
returns sum of chi2 aftter fit. | |
IMagneticFieldSvc * | getMagneticFieldPointer (void) const |
int | fit (TTrackBase &) const |
int | fit (TTrackBase &, double *pre_chi2, double *fitted_chi2) const |
int | fit (TTrackBase &, float t0Offset, double *pre_chi2=NULL, double *fitted_chi2=NULL) const |
int | fit (TTrackBase &, float &tev, float &tev_err, double *pre_chi2=NULL, double *fitted_chi2=NULL) const |
THelixFitter (const std::string &name) | |
Constructor. | |
virtual | ~THelixFitter () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
bool | fit2D (void) const |
sets/returns 2D flag. | |
bool | fit2D (bool) |
bool | freeT0 (void) const |
sets/returns free T0 flag. | |
bool | freeT0 (bool) |
unsigned | corrections (void) const |
sets/returns correctin flag. | |
unsigned | corrections (unsigned) |
bool | sag (void) const |
sets/returns sag correction flag. | |
bool | sag (bool) |
bool | propagation (void) const |
sets/returns propagation-delay correction flag. | |
bool | propagation (bool) |
bool | tof (void) const |
sets/returns propagation-delay correction flag. | |
bool | tof (bool) |
bool | tanl (void) const |
sets/returns tanLambda correction flag. | |
bool | tanl (bool) |
double | preChi2 (void) const |
returns sum of chi2 before fit. | |
double | chi2 (void) const |
returns sum of chi2 aftter fit. | |
IMagneticFieldSvc * | getMagneticFieldPointer (void) const |
int | fit (TTrackBase &) const |
int | fit (TTrackBase &, double *pre_chi2, double *fitted_chi2) const |
int | fit (TTrackBase &, float t0Offset, double *pre_chi2=NULL, double *fitted_chi2=NULL) const |
int | fit (TTrackBase &, float &tev, float &tev_err, double *pre_chi2=NULL, double *fitted_chi2=NULL) const |
Public Member Functions inherited from TMFitter | |
TMFitter (const std::string &name) | |
Constructor. | |
virtual | ~TMFitter () |
Destructor. | |
const std::string & | name (void) const |
returns name. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
virtual int | fit (TTrackBase &) const =0 |
TMFitter (const std::string &name) | |
Constructor. | |
virtual | ~TMFitter () |
Destructor. | |
const std::string & | name (void) const |
returns name. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
virtual int | fit (TTrackBase &) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from TMFitter | |
void | fitDone (TTrackBase &) const |
sets the fitted flag. (Bad implementation) | |
void | fitDone (TTrackBase &) const |
sets the fitted flag. (Bad implementation) | |
A class to fit a TTrackBase object to a helix.
Definition at line 48 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
THelixFitter::THelixFitter | ( | const std::string & | name | ) |
Constructor.
Definition at line 122 of file THelixFitter.cxx.
|
virtual |
THelixFitter::THelixFitter | ( | const std::string & | name | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
returns sum of chi2 aftter fit.
Definition at line 305 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
double THelixFitter::chi2 | ( | void | ) | const |
returns sum of chi2 aftter fit.
|
inline |
Definition at line 293 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
unsigned THelixFitter::corrections | ( | unsigned | ) |
|
inline |
sets/returns correctin flag.
Definition at line 287 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
unsigned THelixFitter::corrections | ( | void | ) | const |
sets/returns correctin flag.
void THelixFitter::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
void THelixFitter::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
|
inlinevirtual |
Implements TMFitter.
Definition at line 231 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TBuilder::build(), TBuilder::buildRphi(), TBuilder::buildStereo(), TBuilderCurl::buildStereo(), TBuilderCurl::buildStereoMC(), TPerfectFinder::doit(), TTrackManager::mask(), TTrackManager::maskCurl(), TTrackManager::maskNormal(), TTrackManager::merge(), TTrackManager::refit(), and TBuilder::salvage().
|
virtual |
Implements TMFitter.
|
inline |
Definition at line 242 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
int THelixFitter::fit | ( | TTrackBase & | , |
double * | pre_chi2, | ||
double * | fitted_chi2 | ||
) | const |
|
inline |
Definition at line 267 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
int THelixFitter::fit | ( | TTrackBase & | , |
float & | tev, | ||
float & | tev_err, | ||
double * | pre_chi2 = NULL , |
||
double * | fitted_chi2 = NULL |
||
) | const |
|
inline |
Definition at line 254 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
int THelixFitter::fit | ( | TTrackBase & | , |
float | t0Offset, | ||
double * | pre_chi2 = NULL , |
||
double * | fitted_chi2 = NULL |
||
) | const |
Definition at line 175 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns 2D flag.
Definition at line 169 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TTrackManager::determineT0().
bool THelixFitter::fit2D | ( | void | ) | const |
sets/returns 2D flag.
Definition at line 281 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns free T0 flag.
Definition at line 275 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TTrackManager::fittingFlag(), and TBuilder::TBuilder().
bool THelixFitter::freeT0 | ( | void | ) | const |
sets/returns free T0 flag.
|
inline |
Definition at line 98 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TBuilder::build().
|
inline |
Definition at line 98 of file Reconstruction/TrkReco/TrkReco-00-08-59-patch4-slc6tag/TrkReco/THelixFitter.h.
|
inline |
returns sum of chi2 before fit.
Definition at line 299 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
double THelixFitter::preChi2 | ( | void | ) | const |
returns sum of chi2 before fit.
Definition at line 199 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns propagation-delay correction flag.
Definition at line 193 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TBuilderCurl::buildStereo(), TTrackManager::determineT0(), TTrackManager::fittingFlag(), propagation(), TBuilderCurl::setParam(), TBuilder::TBuilder(), and TBuilderCurl::TBuilderCurl().
bool THelixFitter::propagation | ( | void | ) | const |
sets/returns propagation-delay correction flag.
Definition at line 187 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns sag correction flag.
Definition at line 181 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TBuilderCurl::buildStereo(), TTrackManager::fittingFlag(), TBuilderCurl::setParam(), TBuilder::TBuilder(), and TBuilderCurl::TBuilderCurl().
bool THelixFitter::sag | ( | void | ) | const |
sets/returns sag correction flag.
Definition at line 225 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns tanLambda correction flag.
Definition at line 219 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
bool THelixFitter::tanl | ( | void | ) | const |
sets/returns tanLambda correction flag.
Definition at line 213 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
|
inline |
sets/returns propagation-delay correction flag.
Definition at line 207 of file InstallArea/include/TrkReco/TrkReco/THelixFitter.h.
Referenced by TBuilderCurl::buildStereo(), TTrackManager::determineT0(), TTrackManager::fittingFlag(), TBuilderCurl::setParam(), TBuilder::TBuilder(), and TBuilderCurl::TBuilderCurl().
bool THelixFitter::tof | ( | void | ) | const |
sets/returns propagation-delay correction flag.