ATLAS Offline Software
VxJetFitterVertexInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /****************************************
6 
7  VxJetFitterVertexInfo.h - Description
8  -------------------
9 
10  begin: January 2008
11  author: Giacinto Piacquadio (University of Freiburg)
12  e-mail: giacinto.piacquadio@physik.uni-freiburg.de
13  changes: new!
14 
15 Class which inherits from VxSecVertexInfo and contains the additional
16 information JetFitter vs. 2 is able to provide:
17 1) TwoTrackVerticesInJet
18 2) SelectedTracksInJet
19 (Material interactions will be provided in the near future...
20 if convenient)
21 
22  April 2014: Trk::VxCandidate is replaced by xAOD::Vertex
23 ********************************************/
24 
25 #ifndef VXSECVERTEX_VxJetFitterVertexInfo_H
26 #define VXSECVERTEX_VxJetFitterVertexInfo_H
27 
28 #include "AthLinks/ElementLink.h"
30 #include <vector>
31 
32 
33 namespace Trk {
34 
35  class TwoTrackVerticesInJet;
36  class SelectedTracksInJet;
37  class VxCandidate;
38  class VxJetCandidate;
39 
40  class VxJetFitterVertexInfo : public VxSecVertexInfo {
41 
42  public:
43 
44  /* default constructor for persistency */
46 
47  /* constructor with everything */
48  VxJetFitterVertexInfo(const std::vector<Trk::VxJetCandidate*> & vertices,
49  const Trk::TwoTrackVerticesInJet * twoTrackVertices,
50  const Trk::SelectedTracksInJet* selectedTracksInJet);
51 
52  /* copy constructor */
54 
55  /* clone method */
56  virtual VxJetFitterVertexInfo* clone() const;
57 
58  /* assignment operator */
60 
61  /* destructor */
62  virtual ~VxJetFitterVertexInfo();
63 
64  /* get twoTrackVerticesInJet */
66 
67  /* get selectedTracksInJet */
69 
70  /* get the list of Vertices */
71  const std::vector<Trk::VxJetCandidate*> & verticesJF() const;
72 
73  private:
74 
77  std::vector<Trk::VxJetCandidate*> m_verticesJF;
78 
79  };
80 
81  /* get twoTrackVerticesInJet */
83  {
85  }
86 
87 
88  /* get selectedTracksInJet */
90  {
91  return m_selectedTracksInJet;
92  }
93 
94  inline const std::vector<Trk::VxJetCandidate*> & VxJetFitterVertexInfo::verticesJF() const {
95  return m_verticesJF;
96  }
97 
98  /* clone method */
99  // this method returns a newly-allocated VxJetFitterVertexInfo
100  // caller is responsible for deleting it.
102  return new VxJetFitterVertexInfo(*this);
103  }
104 
105 
106 }//end namespace Trk
107 
108 #endif
Trk::VxJetFitterVertexInfo::m_selectedTracksInJet
const Trk::SelectedTracksInJet * m_selectedTracksInJet
Definition: VxJetFitterVertexInfo.h:94
Trk::SelectedTracksInJet
Definition: SelectedTracksInJet.h:62
Trk::VxJetFitterVertexInfo::~VxJetFitterVertexInfo
virtual ~VxJetFitterVertexInfo()
Definition: VxJetFitterVertexInfo.cxx:101
Trk::VxJetFitterVertexInfo::m_verticesJF
std::vector< Trk::VxJetCandidate * > m_verticesJF
Definition: VxJetFitterVertexInfo.h:95
Trk::VxJetFitterVertexInfo::getTwoTrackVerticesInJet
const Trk::TwoTrackVerticesInJet * getTwoTrackVerticesInJet() const
Definition: VxJetFitterVertexInfo.h:100
Trk::VxSecVertexInfo::vertices
const std::vector< xAOD::Vertex * > & vertices() const
Definition: VxSecVertexInfo.cxx:100
Trk::VxJetFitterVertexInfo::operator=
VxJetFitterVertexInfo & operator=(const VxJetFitterVertexInfo &)
Definition: VxJetFitterVertexInfo.cxx:75
Trk::TwoTrackVerticesInJet
Definition: TwoTrackVerticesInJet.h:45
VxSecVertexInfo.h
Trk::VxJetFitterVertexInfo::m_twoTrackVerticesInJet
const Trk::TwoTrackVerticesInJet * m_twoTrackVerticesInJet
Definition: VxJetFitterVertexInfo.h:93
Trk::VxJetFitterVertexInfo
Definition: VxJetFitterVertexInfo.h:58
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::VxJetFitterVertexInfo::clone
virtual VxJetFitterVertexInfo * clone() const
Definition: VxJetFitterVertexInfo.h:119
Trk::VxJetFitterVertexInfo::VxJetFitterVertexInfo
VxJetFitterVertexInfo()
Definition: VxJetFitterVertexInfo.cxx:39
Trk::VxJetFitterVertexInfo::verticesJF
const std::vector< Trk::VxJetCandidate * > & verticesJF() const
Definition: VxJetFitterVertexInfo.h:112
Trk::VxJetFitterVertexInfo::getSelectedTracksInJet
const Trk::SelectedTracksInJet * getSelectedTracksInJet() const
Definition: VxJetFitterVertexInfo.h:107