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

VxVertexOnJetAxis inherits from Vertex. More...

#include <VxVertexOnJetAxis.h>

Collaboration diagram for Trk::VxVertexOnJetAxis:

Public Member Functions

 VxVertexOnJetAxis ()
 Default constructor, if called initializes a VxVertexOnJetAxis with all data members set to 0. More...
 
 VxVertexOnJetAxis (std::vector< VxTrackAtVertex * > tracksAtVertex)
 Constructs a VxVertexOnJetAxis with its tracks pointers. More...
 
 VxVertexOnJetAxis (std::vector< VxTrackAtVertex * > tracksAtVertex, int numVertex)
 Constructs a VxVertexOnJetAxis with its tracks pointers + number of Vertex (only internally used by the fitter) More...
 
 VxVertexOnJetAxis (const VxVertexOnJetAxis &)
 Copy constructor and assignement operator. More...
 
VxVertexOnJetAxisoperator= (const VxVertexOnJetAxis &)
 
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...
 
void setNumVertex (int numVertex)
 Set Method for NumVertex. More...
 
int getNumVertex (void) const
 Get Method for NumVertex. More...
 
virtual ~VxVertexOnJetAxis ()
 Destructor. More...
 
const Trk::FitQualityfitQuality () const
 Fit quality access method. More...
 
void setFitQuality (const Trk::FitQuality &fitQuality)
 Fit quality set method. More...
 
const std::vector< VxTrackAtVertex * > & getTracksAtVertex (void) const
 get Tracks At Vertex Method More...
 
void setTracksAtVertex (std::vector< VxTrackAtVertex * > tracksAtVertex)
 set Tracks At Vertex Method More...
 
float getCompatibilityToPrimaryVtx (void) const
 get compatibility to the primary vertex More...
 
void setCompatibilityToPrimaryVtx (float)
 set compatibility to the primary vertex More...
 

Private Attributes

std::vector< VxTrackAtVertex * > m_tracksAtVertex
 
int m_numVertex
 
Trk::FitQuality m_fitQuality
 
float m_compatibilityToPrimaryVtx
 

Detailed Description

VxVertexOnJetAxis inherits from Vertex.

In addition to the vertex position, defined in Vertex class, it contains its error matrix, which can be retrieved as covariance or weight matrix, and well as fit quality (in for of chi2 and ndf).

Definition at line 78 of file VxVertexOnJetAxis.h.

Constructor & Destructor Documentation

◆ VxVertexOnJetAxis() [1/4]

Trk::VxVertexOnJetAxis::VxVertexOnJetAxis ( )

Default constructor, if called initializes a VxVertexOnJetAxis with all data members set to 0.

Definition at line 41 of file VxVertexOnJetAxis.cxx.

43  {}
44 

◆ VxVertexOnJetAxis() [2/4]

Trk::VxVertexOnJetAxis::VxVertexOnJetAxis ( std::vector< VxTrackAtVertex * >  tracksAtVertex)

Constructs a VxVertexOnJetAxis with its tracks pointers.

Definition at line 46 of file VxVertexOnJetAxis.cxx.

48  {
49  if (this!=&rhs)
50  {

◆ VxVertexOnJetAxis() [3/4]

Trk::VxVertexOnJetAxis::VxVertexOnJetAxis ( std::vector< VxTrackAtVertex * >  tracksAtVertex,
int  numVertex 
)

Constructs a VxVertexOnJetAxis with its tracks pointers + number of Vertex (only internally used by the fitter)

Definition at line 52 of file VxVertexOnJetAxis.cxx.

◆ VxVertexOnJetAxis() [4/4]

Trk::VxVertexOnJetAxis::VxVertexOnJetAxis ( const VxVertexOnJetAxis )
default

Copy constructor and assignement operator.

◆ ~VxVertexOnJetAxis()

Trk::VxVertexOnJetAxis::~VxVertexOnJetAxis ( )
virtualdefault

Destructor.

Member Function Documentation

◆ dump() [1/2]

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

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

Definition at line 74 of file VxVertexOnJetAxis.cxx.

76  {

◆ dump() [2/2]

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

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

Definition at line 79 of file VxVertexOnJetAxis.cxx.

80  {
81  m_numVertex=numVertex;
82  }

◆ fitQuality()

const Trk::FitQuality & Trk::VxVertexOnJetAxis::fitQuality ( ) const

Fit quality access method.

Definition at line 86 of file VxVertexOnJetAxis.cxx.

88  {

◆ getCompatibilityToPrimaryVtx()

float Trk::VxVertexOnJetAxis::getCompatibilityToPrimaryVtx ( void  ) const

get compatibility to the primary vertex

Definition at line 113 of file VxVertexOnJetAxis.cxx.

◆ getNumVertex()

int Trk::VxVertexOnJetAxis::getNumVertex ( void  ) const

Get Method for NumVertex.

Definition at line 98 of file VxVertexOnJetAxis.cxx.

99  {

◆ getTracksAtVertex()

const std::vector< VxTrackAtVertex * > & Trk::VxVertexOnJetAxis::getTracksAtVertex ( void  ) const

get Tracks At Vertex Method

Definition at line 102 of file VxVertexOnJetAxis.cxx.

◆ operator=()

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

Definition at line 61 of file VxVertexOnJetAxis.cxx.

61  : no info implemented sofar" << std::endl;
62  return sl;
63  }
64 
65  std::ostream& VxVertexOnJetAxis::dump(std::ostream& sl) const {
66  sl << "Trk::VxVertexOnJetAxis: no info implemented sofar" << std::endl;
67  return sl;
68  }
69 
70  VxVertexOnJetAxis::~VxVertexOnJetAxis() = default;
71 
72  const Trk::FitQuality& VxVertexOnJetAxis::fitQuality() const {

◆ setCompatibilityToPrimaryVtx()

void Trk::VxVertexOnJetAxis::setCompatibilityToPrimaryVtx ( float  newcomp)

set compatibility to the primary vertex

Definition at line 121 of file VxVertexOnJetAxis.cxx.

◆ setFitQuality()

void Trk::VxVertexOnJetAxis::setFitQuality ( const Trk::FitQuality fitQuality)

Fit quality set method.

Definition at line 90 of file VxVertexOnJetAxis.cxx.

92  {

◆ setNumVertex()

void Trk::VxVertexOnJetAxis::setNumVertex ( int  numVertex)

Set Method for NumVertex.

Definition at line 94 of file VxVertexOnJetAxis.cxx.

◆ setTracksAtVertex()

void Trk::VxVertexOnJetAxis::setTracksAtVertex ( std::vector< VxTrackAtVertex * >  tracksAtVertex)

set Tracks At Vertex Method

Definition at line 106 of file VxVertexOnJetAxis.cxx.

107  {

Member Data Documentation

◆ m_compatibilityToPrimaryVtx

float Trk::VxVertexOnJetAxis::m_compatibilityToPrimaryVtx
private

Definition at line 169 of file VxVertexOnJetAxis.h.

◆ m_fitQuality

Trk::FitQuality Trk::VxVertexOnJetAxis::m_fitQuality
private

Definition at line 168 of file VxVertexOnJetAxis.h.

◆ m_numVertex

int Trk::VxVertexOnJetAxis::m_numVertex
private

Definition at line 167 of file VxVertexOnJetAxis.h.

◆ m_tracksAtVertex

std::vector<VxTrackAtVertex*> Trk::VxVertexOnJetAxis::m_tracksAtVertex
private

Definition at line 166 of file VxVertexOnJetAxis.h.


The documentation for this class was generated from the following files:
grepfile.info
info
Definition: grepfile.py:38
Trk::VxVertexOnJetAxis
VxVertexOnJetAxis inherits from Vertex.
Definition: VxVertexOnJetAxis.h:79
Trk::VxVertexOnJetAxis::m_compatibilityToPrimaryVtx
float m_compatibilityToPrimaryVtx
Definition: VxVertexOnJetAxis.h:169
Trk::VxVertexOnJetAxis::fitQuality
const Trk::FitQuality & fitQuality() const
Fit quality access method.
Definition: VxVertexOnJetAxis.cxx:86
Trk::VxVertexOnJetAxis::m_numVertex
int m_numVertex
Definition: VxVertexOnJetAxis.h:167
ReadFromCoolCompare.no
no
Definition: ReadFromCoolCompare.py:232
Trk::VxVertexOnJetAxis::m_fitQuality
Trk::FitQuality m_fitQuality
Definition: VxVertexOnJetAxis.h:168