ATLAS Offline Software
Loading...
Searching...
No Matches
MVFVxCandidate.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 MVFVxCandidate.cxx - Description
7 -------------------
8 begin : June 2006
9 authors : Giacinto Piacquadio (Freiburg University)
10 email : giacinto.piacquadio@physik.uni-freiburg.de
11 changes : Kirill.Prokofiev@cern.ch
12 EDM cleanup, switching to the FitQuality class use
13
14 ***************************************************************************/
15
17
18namespace Trk {
19
21 VxCandidate(),
22 m_fitInfo(Trk::MvfFitInfo(nullptr,nullptr,nullptr)),
23 m_initialized(false)
24 {}
25
27 const std::vector<Trk::VxTrackAtVertex*>& vxTrackAtVertex):
29 m_fitInfo(Trk::MvfFitInfo(nullptr,nullptr,nullptr)),
30 m_initialized(true){}
31
33 Amg::Vector3D* seedVertex,
34 Amg::Vector3D* linearizationVertex,
36 std::vector<Trk::VxTrackAtVertex*>& vxTrackAtVertex):
38 m_fitInfo(Trk::MvfFitInfo(constraintVertex,seedVertex,linearizationVertex)),
39 m_initialized(true){}
40
42 Amg::Vector3D* seedVertex,
43 Amg::Vector3D* linearizationVertex):
45 m_fitInfo(Trk::MvfFitInfo(constraintVertex,seedVertex,linearizationVertex)),
46 m_initialized(false){}
47
48
49
51 = default;
52
54 {
55 if (this!=&rhs)
56 {
57 this->operator=(rhs);
58 m_fitInfo = rhs.m_fitInfo;
60 }
61 return *this;
62 }
63
65 = default;
66
67 MsgStream& MVFVxCandidate::dump(MsgStream& sl) const {
68 sl << "Printing Trk::MVFVxCandidate:" << endmsg;
69 // for now just print base class
71 return sl;
72 }
73
74 std::ostream& MVFVxCandidate::dump(std::ostream& sl) const {
75 sl << "Printing Trk::MVFVxCandidate:" << std::endl;
76 // for now just print base class
78 return sl;
79 }
80
81}//end of namespace definitions
82
#define endmsg
MVFVxCandidate & operator=(const MVFVxCandidate &)
Assignement operator.
MVFVxCandidate()
Default constructor and destructor.
virtual ~MVFVxCandidate()
Trk::MvfFitInfo m_fitInfo
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
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()
Default constructor for persistency.
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.