ATLAS Offline Software
ExtendedVxCandidate.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef VXVERTEX_EXTENDEDVXCANDIDATE_H
6 #define VXVERTEX_EXTENDEDVXCANDIDATE_H
7 
8 #include "VxVertex/VxCandidate.h"
9 #include <vector>
11 
25 
26 namespace Trk
27 {
28 
29  class RecVertex;
30  class VxTrackAtVertex;
31 
33  {
34 
35  public:
36 
41 
47  const std::vector<Trk::VxTrackAtVertex *>& vxTrackAtVertex,
48  const Amg::MatrixX * fullCov = nullptr);
49 
53  virtual ~ExtendedVxCandidate();
54 
59 
64 
68  virtual ExtendedVxCandidate* clone() const;
69 
73  const Amg::MatrixX * fullCovariance(void) const;
74 
75  private:
76  friend class ::ExtendedVxCandidateCnv_p1;
77 
84 
85  };//end of class definitions
86 
88  {
89  return m_fullCovariance;
90  }
91 
93  {
94  return new Trk::ExtendedVxCandidate(*this);
95  }
96 
97 }//end of namespace definitions
98 
99 #endif
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:29
Trk::VxCandidate::recVertex
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Definition: VxCandidate.h:132
Trk::ExtendedVxCandidate::fullCovariance
const Amg::MatrixX * fullCovariance(void) const
Full covariance matrix access method.
Definition: ExtendedVxCandidate.h:87
ExtendedVxCandidateCnv_p1
Definition: ExtendedVxCandidateCnv_p1.h:26
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition: RecVertex.h:44
Trk::VxCandidate::vxTrackAtVertex
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
Definition: VxCandidate.h:144
Trk::ExtendedVxCandidate::clone
virtual ExtendedVxCandidate * clone() const
Clone method.
Definition: ExtendedVxCandidate.h:92
VxCandidate.h
EventPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::VxCandidate
Definition: VxCandidate.h:27
Trk::ExtendedVxCandidate::~ExtendedVxCandidate
virtual ~ExtendedVxCandidate()
Virtual calss destructor.
Definition: ExtendedVxCandidate.cxx:24
Trk::ExtendedVxCandidate::m_fullCovariance
const Amg::MatrixX * m_fullCovariance
Full covariance matrix of the vertex and all corresponding tracks.
Definition: ExtendedVxCandidate.h:83
Trk::ExtendedVxCandidate::ExtendedVxCandidate
ExtendedVxCandidate()
Standard constructor for persistency.
Definition: ExtendedVxCandidate.cxx:13
Trk::ExtendedVxCandidate::operator=
ExtendedVxCandidate & operator=(const ExtendedVxCandidate &)
Assignement operator.
Definition: ExtendedVxCandidate.cxx:35
Trk::ExtendedVxCandidate
Definition: ExtendedVxCandidate.h:33