ATLAS Offline Software
Loading...
Searching...
No Matches
ExtendedVxCandidate.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9namespace Trk
10{
11
12//default constructor for persistensy
15
16
17//real working constructor
19 const std::vector<Trk::VxTrackAtVertex *>& vxTrackAtVertex,
20 const Amg::MatrixX * fullCov) :
22 m_fullCovariance(fullCov) {}
23
29
34
36 {
37 if (this!=&rhs)
38 {
39 this->VxCandidate::operator=(rhs);
40 delete m_fullCovariance;
42 }
43 return *this;
44 }//end of assignement operator
45
46
47}//end of namespace definitions
ExtendedVxCandidate()
Standard constructor for persistency.
ExtendedVxCandidate & operator=(const ExtendedVxCandidate &)
Assignement operator.
virtual ~ExtendedVxCandidate()
Virtual calss destructor.
const Amg::MatrixX * m_fullCovariance
Full covariance matrix of the vertex and all corresponding tracks.
Trk::RecVertex inherits from Trk::Vertex.
Definition RecVertex.h:44
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
VxCandidate & operator=(const VxCandidate &)
VxCandidate()
Default constructor for persistency.
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Ensure that the ATLAS eigen extensions are properly loaded.