 |
Belle II Software
release-05-02-19
|
13 #include <analysis/VertexFitting/KFit/KFitConst.h>
14 #include <analysis/VertexFitting/KFit/KFitError.h>
15 #include <analysis/VertexFitting/KFit/KFitBase.h>
17 #ifndef ENABLE_BACKWARDS_COMPATIBILITY
89 double getCHIsq(
void)
const override;
const CLHEP::HepSymMatrix getVertexError(void) const
Get a fitted vertex error matrix.
enum KFitError::ECode setIpTubeProfile(const CLHEP::HepLorentzVector &p, const HepPoint3D &x, const CLHEP::HepSymMatrix &e, const double q)
Set a virtual IP-tube track for the vertex constraint fit.
~VertexFitKFit(void)
Destruct the object.
CLHEP::HepSymMatrix m_AfterVertexError
Vertex error matrix after the fit.
double getCHIsq(void) const override
Get a chi-square of the fit.
double m_EachCHIsq[KFitConst::kMaxTrackCount2]
Container of chi-square's of the input tracks.
const HepPoint3D getVertex(const int flag=KFitConst::kAfterFit) const
Get a vertex position.
VertexFitKFit(void)
Construct an object with no argument.
KFitBase is a base class for kinematical fitters.
enum KFitError::ECode doFit3(void)
Perform a standard vertex-constraint fit including IP-tube constraint.
KFitTrack m_TubeTrack
Entity of the virtual IP-tube track.
enum KFitError::ECode setKnownVertex(const bool flag=true)
Tell the object to perform a fit with vertex position fixed.
enum KFitError::ECode deleteTube(void)
Delete the virtual tube track to m_Tracks just after the internal minimization call.
enum KFitError::ECode doFit5(void)
Perform a fixed-vertex-position fit mainly for slow pion.
enum KFitError::ECode setIpProfile(const HepPoint3D &ip, const CLHEP::HepSymMatrix &ipe)
Set an IP-ellipsoid shape for the vertex constraint fit.
HepPoint3D m_BeforeVertex
Vertex position before the fit.
static const int kAfterFit
Input parameter to specify after-fit when setting/getting a track attribute.
static const int kMaxTrackCount2
Maximum track size (internal use)
int m_iTrackTube
ID of the virtual tube track in the m_Tracks.
enum KFitError::ECode doFit4(void)
Perform a IP-ellipsoid and vertex-constraint fit.
Abstract base class for different kinds of events.
enum KFitError::ECode setCorrelationMode(const bool m)
Tell the object to perform a fit with track correlations.
enum KFitError::ECode updateMother(Particle *mother)
Update mother particle.
HepPoint3D m_AfterVertex
Vertex position after the fit.
std::vector< CLHEP::HepMatrix > m_AfterTrackVertexError
Array of vertex error matrices after the fit.
double getCHIsqVertex(void) const
Get a chi-square of the fit excluding IP-constraint part.
double getTrackCHIsq(const int id) const override
Get a chi-square of the track.
bool m_CorrelationMode
Flag controlled by setCorrelationMode().
int getTrackPartNDF(void) const
Get an NDF relevant to the getTrackPartCHIsq().
KFitTrack is a container of the track information (Lorentz vector, position, and error matrix),...
bool m_FlagBeam
Flag if to perform IP-ellipsoid constraint fit.
enum KFitError::ECode prepareInputSubMatrix(void) override
Build sub-matrices for minimum search from input-track properties.
const CLHEP::HepMatrix getTrackVertexError(const int id) const
Get a vertex error matrix of the track.
enum KFitError::ECode doFit(void)
Perform a vertex-constraint fit.
enum KFitError::ECode prepareInputMatrix(void) override
Build grand matrices for minimum search from input-track properties.
double getTrackPartCHIsq(void) const
Get a sum of the chi-square associated to the input tracks.
Class to store reconstructed particles.
enum KFitError::ECode appendTube(void)
Add the virtual tube track to m_Tracks just before the internal minimization call.
double m_CHIsqVertex
chi-square of the fit excluding IP-constraint part.
enum KFitError::ECode prepareOutputMatrix(void) override
Build an output error matrix.
ECode
ECode is a error code enumerate.
enum KFitError::ECode calculateNDF(void) override
Calculate an NDF of the fit.
bool m_FlagTube
Flag if to perform IP-tube constraint fit.
CLHEP::HepSymMatrix m_BeamError
Error matrix modeling the IP ellipsoid.
enum KFitError::ECode setInitialVertex(const HepPoint3D &v)
Set an initial vertex point for the vertex-vertex constraint fit.
VertexFitKFit is a derived class from KFitBase to perform vertex-constraint kinematical fit.
enum KFitError::ECode makeCoreMatrix(void) override
Build matrices using the kinematical constraint.
bool m_FlagKnownVertex
Flag controlled by setKnownVertex().