ATLAS Offline Software
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
21 class MsgStream;
22 class RecVertexCnv_p1;
23 
24 namespace Trk {
25 class Vertex : public Trk::ObjectCounter<Trk::Vertex>
26 {
27 public:
32  Vertex();
33  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 
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 
Trk::Vertex::Vertex
Vertex(Vertex &&)=default
Trk::Vertex
Definition: Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:26
RecVertexCnv_p1
Definition: RecVertexCnv_p1.h:27
TrkObjectCounter.h
Trk::Vertex::operator=
Vertex & operator=(Vertex &&)=default
Trk::ObjectCounter
Helper to enable counting number of instantiations in debug builds.
Definition: TrkObjectCounter.h:18
Trk::Vertex::m_position
Amg::Vector3D m_position
vertex position
Definition: Tracking/TrkEvent/VxVertex/VxVertex/Vertex.h:51
GeoPrimitives.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Trk::Vertex::Vertex
Vertex(const Vertex &)=default
Trk::Vertex::dump
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Definition: Vertex.cxx:44
Trk::Vertex::operator=
Vertex & operator=(const Vertex &)=default
Trk::Vertex::position
const Amg::Vector3D & position() const
return position of vertex
Definition: Vertex.cxx:72
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::Vertex::Vertex
Vertex()
Contructors: default, copy and a constructor taking a vertex position (Amg::Vector3D) as argument.
Definition: Vertex.cxx:30
Trk::Vertex::~Vertex
virtual ~Vertex()=default
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition: AlignModule.cxx:204