Belle II Software development
|
Class to provide momentum-related information from ECLClusters. More...
#include <ClusterUtils.h>
Public Member Functions | |
ClusterUtils () | |
Constructor. | |
const ROOT::Math::PxPyPzEVector | GetCluster4MomentumFromCluster (const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo) |
Returns cluster four momentum vector. | |
const ROOT::Math::PxPyPzEVector | Get4MomentumFromCluster (const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo) |
Returns four momentum vector. | |
const ROOT::Math::PxPyPzEVector | Get4MomentumFromCluster (const ECLCluster *cluster, const ROOT::Math::XYZVector &vertex, ECLCluster::EHypothesisBit hypo) |
Returns four momentum vector. | |
const TMatrixD | GetJacobiMatrix4x6FromCluster (const ECLCluster *cluster, ECLCluster::EHypothesisBit hypo) |
Returns 4x6 Jacobi matrix (px, py, pz, E) | |
const TMatrixD | GetJacobiMatrix4x6FromCluster (const ECLCluster *cluster, const ROOT::Math::XYZVector &vertex, ECLCluster::EHypothesisBit hypo) |
Returns 4x6 Jacobi matrix (px, py, pz, E) | |
const TMatrixDSym | GetCovarianceMatrix3x3FromCluster (const ECLCluster *cluster) |
Returns 3x3 covariance matrix (E, theta, phi) | |
const TMatrixDSym | GetCovarianceMatrix4x4FromCluster (const ECLCluster *cluster, const TMatrixD &jacobiMatrix) |
Returns 4x4 covariance matrix (px, py, pz, E) | |
const TMatrixDSym | GetCovarianceMatrix4x4FromCluster (const ECLCluster *cluster, const TMatrixDSym &covmatvertex, const TMatrixD &jacobiMatrix) |
Returns 4x4 covariance matrix (px, py, pz, E) | |
const TMatrixDSym | GetCovarianceMatrix7x7FromCluster (const ECLCluster *cluster, const TMatrixD &jacobiMatrix) |
Returns 7x7 covariance matrix (px, py, pz, E, x, y, z) | |
const TMatrixDSym | GetCovarianceMatrix7x7FromCluster (const ECLCluster *cluster, const TMatrixDSym &covmatvertex, const TMatrixD &jacobiMatrix) |
Returns 7x7 covariance matrix (px, py, pz, E, x, y, z) | |
const ROOT::Math::XYZVector | GetIPPosition () |
Returns default IP position from beam parameters. | |
const TMatrixDSym | GetIPPositionCovarianceMatrix () |
Returns default IP position covariance matrix from beam parameters. | |
Private Attributes | |
DBObjPtr< BeamSpot > | m_beamSpotDB |
Beam spot database object. | |
OptionalDBObjPtr< ECLPhotonEnergyResolution > | m_photonEnergyResolutionDB |
Photon energy resolution database object. | |
Class to provide momentum-related information from ECLClusters.
This requires the prior knowledge of the particle type (e.g., photon), and a vertex hypothesis. The default vertex hypothesis is taken from the beamparameters.
Definition at line 36 of file ClusterUtils.h.
const PxPyPzEVector Get4MomentumFromCluster | ( | const ECLCluster * | cluster, |
const ROOT::Math::XYZVector & | vertex, | ||
ECLCluster::EHypothesisBit | hypo | ||
) |
Returns four momentum vector.
Definition at line 32 of file ClusterUtils.cc.
const PxPyPzEVector Get4MomentumFromCluster | ( | const ECLCluster * | cluster, |
ECLCluster::EHypothesisBit | hypo | ||
) |
Returns four momentum vector.
Definition at line 25 of file ClusterUtils.cc.
const PxPyPzEVector GetCluster4MomentumFromCluster | ( | const ECLCluster * | cluster, |
ECLCluster::EHypothesisBit | hypo | ||
) |
Returns cluster four momentum vector.
Definition at line 19 of file ClusterUtils.cc.
const TMatrixDSym GetCovarianceMatrix3x3FromCluster | ( | const ECLCluster * | cluster | ) |
Returns 3x3 covariance matrix (E, theta, phi)
Replace fixed energy resolution value by derived value from the DB if present
Definition at line 134 of file ClusterUtils.cc.
const TMatrixDSym GetCovarianceMatrix4x4FromCluster | ( | const ECLCluster * | cluster, |
const TMatrixD & | jacobiMatrix | ||
) |
Returns 4x4 covariance matrix (px, py, pz, E)
Definition at line 156 of file ClusterUtils.cc.
const TMatrixDSym GetCovarianceMatrix4x4FromCluster | ( | const ECLCluster * | cluster, |
const TMatrixDSym & | covmatvertex, | ||
const TMatrixD & | jacobiMatrix | ||
) |
Returns 4x4 covariance matrix (px, py, pz, E)
Definition at line 162 of file ClusterUtils.cc.
const TMatrixDSym GetCovarianceMatrix7x7FromCluster | ( | const ECLCluster * | cluster, |
const TMatrixD & | jacobiMatrix | ||
) |
Returns 7x7 covariance matrix (px, py, pz, E, x, y, z)
Definition at line 185 of file ClusterUtils.cc.
const TMatrixDSym GetCovarianceMatrix7x7FromCluster | ( | const ECLCluster * | cluster, |
const TMatrixDSym & | covmatvertex, | ||
const TMatrixD & | jacobiMatrix | ||
) |
Returns 7x7 covariance matrix (px, py, pz, E, x, y, z)
Definition at line 191 of file ClusterUtils.cc.
const XYZVector GetIPPosition | ( | ) |
Returns default IP position from beam parameters.
Definition at line 216 of file ClusterUtils.cc.
const TMatrixDSym GetIPPositionCovarianceMatrix | ( | ) |
Returns default IP position covariance matrix from beam parameters.
Definition at line 226 of file ClusterUtils.cc.
const TMatrixD GetJacobiMatrix4x6FromCluster | ( | const ECLCluster * | cluster, |
const ROOT::Math::XYZVector & | vertex, | ||
ECLCluster::EHypothesisBit | hypo | ||
) |
Returns 4x6 Jacobi matrix (px, py, pz, E)
Definition at line 60 of file ClusterUtils.cc.
const TMatrixD GetJacobiMatrix4x6FromCluster | ( | const ECLCluster * | cluster, |
ECLCluster::EHypothesisBit | hypo | ||
) |
Returns 4x6 Jacobi matrix (px, py, pz, E)
Definition at line 54 of file ClusterUtils.cc.
Beam spot database object.
Definition at line 125 of file ClusterUtils.h.
|
private |
Photon energy resolution database object.
Definition at line 130 of file ClusterUtils.h.