ATLAS Offline Software
MVFVxCandidate.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 VXMULTIVERTEX_MVFVXCANDIDATE_H
6 #define VXMULTIVERTEX_MVFVXCANDIDATE_H
7 
8 #include <vector>
9 #include "VxVertex/RecVertex.h"
11 #include "VxVertex/VxCandidate.h"
13 
34 namespace Trk
35 {
36  class MVFVxCandidate: public VxCandidate
37  {
38  public:
39 
44  virtual ~MVFVxCandidate();
45 
50  const std::vector<Trk::VxTrackAtVertex*>& vxTrackAtVertex);
51 
56  MVFVxCandidate(xAOD::Vertex* constraintVertex,
57  Amg::Vector3D* seedVertex,
58  Amg::Vector3D* linearizationVertex,
60  std::vector<Trk::VxTrackAtVertex*>& vxTrackAtVertex);
61 
66  MVFVxCandidate(xAOD::Vertex* constraintVertex,
67  Amg::Vector3D* seedVertex,
68  Amg::Vector3D* linearizationVertex);
69 
78 
82  const Trk::MvfFitInfo & vertexFitInfo(void) const;
83 
88 
93 
97  bool isInitialized(void);
98 
102  void setInitialized(bool what);
103 
107  virtual MVFVxCandidate* clone() const;
108 
110  virtual MsgStream& dump(MsgStream& sl) const;
112  virtual std::ostream& dump(std::ostream& sl) const;
113 
114  private:
115 
118 
119  }; //end of class definitions
120 
121  inline bool MVFVxCandidate::isInitialized(void) {
122  return m_initialized;
123  }
124 
127  }
128 
130  {
131  return m_fitInfo;
132  }
133 
135  {
136  return m_fitInfo;
137  }
138 
140  {
141  m_fitInfo = info;
142  }
143 
145  {
146  return new Trk::MVFVxCandidate(*this);
147  }
148 
149 }//end of namespace definitions
150 #endif
grepfile.info
info
Definition: grepfile.py:38
RecVertex.h
MvfFitInfo.h
Trk::VxCandidate::recVertex
const Trk::RecVertex & recVertex(void) const
Returns a reference to reconstructed vertex.
Definition: VxCandidate.h:132
Trk::MVFVxCandidate
Definition: MVFVxCandidate.h:37
Trk::MVFVxCandidate::setInitialized
void setInitialized(bool what)
Set intializaion.
Definition: MVFVxCandidate.h:125
Trk::MVFVxCandidate::MVFVxCandidate
MVFVxCandidate(const MVFVxCandidate &rhs)
Copy-constructor.
Trk::MVFVxCandidate::isInitialized
bool isInitialized(void)
Intializaion check.
Definition: MVFVxCandidate.h:121
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition: RecVertex.h:44
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
Trk::MVFVxCandidate::~MVFVxCandidate
virtual ~MVFVxCandidate()
VxTrackAtVertex.h
Trk::MVFVxCandidate::clone
virtual MVFVxCandidate * clone() const
Clone method.
Definition: MVFVxCandidate.h:144
VxCandidate.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
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
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::setVertexFitInfo
void setVertexFitInfo(const Trk::MvfFitInfo &info)
Fit info set method.
Definition: MVFVxCandidate.h:139
Trk::MVFVxCandidate::operator=
MVFVxCandidate & operator=(const MVFVxCandidate &)
Assignement operator.
Definition: MVFVxCandidate.cxx:62
Trk::MVFVxCandidate::vertexFitInfo
const Trk::MvfFitInfo & vertexFitInfo(void) const
Fit info const access.
Definition: MVFVxCandidate.h:129
Trk::MvfFitInfo
Definition: MvfFitInfo.h:40