 |
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>
18 #ifndef ENABLE_BACKWARDS_COMPATIBILITY
85 double getCHIsq(
void)
const override;
93 const CLHEP::HepMatrix
getCorrelation(
const int id1,
const int id2,
double getTrackCHIsq(const int id) const override
Get a chi-square of the track.
KFitBase is a base class for kinematical fitters.
const CLHEP::HepMatrix getTrackVertexError(const int id) const
Get a vertex error matrix of the track.
enum KFitError::ECode setInitialVertex(const HepPoint3D &v)
Set an initial vertex point for the mass-vertex constraint fit.
enum KFitError::ECode prepareCorrelation(void) override
Build a grand correlation matrix from input-track properties.
enum KFitError::ECode prepareInputSubMatrix(void) override
Build sub-matrices for minimum search from input-track properties.
enum KFitError::ECode prepareInputMatrix(void) override
Build grand matrices for minimum search from input-track properties.
MassVertexFitKFit(void)
Construct an object with no argument.
enum KFitError::ECode setCorrelation(const CLHEP::HepMatrix &m) override
Set a correlation matrix.
enum KFitError::ECode updateMother(Particle *mother)
Update mother particle.
CLHEP::HepSymMatrix m_AfterVertexError
Vertex error matrix after the fit.
double getInvariantMass(void) const
Get an invariant mass.
std::vector< int > m_IsFixMass
Array of flags whether the track property is fixed at the mass.
enum KFitError::ECode prepareOutputMatrix(void) override
Build an output error matrix.
enum KFitError::ECode unfixMass(void)
Tell the object to unfix the last added track property at the invariant mass.
const CLHEP::HepSymMatrix getVertexError(void) const
Get a fitted vertex error matrix.
enum KFitError::ECode makeCoreMatrix(void) override
Build matrices using the kinematical constraint.
enum KFitError::ECode calculateNDF(void) override
Calculate an NDF of the fit.
static const int kAfterFit
Input parameter to specify after-fit when setting/getting a track attribute.
enum KFitError::ECode fixMass(void)
Tell the object to fix the last added track property at the invariant mass.
double m_InvariantMass
Invariant mass.
Abstract base class for different kinds of events.
const HepPoint3D getVertex(const int flag=KFitConst::kAfterFit) const
Get a vertex position.
~MassVertexFitKFit(void)
Destruct the object.
enum KFitError::ECode setZeroCorrelation(void) override
Indicate no correlation between tracks.
enum KFitError::ECode setInvariantMass(const double m)
Set an invariant mass for the mass-vertex constraint fit.
std::vector< CLHEP::HepMatrix > m_AfterTrackVertexError
array of vertex error matrices after the fit.
Class to store reconstructed particles.
const CLHEP::HepMatrix getCorrelation(const int id1, const int id2, const int flag=KFitConst::kAfterFit) const override
Get a correlation matrix between two tracks.
HepPoint3D m_BeforeVertex
Vertex position before the fit.
ECode
ECode is a error code enumerate.
enum KFitError::ECode doFit(void)
Perform a mass-vertex-constraint fit.
MassVertexFitKFit is a derived class from KFitBase to perform mass-vertex-constraint kinematical fit.
HepPoint3D m_AfterVertex
Vertex position after the fit.
double getCHIsq(void) const override
Get a chi-square of the fit.