ATLAS Offline Software
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 
18 namespace 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):
28  VxCandidate(recVertex,vxTrackAtVertex),
29  m_fitInfo(Trk::MvfFitInfo(nullptr,nullptr,nullptr)),
30  m_initialized(true){}
31 
33  Amg::Vector3D* seedVertex,
34  Amg::Vector3D* linearizationVertex,
35  const Trk::RecVertex& recVertex,
36  std::vector<Trk::VxTrackAtVertex*>& vxTrackAtVertex):
37  VxCandidate(recVertex,vxTrackAtVertex),
38  m_fitInfo(Trk::MvfFitInfo(constraintVertex,seedVertex,linearizationVertex)),
39  m_initialized(true){}
40 
42  Amg::Vector3D* seedVertex,
43  Amg::Vector3D* linearizationVertex):
44  VxCandidate(),
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 
Trk::MVFVxCandidate
Definition: MVFVxCandidate.h:37
MVFVxCandidate.h
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition: RecVertex.h:44
Trk::MVFVxCandidate::m_fitInfo
Trk::MvfFitInfo m_fitInfo
Definition: MVFVxCandidate.h:116
Trk::MVFVxCandidate::~MVFVxCandidate
virtual ~MVFVxCandidate()
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Trk::VxCandidate::dump
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Definition: VxCandidate.cxx:106
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::MVFVxCandidate::MVFVxCandidate
MVFVxCandidate()
Default constructor and destructor.
Definition: MVFVxCandidate.cxx:29
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Trk::VxCandidate
Definition: VxCandidate.h:27
Trk::MVFVxCandidate::m_initialized
bool m_initialized
Definition: MVFVxCandidate.h:117
Trk::MVFVxCandidate::dump
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Definition: MVFVxCandidate.cxx:76
Trk::MVFVxCandidate::operator=
MVFVxCandidate & operator=(const MVFVxCandidate &)
Assignement operator.
Definition: MVFVxCandidate.cxx:62
Trk::MvfFitInfo
Definition: MvfFitInfo.h:40