ATLAS Offline Software
Loading...
Searching...
No Matches
VertexPositions.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 VertexPositions.h - Description
7 -------------------
8 begin : Autumn 2006
9 authors : Giacinto Piacquadio (Freiburg University)
10 email : giacinto.piacquadio@cern.ch
11 changes :
12
13 ***************************************************************************/
14
15#ifndef VXJETVERTEX_VERTEXPOSITIONS_H
16#define VXJETVERTEX_VERTEXPOSITIONS_H
17
20#include "GaudiKernel/MsgStream.h"
22#include <atomic>
24namespace Trk {
25
27class VertexPositions : public Trk::ObjectCounter<Trk::VertexPositions>
28{
29public:
32 VertexPositions(const VertexPositions&) = default;
36 virtual ~VertexPositions() = default;
37
39 virtual MsgStream& dump(MsgStream& sl) const;
41 virtual std::ostream& dump(std::ostream& sl) const;
42
43 const Amg::VectorX& position() const;
44
45 void setPosition(const Amg::VectorX&);
46
47protected:
49 bool m_useWeightTimesPosition; // bool for storing weightTimesPosition
50};
51
54MsgStream&
55operator<<(MsgStream& sl, const VertexPositions& sf);
56std::ostream&
57operator<<(std::ostream& sl, const VertexPositions& sf);
58
59} // end of namespace Trk
60
61#endif
Helper to enable counting number of instantiations in debug builds.
VertexPositions class to represent and store a vertex.
VertexPositions(VertexPositions &&)=default
move constructor
VertexPositions & operator=(const VertexPositions &)=default
Assignment operator.
VertexPositions()
default constructor
void setPosition(const Amg::VectorX &)
Amg::VectorX m_position
vertex position
VertexPositions & operator=(VertexPositions &&)=default
move Assignment operator
VertexPositions(const VertexPositions &)=default
copy constructor
virtual ~VertexPositions()=default
const Amg::VectorX & position() const
return position of vertex
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
-event-from-file