ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
Trk::VxCascadeInfo Class Reference

#include <VxCascadeInfo.h>

Inheritance diagram for Trk::VxCascadeInfo:
Collaboration diagram for Trk::VxCascadeInfo:

Public Member Functions

 VxCascadeInfo ()
 
 VxCascadeInfo (std::vector< xAOD::Vertex * > vertices, std::vector< std::vector< TLorentzVector > > moms, std::vector< Amg::MatrixX > covs, int nDoF, double Chi2)
 
 VxCascadeInfo (const VxCascadeInfo &)
 
 VxCascadeInfo (VxCascadeInfo &&) noexcept=default
 
VxCascadeInfo operator= (const VxCascadeInfo &)
 
VxCascadeInfooperator= (VxCascadeInfo &&) noexcept=default
 
 ~VxCascadeInfo ()
 
const std::vector< std::vector< TLorentzVector > > & getParticleMoms () const
 
const std::vector< Amg::MatrixX > & getCovariance () const
 
int nDoF () const
 
double fitChi2 () const
 
void setFullCascadeCovariance (const Amg::MatrixX &)
 
virtual VxSecVertexInfoclone () const
 
const std::vector< xAOD::Vertex * > & vertices () const
 
void setVertices (const std::vector< xAOD::Vertex * > &)
 
void setSVOwnership (bool Ownership)
 

Protected Attributes

std::vector< xAOD::Vertex * > m_vertices
 
bool m_SVOwnership
 

Private Attributes

std::vector< std::vector< TLorentzVector > > m_particleMomAtVertex
 
std::vector< Amg::MatrixXm_covarianceAtVertex
 
int m_nDoF {}
 
double m_fullChi2 {}
 

Detailed Description

Definition at line 75 of file VxCascadeInfo.h.

Constructor & Destructor Documentation

◆ VxCascadeInfo() [1/4]

Trk::VxCascadeInfo::VxCascadeInfo ( )

Definition at line 15 of file VxCascadeInfo.cxx.

15 : VxSecVertexInfo(), m_nDoF(0), m_fullChi2(0) {}

◆ VxCascadeInfo() [2/4]

Trk::VxCascadeInfo::VxCascadeInfo ( std::vector< xAOD::Vertex * >  vertices,
std::vector< std::vector< TLorentzVector > >  moms,
std::vector< Amg::MatrixX covs,
int  nDoF,
double  Chi2 
)

Definition at line 17 of file VxCascadeInfo.cxx.

20  :
21  VxSecVertexInfo(std::move(vertices)), m_particleMomAtVertex(std::move(moms)),
22  m_covarianceAtVertex(std::move(covs)), m_nDoF(nDoF), m_fullChi2(Chi2)
23  {
24  }

◆ VxCascadeInfo() [3/4]

Trk::VxCascadeInfo::VxCascadeInfo ( const VxCascadeInfo )
default

◆ VxCascadeInfo() [4/4]

Trk::VxCascadeInfo::VxCascadeInfo ( VxCascadeInfo &&  )
defaultnoexcept

◆ ~VxCascadeInfo()

Trk::VxCascadeInfo::~VxCascadeInfo ( )
default

Member Function Documentation

◆ clone()

VxSecVertexInfo * Trk::VxSecVertexInfo::clone ( ) const
inlinevirtualinherited

Reimplemented in Trk::VxSecVKalVertexInfo, and Trk::VxJetFitterVertexInfo.

Definition at line 110 of file VxSecVertexInfo.h.

◆ fitChi2()

double Trk::VxCascadeInfo::fitChi2 ( ) const
inline

Definition at line 134 of file VxCascadeInfo.h.

◆ getCovariance()

const std::vector< Amg::MatrixX >& Trk::VxCascadeInfo::getCovariance ( ) const
inline

Definition at line 132 of file VxCascadeInfo.h.

◆ getParticleMoms()

const std::vector< std::vector<TLorentzVector> >& Trk::VxCascadeInfo::getParticleMoms ( ) const
inline

Definition at line 131 of file VxCascadeInfo.h.

◆ nDoF()

int Trk::VxCascadeInfo::nDoF ( ) const
inline

Definition at line 133 of file VxCascadeInfo.h.

◆ operator=() [1/2]

VxCascadeInfo Trk::VxCascadeInfo::operator= ( const VxCascadeInfo )

◆ operator=() [2/2]

VxCascadeInfo& Trk::VxCascadeInfo::operator= ( VxCascadeInfo &&  )
defaultnoexcept

◆ setFullCascadeCovariance()

void Trk::VxCascadeInfo::setFullCascadeCovariance ( const Amg::MatrixX COV)

Definition at line 28 of file VxCascadeInfo.cxx.

29  {
30  int NV=m_particleMomAtVertex.size(); //Cascade size for control
31  while( (int) m_covarianceAtVertex.size() > NV ) m_covarianceAtVertex.pop_back(); //remove previous full matrices
32  m_covarianceAtVertex.push_back( COV );
33  }

◆ setSVOwnership()

void Trk::VxSecVertexInfo::setSVOwnership ( bool  Ownership)
inlineinherited

Definition at line 118 of file VxSecVertexInfo.h.

◆ setVertices()

void Trk::VxSecVertexInfo::setVertices ( const std::vector< xAOD::Vertex * > &  vertices)
inherited

Definition at line 104 of file VxSecVertexInfo.cxx.

◆ vertices()

const std::vector< xAOD::Vertex * > & Trk::VxSecVertexInfo::vertices ( ) const
inherited

Definition at line 100 of file VxSecVertexInfo.cxx.

Member Data Documentation

◆ m_covarianceAtVertex

std::vector< Amg::MatrixX > Trk::VxCascadeInfo::m_covarianceAtVertex
private

Definition at line 141 of file VxCascadeInfo.h.

◆ m_fullChi2

double Trk::VxCascadeInfo::m_fullChi2 {}
private

Definition at line 143 of file VxCascadeInfo.h.

◆ m_nDoF

int Trk::VxCascadeInfo::m_nDoF {}
private

Definition at line 142 of file VxCascadeInfo.h.

◆ m_particleMomAtVertex

std::vector< std::vector<TLorentzVector> > Trk::VxCascadeInfo::m_particleMomAtVertex
private

Definition at line 140 of file VxCascadeInfo.h.

◆ m_SVOwnership

bool Trk::VxSecVertexInfo::m_SVOwnership
protectedinherited

Definition at line 126 of file VxSecVertexInfo.h.

◆ m_vertices

std::vector<xAOD::Vertex*> Trk::VxSecVertexInfo::m_vertices
protectedinherited

Definition at line 125 of file VxSecVertexInfo.h.


The documentation for this class was generated from the following files:
Trk::VxCascadeInfo::m_nDoF
int m_nDoF
Definition: VxCascadeInfo.h:142
Trk::VxSecVertexInfo::vertices
const std::vector< xAOD::Vertex * > & vertices() const
Definition: VxSecVertexInfo.cxx:100
Trk::VxCascadeInfo::m_particleMomAtVertex
std::vector< std::vector< TLorentzVector > > m_particleMomAtVertex
Definition: VxCascadeInfo.h:140
Trk::VxCascadeInfo::nDoF
int nDoF() const
Definition: VxCascadeInfo.h:133
Trk::VxSecVertexInfo::VxSecVertexInfo
VxSecVertexInfo()
Definition: VxSecVertexInfo.cxx:36
Trk::VxCascadeInfo::m_covarianceAtVertex
std::vector< Amg::MatrixX > m_covarianceAtVertex
Definition: VxCascadeInfo.h:141
Trk::VxCascadeInfo::m_fullChi2
double m_fullChi2
Definition: VxCascadeInfo.h:143