 |
Belle II Software
release-05-01-25
|
15 #include <CLHEP/Matrix/Matrix.h>
16 #include <CLHEP/Matrix/SymMatrix.h>
17 #include <CLHEP/Vector/ThreeVector.h>
18 #include <CLHEP/Vector/LorentzVector.h>
19 #include <CLHEP/Geometry/Point3D.h>
21 #include <analysis/VertexFitting/KFit/KFitConst.h>
22 #include <analysis/VertexFitting/KFit/KFitError.h>
23 #include <analysis/VertexFitting/KFit/KFitTrack.h>
25 #ifndef ENABLE_BACKWARDS_COMPATIBILITY
bool m_FlagAtDecayPoint
Flag controlled by setFlagAtDecayPoint().
const KFitTrack getMother(void) const
Get a track object of the mother particle.
enum KFitError::ECode setTrackZeroVertexError(void)
Indicate no vertex uncertainty in the child particle in the addTrack'ed order.
bool m_FlagTrackVertexError
Flag to indicate if the vertex error matrix of the child particle is preset.
std::vector< KFitTrack > m_Tracks
Array of track objects of the child particles.
CLHEP::Hep3Vector m_Vertex
Vertex position of the mother particle.
bool m_FlagCorrelation
Flag to indicate if the correlation matrix among the child particles is preset.
enum KFitError::ECode setTrackVertexError(const CLHEP::HepMatrix &e)
Set a vertex error matrix of the child particle in the addTrack'ed order.
enum KFitError::ECode setVertex(const HepPoint3D &v)
Set a vertex position of the mother particle.
MakeMotherKFit(void)
Construct an object with no argument.
KFitTrack m_Mother
Track object of the mother particle.
double m_MagneticField
Magnetic field.
enum KFitError::ECode getErrorCode(void) const
Get a code of the last error.
const CLHEP::HepSymMatrix getMotherError(void) const
Get an error matrix of the mother particle.
std::vector< CLHEP::HepMatrix > m_TrackVertexError
Array of vertex error matrices of the child particles.
std::vector< CLHEP::HepMatrix > m_Correlation
Array of correlation matrices among the child particles.
MakeMotherKFit is a class to build mother particle from kinematically fitted daughters.
const CLHEP::HepLorentzVector getMotherMomentum(void) const
Get a Lorentz vector of the mother particle.
enum KFitError::ECode setFlagAtDecayPoint(const bool flag)
Set a flag to control computational point for the mother particle property at the decay point or not.
static const int kAfterFit
Input parameter to specify after-fit when setting/getting a track attribute.
CLHEP::HepSymMatrix m_VertexError
Vertex error matrix of the mother particle.
void calculateDELMDELC(CLHEP::HepMatrix *e) const
Make delMdelC to calculate error matrix of the mother particle.
Abstract base class for different kinds of events.
int m_TrackCount
Number of tracks.
double m_Charge
Charge of the mother particle.
enum KFitError::ECode setMagneticField(const double mf)
Change a magnetic field from the default value KFitConst::kDefaultMagneticField.
~MakeMotherKFit(void)
Destruct the object.
KFitTrack is a container of the track information (Lorentz vector, position, and error matrix),...
int m_FlagBeforeAfter
Flag controlled by setFlagBeforeAfter().
enum KFitError::ECode setCorrelation(const CLHEP::HepMatrix &e)
Set a correlation matrix.
enum KFitError::ECode setVertexError(const CLHEP::HepSymMatrix &e)
Set a vertex error matrix of the mother particle.
const HepPoint3D getMotherPosition(void) const
Get a position of the mother particle.
enum KFitError::ECode addTrack(const KFitTrack &kp)
Add a track to the make-mother object.
ECode
ECode is a error code enumerate.
enum KFitError::ECode doMake(void)
Perform a reconstruction of mother particle.
enum KFitError::ECode setFlagBeforeAfter(const int flag)
Set a flag to control computational parameters for the mother particle property before or after the f...
bool m_FlagVertexError
Flag to indicate if the vertex error matrix of the mother particle is preset.
enum KFitError::ECode m_ErrorCode
Error code.
enum KFitError::ECode setZeroCorrelation(void)
Indicate no correlation between tracks.
void calculateError(CLHEP::HepSymMatrix *Ec) const
Make a matrix to calculate error matrix of the mother particle.