Belle II Software development
|
track fitting procedure More...
#include <BKLMTrackFitter.h>
Public Member Functions | |
BKLMTrackFitter () | |
Default constructor. | |
~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. | |
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 | |
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.
~BKLMTrackFitter | ( | ) |
double distanceToHit | ( | KLMHit2d * | hit, |
double & | error, | ||
double & | sigma | ||
) |
Distance from track to a hit in the plane of the module.
Definition at line 155 of file BKLMTrackFitter.cc.
double fit | ( | std::list< KLMHit2d * > & | listTrackPoint | ) |
do fit and returns chi square of the fit.
Definition at line 60 of file BKLMTrackFitter.cc.
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
Definition at line 331 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 through multi-sectors
Definition at line 480 of file BKLMTrackFitter.cc.
|
inline |
Chi square of the fit.
Definition at line 101 of file BKLMTrackFitter.h.
|
inline |
number of the hits on this track
Definition at line 107 of file BKLMTrackFitter.h.
|
inline |
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.
Definition at line 65 of file BKLMTrackFitter.h.
|
inline |
Get invariance matrix of track parameters in the global system.
Definition at line 71 of file BKLMTrackFitter.h.
|
inline |
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.
Definition at line 77 of file BKLMTrackFitter.h.
|
inline |
Get invariance matrix of track parameters in the sector local system, where the first layer of the sector is used as reference.
Definition at line 83 of file BKLMTrackFitter.h.
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.
|
inline |
Invalidate track.
Definition at line 113 of file BKLMTrackFitter.h.
|
inline |
|
inline |
|
inline |
set the fitting mode, local system or global system
Definition at line 119 of file BKLMTrackFitter.h.
|
private |
Chi square of fit.
Definition at line 133 of file BKLMTrackFitter.h.
|
private |
pointer to GeometryPar singleton
Definition at line 154 of file BKLMTrackFitter.h.
|
private |
track params errors in global system
Definition at line 151 of file BKLMTrackFitter.h.
|
private |
do fit in the local system or global system false: local sys; true: global sys.
Definition at line 139 of file BKLMTrackFitter.h.
|
private |
track params in global system
Definition at line 148 of file BKLMTrackFitter.h.
|
private |
Is fit good.
Definition at line 130 of file BKLMTrackFitter.h.
|
private |
the number of hits on this track
Definition at line 136 of file BKLMTrackFitter.h.
|
private |
track params errors in the sector local system
Definition at line 145 of file BKLMTrackFitter.h.
|
private |
track params in the sector local system
Definition at line 142 of file BKLMTrackFitter.h.
|
private |
Is fit valid.
Definition at line 127 of file BKLMTrackFitter.h.