12#include <klm/geometry/KLMGeometryPar.h>
13#include <klm/dataobjects/KLMHit2d.h>
14#include <klm/dataobjects/KLMElementNumbers.h>
17#include <CLHEP/Matrix/SymMatrix.h>
18#include <CLHEP/Matrix/Vector.h>
41 double fit(std::list<KLMHit2d*>& listTrackPoint);
51 double fit1dTrack(std::list< KLMHit2d* > hitList,
52 CLHEP::HepVector& eta,
53 CLHEP::HepSymMatrix& error,
54 int depDir,
int indDir);
double fit(std::list< KLMHit2d * > &listTrackPoint)
do fit and returns chi square of the fit.
float m_Chi2
Chi square of fit.
float getChi2()
Chi square of the fit.
bool isGood()
Is fit good.
double fit1dTrack(std::list< KLMHit2d * > hitList, CLHEP::HepVector &eta, CLHEP::HepSymMatrix &error, int depDir, int indDir)
do fit in the global system
~KLMTrackFitter()
Destructor.
int m_NumHit
the number of hits on this track
double globalDistanceToHit(KLMHit2d *hit, double &error, double &sigma)
Distance from track to a hit in the global system.
Belle2::KLM::KLMGeometryPar * m_GeoPar
pointer to GeometryPar singleton
CLHEP::HepSymMatrix m_GlobalErr
track params errors in global system
int getNumHit()
number of the hits on this track
CLHEP::HepSymMatrix getTrackParamErr()
Get invariance matrix of track parameters in the global system.
CLHEP::HepVector m_GlobalPar
track params in global system
CLHEP::HepVector getTrackParam()
Get track parameters in the global system. y = p0 + p1 * x; z = p2 + p3 * x.
bool m_Valid
Is fit valid.
void inValidate()
Invalidate track.
KLMTrackFitter()
Default constructor.
bool isValid()
Is fit valid.
Wrapper class around bklm::GeometryPar and EKLM::GeometryData.
Abstract base class for different kinds of events.