5#ifndef CONSTRAINTFITOUTPUT_H
6#define CONSTRAINTFITOUTPUT_H
8#include "TLorentzVector.h"
28 { lv = TLorentzVector();
for(
auto lv1 :
m_particleList ) lv += lv1; }
#define AmgMatrix(rows, cols)
Amg::MatrixX getConstituentCovarianced0z0PhiThetaP(int index) const
Access to individual covariance d0z0PhiThetaP (5,5)
ConstraintFitOutput()
Constructor/destructor.
std::vector< TLorentzVector > m_particleList
void getCompositeFourVector(TLorentzVector &lv) const
Access to combined 4-vec.
const TLorentzVector & getConstituentFourVector(int index) const
Access to individual particle 4-vec.
Amg::MatrixX m_covariancePhiThetaP
Amg::MatrixX m_covariance
Amg::MatrixX getConstituentCovariancePhiThetaP(int index) const
Access to individual covariance PhiThetaP (3,3)
void getConstituentCovariancePhiThetaP(int index, AmgMatrix(3, 3)&outMatrix) const
Access to individual covariance PhiThetaP (3,3)
void getConstituentCovarianced0z0PhiThetaP(int index, AmgMatrix(5, 5)&outMatrix) const
Access to individual covariance d0z0PhiThetaP (5,5)
const Amg::MatrixX & getConstituentCovariancePhiThetaP() const
Access to full covariance d0z0PhiThetaP (5 * nparticle, 5 * nparticle)
unsigned int getNConstituents() const
Number of particles.
void setFitOutput(const std::vector< TLorentzVector > &particleList, const Amg::MatrixX &covarXYZ, const Amg::MatrixX &covard0z0PhiThetaP)
Set output.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.