12 #include <Math/Vector3D.h>
13 #include <Math/Vector4D.h>
14 #include <TMatrixDSym.h>
17 #include <framework/datastore/RelationsObject.h>
47 KLMCluster(
float x,
float y,
float z,
float time,
int nLayers,
48 int nInnermostLayer,
float p);
90 {
return ROOT::Math::XYZVector(0, 0, 0);}
bool getAssociatedTrackFlag() const
Check for associated tracks.
float getEnergy() const
Get energy.
int getInnermostLayer() const
Get number of the innermost layer with hits.
ClassDef(Belle2::KLMCluster, 2)
Needed to make objects storable.
int m_innermostLayer
Number of the innermost layer with hits.
void setLayers(int layers)
Set number of layers with hits.
void setErrorZ(float errorZ)
Set error of vertex Z coordinate.
float getTime() const
Get time.
float m_globalX
Global position X coordinate.
int getLayers() const
Get number of layers with hits.
float m_errorX
Error of vertex X coordinate.
TMatrixDSym getError7x7() const
Get KLM cluster momentum error matrix.
float m_globalZ
Global position Z coordinate.
void setErrorX(float errorX)
Set error of vertex X coordinate.
float m_p
Absolute value of momentum, 0 means unknown.
bool getAssociatedEclClusterFlag() const
Check for associated ECL clusters.
void setClusterPosition(float globalX, float globalY, float globalZ)
Set global position.
void setTime(float time)
Set time.
void setInnermostLayer(int innermostLayer)
Set number of the innermost layer with hits.
float m_errorP
Error of momentum absolute value.
float m_errorY
Error of vertex Y coordinate.
void setMomentumMag(float momentumMag)
Set momentum magnitude.
void setErrorP(float errorP)
Set error of momentum absolute value.
float getMomentumMag() const
Get momentum magnitude.
TMatrixDSym getError4x4() const
Get KLM cluster momentum error matrix.
ROOT::Math::XYZVector getPosition() const
Get global position (ROOT::Math::XYZVector version) of the origin of KLMCluster (always return (0,...
float m_errorZ
Error of vertex Z coordinate.
ROOT::Math::XYZVector getClusterPosition() const
Get global position (ROOT::Math::XYZVector version).
ROOT::Math::PxPyPzEVector getMomentum() const
Get momentum.
int m_layers
Number of layers with hits.
void setErrorY(float errorY)
Set error of vertex Y coordinate.
float m_globalY
Global position Y coordinate.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.