ATLAS Offline Software
Loading...
Searching...
No Matches
VxVertexOnJetAxis.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/***************************************************************************
6 VxVertexOnJetAxis.h - Description
7 -------------------
8 begin : Februar 2007
9 authors : Giacinto Piacquadio (University of Freiburg)
10 Christian Weiser (University of Freiburg)
11 e-mails: giacinto.piacquadio@physik.uni-freiburg.de)
12 christian.weiser@cern.ch
13 changes: new!
14
15 (c) Atlas Collaboration 2007
16
17 This class represents one vertex on the Jet axis to be fitted by the
18 "JetFitter" algorithm and all vertices are stored in a vector inside
19 the VxJetCandidate class.
20
21 It contains a vector of pointers to the tracks which belongs to the vertex:
22 this tracks "belong" directly to the VxJetCandidate.
23
24 Properties of the single VxVertexOnJetAxis class are:
25 FitQuality (chi2 and ndf)
26 Num_vertex (gives the vertex numbering scheme, used internally by JetFitter,
27 should not be needed by the user)
28 CompatibilityToPrimaryVtx (gives the probability of that vertex to be compatible
29 with the primary vertex)
30
31
32 ***************************************************************************/
33
34#ifndef VXJETVERTEX_VxVertexOnJetAxis_H
35#define VXJETVERTEX_VxVertexOnJetAxis_H
36
37#include "GaudiKernel/MsgStream.h"
39
40namespace Trk {
41
42 class VxTrackAtVertex;
43
50
52 {
53 public:
54
60
61
65 VxVertexOnJetAxis(std::vector<VxTrackAtVertex*> tracksAtVertex);
66
71 VxVertexOnJetAxis(std::vector<VxTrackAtVertex*> tracksAtVertex,
72 int numVertex);
73
79
83 virtual MsgStream& dump(MsgStream& sl) const;
84
88 virtual std::ostream& dump(std::ostream& sl) const;
89
93 void setNumVertex(int numVertex);
94
98 int getNumVertex(void) const;
99
104
105
109 const Trk::FitQuality& fitQuality() const;
110
115
116
120 const std::vector<VxTrackAtVertex*> & getTracksAtVertex(void) const;
121
122
126 void setTracksAtVertex(std::vector<VxTrackAtVertex*> tracksAtVertex);
127
131 float getCompatibilityToPrimaryVtx(void) const;
132
137
138 private:
139 std::vector<VxTrackAtVertex*> m_tracksAtVertex;
140 int m_numVertex;//starts from 0, is used internally by the fitter, should not be needed by the user
141 Trk::FitQuality m_fitQuality; //chi2 and number of degrees of freedom of the fit
143 };
144
145
146
147
148} // end of namespace
149#endif
150
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
Definition FitQuality.h:97
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
VxVertexOnJetAxis(const VxVertexOnJetAxis &)
Copy constructor and assignement operator.
void setNumVertex(int numVertex)
Set Method for NumVertex.
std::vector< VxTrackAtVertex * > m_tracksAtVertex
void setTracksAtVertex(std::vector< VxTrackAtVertex * > tracksAtVertex)
set Tracks At Vertex Method
void setFitQuality(const Trk::FitQuality &fitQuality)
Fit quality set method.
const Trk::FitQuality & fitQuality() const
Fit quality access method.
VxVertexOnJetAxis & operator=(const VxVertexOnJetAxis &)
int getNumVertex(void) const
Get Method for NumVertex.
VxVertexOnJetAxis()
Default constructor, if called initializes a VxVertexOnJetAxis with all data members set to 0.
const std::vector< VxTrackAtVertex * > & getTracksAtVertex(void) const
get Tracks At Vertex Method
virtual ~VxVertexOnJetAxis()
Destructor.
void setCompatibilityToPrimaryVtx(float)
set compatibility to the primary vertex
float getCompatibilityToPrimaryVtx(void) const
get compatibility to the primary vertex
Ensure that the ATLAS eigen extensions are properly loaded.
-event-from-file