ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Private Attributes | List of all members
Trk::MVFVxCandidate Class Reference

#include <MVFVxCandidate.h>

Inheritance diagram for Trk::MVFVxCandidate:
Collaboration diagram for Trk::MVFVxCandidate:

Public Member Functions

 MVFVxCandidate ()
 Default constructor and destructor. More...
 
virtual ~MVFVxCandidate ()
 
 MVFVxCandidate (const Trk::RecVertex &recVertex, const std::vector< Trk::VxTrackAtVertex * > &vxTrackAtVertex)
 Reimplementation of the VxCandidate constructor. More...
 
 MVFVxCandidate (xAOD::Vertex *constraintVertex, Amg::Vector3D *seedVertex, Amg::Vector3D *linearizationVertex, const Trk::RecVertex &recVertex, std::vector< Trk::VxTrackAtVertex * > &vxTrackAtVertex)
 Constructors with additional information: constraint vertex, seed vertex, linearization point. More...
 
 MVFVxCandidate (xAOD::Vertex *constraintVertex, Amg::Vector3D *seedVertex, Amg::Vector3D *linearizationVertex)
 Constructors with additional information: constraint vertex, seed vertex, linearization point. More...
 
 MVFVxCandidate (const MVFVxCandidate &rhs)
 Copy-constructor. More...
 
MVFVxCandidateoperator= (const MVFVxCandidate &)
 Assignement operator. More...
 
const Trk::MvfFitInfovertexFitInfo (void) const
 Fit info const access. More...
 
Trk::MvfFitInfovertexFitInfo (void)
 Fit info unconst access. More...
 
void setVertexFitInfo (const Trk::MvfFitInfo &info)
 Fit info set method. More...
 
bool isInitialized (void)
 Intializaion check. More...
 
void setInitialized (bool what)
 Set intializaion. More...
 
virtual MVFVxCandidateclone () const
 Clone method. More...
 
virtual MsgStream & dump (MsgStream &sl) const
 Output Method for MsgStream, to be overloaded by child classes. More...
 
virtual std::ostream & dump (std::ostream &sl) const
 Output Method for std::ostream, to be overloaded by child classes. More...
 
const Trk::RecVertexrecVertex (void) const
 Returns a reference to reconstructed vertex. More...
 
Trk::RecVertexrecVertex (void)
 Returns unconst reference to a reconstructed vertex Required by some of the vertex fitters. More...
 
void setRecVertex (Trk::RecVertex &recVertex)
 RecVertex set method. More...
 
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex (void)
 Unconst pointer to the vector of tracks Required by some of the vertex fitters. More...
 
const std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex (void) const
 Const access to the vector of tracks fitted to the vertex. More...
 
void setVertexType (VertexType vertexType)
 return the type of the vertex More...
 
VertexType vertexType () const
 return the type of the vertex More...
 

Static Public Member Functions

static std::size_t numberOfInstantiations ()
 

Static Public Attributes

static std::atomic_size_t s_numberOfInstantiations
 

Protected Attributes

Trk::VertexType m_vertexType
 
Trk::RecVertex m_recVertex
 
std::vector< Trk::VxTrackAtVertex * > m_vxTrackAtVertex
 

Private Attributes

Trk::MvfFitInfo m_fitInfo
 
bool m_initialized {}
 

Detailed Description

Definition at line 36 of file MVFVxCandidate.h.

Constructor & Destructor Documentation

◆ MVFVxCandidate() [1/5]

Trk::MVFVxCandidate::MVFVxCandidate ( )

Default constructor and destructor.

Definition at line 29 of file MVFVxCandidate.cxx.

30  {}
31 
33  Amg::Vector3D* seedVertex,

◆ ~MVFVxCandidate()

Trk::MVFVxCandidate::~MVFVxCandidate ( )
virtualdefault

◆ MVFVxCandidate() [2/5]

Trk::MVFVxCandidate::MVFVxCandidate ( const Trk::RecVertex recVertex,
const std::vector< Trk::VxTrackAtVertex * > &  vxTrackAtVertex 
)

Reimplementation of the VxCandidate constructor.

Definition at line 35 of file MVFVxCandidate.cxx.

36  :
38  m_fitInfo(Trk::MvfFitInfo(constraintVertex,seedVertex,linearizationVertex)),
39  m_initialized(true){}

◆ MVFVxCandidate() [3/5]

Trk::MVFVxCandidate::MVFVxCandidate ( xAOD::Vertex constraintVertex,
Amg::Vector3D seedVertex,
Amg::Vector3D linearizationVertex,
const Trk::RecVertex recVertex,
std::vector< Trk::VxTrackAtVertex * > &  vxTrackAtVertex 
)

Constructors with additional information: constraint vertex, seed vertex, linearization point.

Definition at line 41 of file MVFVxCandidate.cxx.

43  :
44  VxCandidate(),
45  m_fitInfo(Trk::MvfFitInfo(constraintVertex,seedVertex,linearizationVertex)),
46  m_initialized(false){}
47 
48 

◆ MVFVxCandidate() [4/5]

Trk::MVFVxCandidate::MVFVxCandidate ( xAOD::Vertex constraintVertex,
Amg::Vector3D seedVertex,
Amg::Vector3D linearizationVertex 
)

Constructors with additional information: constraint vertex, seed vertex, linearization point.

Definition at line 50 of file MVFVxCandidate.cxx.

54  {
55  if (this!=&rhs)

◆ MVFVxCandidate() [5/5]

Trk::MVFVxCandidate::MVFVxCandidate ( const MVFVxCandidate rhs)
default

Copy-constructor.

Member Function Documentation

◆ clone()

Trk::MVFVxCandidate * Trk::MVFVxCandidate::clone ( ) const
inlinevirtual

Clone method.

Reimplemented from Trk::VxCandidate.

Definition at line 144 of file MVFVxCandidate.h.

145  {
146  return new Trk::MVFVxCandidate(*this);
147  }

◆ dump() [1/2]

MsgStream & Trk::MVFVxCandidate::dump ( MsgStream &  sl) const
virtual

Output Method for MsgStream, to be overloaded by child classes.

Reimplemented from Trk::VxCandidate.

Definition at line 76 of file MVFVxCandidate.cxx.

◆ dump() [2/2]

std::ostream & Trk::MVFVxCandidate::dump ( std::ostream &  sl) const
virtual

Output Method for std::ostream, to be overloaded by child classes.

Reimplemented from Trk::VxCandidate.

Definition at line 83 of file MVFVxCandidate.cxx.

◆ isInitialized()

bool Trk::MVFVxCandidate::isInitialized ( void  )
inline

Intializaion check.

Definition at line 121 of file MVFVxCandidate.h.

121  {
122  return m_initialized;
123  }

◆ numberOfInstantiations()

static std::size_t Trk::ObjectCounter< Trk::VxCandidate >::numberOfInstantiations ( )
inlinestaticinherited

Definition at line 25 of file TrkObjectCounter.h.

26  {
27 #ifndef NDEBUG
28  return s_numberOfInstantiations.load();
29 #endif
30  return 0;
31  }

◆ operator=()

MVFVxCandidate & Trk::MVFVxCandidate::operator= ( const MVFVxCandidate rhs)

Assignement operator.

Definition at line 62 of file MVFVxCandidate.cxx.

67  {
68  sl << "Printing Trk::MVFVxCandidate:" << endmsg;
69  // for now just print base class
71  return sl;

◆ recVertex() [1/2]

Trk::RecVertex & Trk::VxCandidate::recVertex ( void  )
inlineinherited

Returns unconst reference to a reconstructed vertex Required by some of the vertex fitters.

Definition at line 138 of file VxCandidate.h.

139 {
140  return m_recVertex;
141 }

◆ recVertex() [2/2]

const Trk::RecVertex & Trk::VxCandidate::recVertex ( void  ) const
inlineinherited

Returns a reference to reconstructed vertex.

Definition at line 132 of file VxCandidate.h.

133 {
134  return m_recVertex;
135 }

◆ setInitialized()

void Trk::MVFVxCandidate::setInitialized ( bool  what)
inline

Set intializaion.

Definition at line 125 of file MVFVxCandidate.h.

125  {
127  }

◆ setRecVertex()

void Trk::VxCandidate::setRecVertex ( Trk::RecVertex recVertex)
inlineinherited

RecVertex set method.

Definition at line 126 of file VxCandidate.h.

127 {
129 }

◆ setVertexFitInfo()

void Trk::MVFVxCandidate::setVertexFitInfo ( const Trk::MvfFitInfo info)
inline

Fit info set method.

Definition at line 139 of file MVFVxCandidate.h.

140  {
141  m_fitInfo = info;
142  }

◆ setVertexType()

void Trk::VxCandidate::setVertexType ( VertexType  vertexType)
inlineinherited

return the type of the vertex

Definition at line 114 of file VxCandidate.h.

115 {
117 }

◆ vertexFitInfo() [1/2]

Trk::MvfFitInfo & Trk::MVFVxCandidate::vertexFitInfo ( void  )
inline

Fit info unconst access.

Definition at line 134 of file MVFVxCandidate.h.

135  {
136  return m_fitInfo;
137  }

◆ vertexFitInfo() [2/2]

const Trk::MvfFitInfo & Trk::MVFVxCandidate::vertexFitInfo ( void  ) const
inline

Fit info const access.

Definition at line 129 of file MVFVxCandidate.h.

130  {
131  return m_fitInfo;
132  }

◆ vertexType()

VertexType Trk::VxCandidate::vertexType ( ) const
inlineinherited

return the type of the vertex

Definition at line 120 of file VxCandidate.h.

121 {
122  return m_vertexType;
123 }

◆ vxTrackAtVertex() [1/2]

std::vector< Trk::VxTrackAtVertex * > * Trk::VxCandidate::vxTrackAtVertex ( void  )
inlineinherited

Unconst pointer to the vector of tracks Required by some of the vertex fitters.

Definition at line 144 of file VxCandidate.h.

145 {
146  return &m_vxTrackAtVertex;
147 }

◆ vxTrackAtVertex() [2/2]

const std::vector< Trk::VxTrackAtVertex * > * Trk::VxCandidate::vxTrackAtVertex ( void  ) const
inlineinherited

Const access to the vector of tracks fitted to the vertex.

Definition at line 150 of file VxCandidate.h.

151 {
152  return &m_vxTrackAtVertex;
153 }

Member Data Documentation

◆ m_fitInfo

Trk::MvfFitInfo Trk::MVFVxCandidate::m_fitInfo
private

Definition at line 116 of file MVFVxCandidate.h.

◆ m_initialized

bool Trk::MVFVxCandidate::m_initialized {}
private

Definition at line 117 of file MVFVxCandidate.h.

◆ m_recVertex

Trk::RecVertex Trk::VxCandidate::m_recVertex
protectedinherited

Definition at line 99 of file VxCandidate.h.

◆ m_vertexType

Trk::VertexType Trk::VxCandidate::m_vertexType
protectedinherited

Definition at line 96 of file VxCandidate.h.

◆ m_vxTrackAtVertex

std::vector<Trk::VxTrackAtVertex*> Trk::VxCandidate::m_vxTrackAtVertex
protectedinherited

Definition at line 102 of file VxCandidate.h.

◆ s_numberOfInstantiations

std::atomic_size_t Trk::ObjectCounter< Trk::VxCandidate >::s_numberOfInstantiations
inlinestaticinherited

Definition at line 22 of file TrkObjectCounter.h.


The documentation for this class was generated from the following files:
grepfile.info
info
Definition: grepfile.py:38
Trk::VxCandidate::recVertex
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Definition: VxCandidate.h:132
Trk::VxCandidate::m_vertexType
Trk::VertexType m_vertexType
Definition: VxCandidate.h:96
Trk::MVFVxCandidate
Definition: MVFVxCandidate.h:37
Trk::VxCandidate::vertexType
VertexType vertexType() const
return the type of the vertex
Definition: VxCandidate.h:120
Trk::VxCandidate::VxCandidate
VxCandidate()
Default constructor for persistency.
Definition: VxCandidate.cxx:27
Trk::VxCandidate::m_recVertex
Trk::RecVertex m_recVertex
Definition: VxCandidate.h:99
Trk::VxCandidate::vxTrackAtVertex
std::vector< Trk::VxTrackAtVertex * > * vxTrackAtVertex(void)
Unconst pointer to the vector of tracks Required by some of the vertex fitters.
Definition: VxCandidate.h:144
Trk::MVFVxCandidate::m_fitInfo
Trk::MvfFitInfo m_fitInfo
Definition: MVFVxCandidate.h:116
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Trk::VxCandidate::m_vxTrackAtVertex
std::vector< Trk::VxTrackAtVertex * > m_vxTrackAtVertex
Definition: VxCandidate.h:102
Trk::VxCandidate::dump
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Definition: VxCandidate.cxx:106
python.ExitCodes.what
def what(code)
Definition: ExitCodes.py:73
Trk::MVFVxCandidate::MVFVxCandidate
MVFVxCandidate()
Default constructor and destructor.
Definition: MVFVxCandidate.cxx:29
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::ObjectCounter< Trk::VxCandidate >::s_numberOfInstantiations
static std::atomic_size_t s_numberOfInstantiations
Definition: TrkObjectCounter.h:22
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Trk::MVFVxCandidate::m_initialized
bool m_initialized
Definition: MVFVxCandidate.h:117
Trk::MvfFitInfo
Definition: MvfFitInfo.h:40