12 #include <mdst/dbobjects/BeamSpot.h>
13 #include <framework/database/DBObjPtr.h>
16 #include <mdst/dataobjects/ECLCluster.h>
19 #include <TLorentzVector.h>
84 const TMatrixDSym& covmatvertex,
85 const TMatrixD& jacobiMatrix);
98 const TMatrixDSym& covmatvertex,
99 const TMatrixD& jacobiMatrix);
Class to provide momentum-related information from ECLClusters.
const TLorentzVector Get4MomentumFromCluster(const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo)
Returns four momentum vector.
const TMatrixDSym GetCovarianceMatrix7x7FromCluster(const ECLCluster *cluster, const TMatrixD &jacobiMatrix)
Returns 7x7 covariance matrix (px, py, pz, E, x, y, z)
const TMatrixD GetJacobiMatrix4x6FromCluster(const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo)
Returns 4x6 Jacobi matrix (px, py, pz, E)
const TMatrixDSym GetCovarianceMatrix4x4FromCluster(const ECLCluster *cluster, const TMatrixD &jacobiMatrix)
Returns 4x4 covariance matrix (px, py, pz, E)
const TVector3 GetIPPosition()
Returns default IP position from beam parameters.
DBObjPtr< BeamSpot > m_beamSpotDB
Beam spot database object.
const TLorentzVector GetCluster4MomentumFromCluster(const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo)
Returns cluster four momentum vector.
const TMatrixDSym GetIPPositionCovarianceMatrix()
Returns default IP position covariance matrix from beam parameters.
ClusterUtils()
Constructor.
Class for accessing objects in the database.
EHypothesisBit
The hypothesis bits for this ECLCluster (Connected region (CR) is split using this hypothesis.
Abstract base class for different kinds of events.