ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
ZMassConstraint::ConstraintFitOutput Class Reference

#include <ConstraintFitOutput.h>

Collaboration diagram for ZMassConstraint::ConstraintFitOutput:

Public Member Functions

 ConstraintFitOutput ()
 Constructor/destructor. More...
 
 ~ConstraintFitOutput ()
 
unsigned int getNConstituents () const
 Number of particles. More...
 
const TLorentzVector & getConstituentFourVector (int index) const
 Access to individual particle 4-vec. More...
 
void getCompositeFourVector (TLorentzVector &lv) const
 Access to combined 4-vec. More...
 
Amg::MatrixX getConstituentCovariancePhiThetaP (int index) const
 Access to individual covariance PhiThetaP (3,3) More...
 
void getConstituentCovariancePhiThetaP (int index, AmgMatrix(3, 3)&outMatrix) const
 Access to individual covariance PhiThetaP (3,3) More...
 
Amg::MatrixX getConstituentCovarianced0z0PhiThetaP (int index) const
 Access to individual covariance d0z0PhiThetaP (5,5) More...
 
void getConstituentCovarianced0z0PhiThetaP (int index, AmgMatrix(5, 5)&outMatrix) const
 Access to individual covariance d0z0PhiThetaP (5,5) More...
 
const Amg::MatrixXgetConstituentCovariancePhiThetaP () const
 Access to full covariance d0z0PhiThetaP (5 * nparticle, 5 * nparticle) More...
 
void setFitOutput (const std::vector< TLorentzVector > &particleList, const Amg::MatrixX &covarXYZ, const Amg::MatrixX &covard0z0PhiThetaP)
 Set output. More...
 

Protected Attributes

std::vector< TLorentzVector > m_particleList
 
Amg::MatrixX m_covariance
 
Amg::MatrixX m_covariancePhiThetaP
 

Detailed Description

Definition at line 12 of file ConstraintFitOutput.h.

Constructor & Destructor Documentation

◆ ConstraintFitOutput()

ZMassConstraint::ConstraintFitOutput::ConstraintFitOutput ( )
inline

Constructor/destructor.

Definition at line 17 of file ConstraintFitOutput.h.

17 {}

◆ ~ConstraintFitOutput()

ZMassConstraint::ConstraintFitOutput::~ConstraintFitOutput ( )
inline

Definition at line 18 of file ConstraintFitOutput.h.

18 {}

Member Function Documentation

◆ getCompositeFourVector()

void ZMassConstraint::ConstraintFitOutput::getCompositeFourVector ( TLorentzVector &  lv) const
inline

Access to combined 4-vec.

Definition at line 27 of file ConstraintFitOutput.h.

28  { lv = TLorentzVector(); for( auto lv1 : m_particleList ) lv += lv1; }

◆ getConstituentCovarianced0z0PhiThetaP() [1/2]

Amg::MatrixX ZMassConstraint::ConstraintFitOutput::getConstituentCovarianced0z0PhiThetaP ( int  index) const
inline

Access to individual covariance d0z0PhiThetaP (5,5)

Definition at line 39 of file ConstraintFitOutput.h.

40  { return m_covariancePhiThetaP.block(5*index, 5*index, 5, 5); }

◆ getConstituentCovarianced0z0PhiThetaP() [2/2]

void ZMassConstraint::ConstraintFitOutput::getConstituentCovarianced0z0PhiThetaP ( int  index,
AmgMatrix(5, 5)&  outMatrix 
) const
inline

Access to individual covariance d0z0PhiThetaP (5,5)

Definition at line 43 of file ConstraintFitOutput.h.

44  { outMatrix = m_covariancePhiThetaP.block(5*index, 5*index, 5, 5); }

◆ getConstituentCovariancePhiThetaP() [1/3]

const Amg::MatrixX& ZMassConstraint::ConstraintFitOutput::getConstituentCovariancePhiThetaP ( ) const
inline

Access to full covariance d0z0PhiThetaP (5 * nparticle, 5 * nparticle)

Definition at line 47 of file ConstraintFitOutput.h.

48  { return m_covariancePhiThetaP; }

◆ getConstituentCovariancePhiThetaP() [2/3]

Amg::MatrixX ZMassConstraint::ConstraintFitOutput::getConstituentCovariancePhiThetaP ( int  index) const
inline

Access to individual covariance PhiThetaP (3,3)

Definition at line 31 of file ConstraintFitOutput.h.

32  { return m_covariancePhiThetaP.block(5*index +2, 5*index+2, 3, 3); }

◆ getConstituentCovariancePhiThetaP() [3/3]

void ZMassConstraint::ConstraintFitOutput::getConstituentCovariancePhiThetaP ( int  index,
AmgMatrix(3, 3)&  outMatrix 
) const
inline

Access to individual covariance PhiThetaP (3,3)

Definition at line 35 of file ConstraintFitOutput.h.

36  { outMatrix = m_covariancePhiThetaP.block(5*index +2, 5*index+2, 3, 3); }

◆ getConstituentFourVector()

const TLorentzVector& ZMassConstraint::ConstraintFitOutput::getConstituentFourVector ( int  index) const
inline

Access to individual particle 4-vec.

Definition at line 24 of file ConstraintFitOutput.h.

24 { return m_particleList.at(index); }

◆ getNConstituents()

unsigned int ZMassConstraint::ConstraintFitOutput::getNConstituents ( ) const
inline

Number of particles.

Definition at line 21 of file ConstraintFitOutput.h.

21 { return m_particleList.size(); }

◆ setFitOutput()

void ZMassConstraint::ConstraintFitOutput::setFitOutput ( const std::vector< TLorentzVector > &  particleList,
const Amg::MatrixX covarXYZ,
const Amg::MatrixX covard0z0PhiThetaP 
)
inline

Set output.

Definition at line 51 of file ConstraintFitOutput.h.

54  { m_particleList = particleList; m_covariance = covarXYZ; m_covariancePhiThetaP = covard0z0PhiThetaP; }

Member Data Documentation

◆ m_covariance

Amg::MatrixX ZMassConstraint::ConstraintFitOutput::m_covariance
protected

Definition at line 58 of file ConstraintFitOutput.h.

◆ m_covariancePhiThetaP

Amg::MatrixX ZMassConstraint::ConstraintFitOutput::m_covariancePhiThetaP
protected

Definition at line 59 of file ConstraintFitOutput.h.

◆ m_particleList

std::vector<TLorentzVector> ZMassConstraint::ConstraintFitOutput::m_particleList
protected

Definition at line 57 of file ConstraintFitOutput.h.


The documentation for this class was generated from the following file:
index
Definition: index.py:1
ZMassConstraint::ConstraintFitOutput::m_covariance
Amg::MatrixX m_covariance
Definition: ConstraintFitOutput.h:58
ZMassConstraint::ConstraintFitOutput::m_particleList
std::vector< TLorentzVector > m_particleList
Definition: ConstraintFitOutput.h:57
ZMassConstraint::ConstraintFitOutput::m_covariancePhiThetaP
Amg::MatrixX m_covariancePhiThetaP
Definition: ConstraintFitOutput.h:59