12 #include <TLorentzVector.h>
13 #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 TVector3(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.
TVector3 getClusterPosition() const
Get global position (TVector3 version).
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.
TVector3 getPosition() const
Get global position (TVector3 version) of the origin of KLMCluster (always return (0,...
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.
float m_errorZ
Error of vertex Z coordinate.
TLorentzVector 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.