Belle II Software
release-08-01-10
|
track fitting procedure More...
#include <BKLMTrackFitter.h>
Public Member Functions | |
BKLMTrackFitter () | |
Default constructor. More... | |
~BKLMTrackFitter () | |
Destructor. | |
double | fit (std::list< KLMHit2d * > &listTrackPoint) |
do fit and returns chi square of the fit. | |
double | distanceToHit (KLMHit2d *hit, double &error, double &sigma) |
Distance from track to a hit in the plane of the module. | |
double | globalDistanceToHit (KLMHit2d *hit, double &error, double &sigma) |
Distance from track to a hit in the global system. More... | |
double | fit1dSectorTrack (std::list< KLMHit2d * > hitList, CLHEP::HepVector &eta, CLHEP::HepSymMatrix &error, int depDir, int indDir) |
do fit in the y-x plane or z-x plane | |
double | fit1dTrack (std::list< KLMHit2d * > hitList, CLHEP::HepVector &eta, CLHEP::HepSymMatrix &error, int depDir, int indDir) |
do fit in the global system More... | |
CLHEP::HepVector | getTrackParam () |
Get track parameters in the global system. y = p0 + p1 * x; y = p2 + p3 * z, if in local sector fit mode: y = p0 + p1 * x; z = p2 + p3 * x. | |
CLHEP::HepSymMatrix | getTrackParamErr () |
Get invariance matrix of track parameters in the global system. | |
CLHEP::HepVector | getTrackParamSector () |
Get track parameters in the sector locan system, y = p0 + p1 * x, z = p2 + p3 *x, where the first layer of the sector is used as reference. | |
CLHEP::HepSymMatrix | getTrackParamSectorErr () |
Get invariance matrix of track parameters in the sector local system, where the first layer of the sector is used as reference. | |
bool | isValid () |
Is fit valid. | |
bool | isGood () |
Is fit good. | |
float | getChi2 () |
Chi square of the fit. | |
int | getNumHit () |
number of the hits on this track | |
void | inValidate () |
Invalidate track. | |
void | setGlobalFit (bool localOrGlobal) |
set the fitting mode, local system or global system | |
Private Attributes | |
bool | m_Valid |
Is fit valid. | |
bool | m_Good |
Is fit good. | |
float | m_Chi2 |
Chi square of fit. | |
int | m_NumHit |
the number of hits on this track | |
bool | m_globalFit |
do fit in the local system or global system false: local sys; true: global sys. | |
CLHEP::HepVector | m_SectorPar |
track params in the sector local system | |
CLHEP::HepSymMatrix | m_SectorErr |
track params errors in the sector local system | |
CLHEP::HepVector | m_GlobalPar |
track params in global system | |
CLHEP::HepSymMatrix | m_GlobalErr |
track params errors in global system | |
bklm::GeometryPar * | m_GeoPar |
pointer to GeometryPar singleton | |
track fitting procedure
Definition at line 29 of file BKLMTrackFitter.h.
BKLMTrackFitter | ( | ) |
Default constructor.
Constructor.
Definition at line 40 of file BKLMTrackFitter.cc.
double fit1dTrack | ( | std::list< KLMHit2d * > | hitList, |
CLHEP::HepVector & | eta, | ||
CLHEP::HepSymMatrix & | error, | ||
int | depDir, | ||
int | indDir | ||
) |
do fit in the global system
do fit in global system, handle tracks that go thrugh multi-sectors
Definition at line 486 of file BKLMTrackFitter.cc.
double globalDistanceToHit | ( | KLMHit2d * | hit, |
double & | error, | ||
double & | sigma | ||
) |
Distance from track to a hit in the global system.
Distance from track to a hit calculated in the global system.
Definition at line 233 of file BKLMTrackFitter.cc.