ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
VxVertex
VxVertex
Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VXVERTEX_VERTEX_H
6
#define VXVERTEX_VERTEX_H
7
#include "
GeoPrimitives/GeoPrimitives.h
"
8
#include "
TrkEventPrimitives/TrkObjectCounter.h
"
20
21
class
MsgStream;
22
class
RecVertexCnv_p1
;
23
24
namespace
Trk
{
25
class
Vertex
:
public
Trk::ObjectCounter
<Trk::Vertex>
26
{
27
public
:
32
Vertex
();
34
Vertex
(
const
Amg::Vector3D
& p);
35
Vertex
(
const
Vertex
&) =
default
;
36
Vertex
&
operator=
(
const
Vertex
&) =
default
;
37
Vertex
(
Vertex
&&) =
default
;
38
Vertex
&
operator=
(
Vertex
&&) =
default
;
39
virtual
~Vertex
() =
default
;
40
42
virtual
MsgStream&
dump
(MsgStream& sl)
const
;
44
virtual
std::ostream&
dump
(std::ostream& sl)
const
;
45
46
const
Amg::Vector3D
&
position
()
const
;
47
48
private
:
49
friend
class ::RecVertexCnv_p1;
50
51
Amg::Vector3D
m_position
;
52
};
53
56
MsgStream&
57
operator<<
(MsgStream& sl,
const
Vertex
& sf);
58
std::ostream&
59
operator<<
(std::ostream& sl,
const
Vertex
& sf);
60
61
}
// end of namespace Trk
62
63
#endif
64
GeoPrimitives.h
TrkObjectCounter.h
RecVertexCnv_p1
Definition
RecVertexCnv_p1.h:27
Trk::ObjectCounter
Helper to enable counting number of instantiations in debug builds.
Definition
TrkObjectCounter.h:18
Trk::Vertex
This class is a simplest representation of a vertex candidate.
Definition
Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:26
Trk::Vertex::Vertex
Vertex(Vertex &&)=default
Trk::Vertex::Vertex
Vertex()
Contructors: default, copy and a constructor taking a vertex position (Amg::Vector3D) as argument.
Definition
Vertex.cxx:21
Trk::Vertex::operator=
Vertex & operator=(const Vertex &)=default
Trk::Vertex::operator=
Vertex & operator=(Vertex &&)=default
Trk::Vertex::position
const Amg::Vector3D & position() const
return position of vertex
Definition
Vertex.cxx:63
Trk::Vertex::~Vertex
virtual ~Vertex()=default
Trk::Vertex::m_position
Amg::Vector3D m_position
vertex position
Definition
Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:51
Trk::Vertex::Vertex
Vertex(const Vertex &)=default
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition
AlignModule.cxx:204
dump
-event-from-file
Generated on
for ATLAS Offline Software by
1.17.0