Project
Loading...
Searching...
No Matches
o2::dataformats::Vertex< Stamp > Class Template Reference

#include <Vertex.h>

Inherits o2::dataformats::VertexBase.

Public Types

enum  Flags : ushort { TimeValidated = 0x1 << 0 , UPCMode = 0x1 << 1 , FlagsMask = 0xffff }
 
using ushort = unsigned short
 
- Public Types inherited from o2::dataformats::VertexBase
enum  CovElems : int {
  kCovXX , kCovXY , kCovYY , kCovXZ ,
  kCovYZ , kCovZZ
}
 

Public Member Functions

 GPUhdDefault () Vertex()=default
 
 GPUhdDefault () ~Vertex()=default
 
 GPUhd () Vertex(const float *pos
 
const float ushort float mChi2 (chi2)
 
const float ushort float mNContributors (nCont)
 
 GPUhd () Vertex(const math_utils
 
void print () const
 
std::string asString () const
 
 GPUd () ushort getNContributors() const
 
 GPUd () void setNContributors(ushort v)
 
 GPUd () void addContributor()
 
 GPUd () ushort getFlags() const
 
 GPUd () bool isFlagSet(uint f) const
 
 GPUd () void setFlags(ushort f)
 
 GPUd () void resetFlags(ushort f
 chi2 or quality of tracks to vertex attachment
 
 ClassDefNV (Vertex, 3)
 
- Public Member Functions inherited from o2::dataformats::VertexBase
 GPUhdDefault () VertexBase()=default
 
 GPUhdDefault () ~VertexBase()=default
 
 GPUhd () VertexBase(const float *pos
 
 GPUhd () VertexBase(const math_utils
 
void print () const
 
std::string asString () const
 
 GPUhd () float getX() const
 
 GPUhd () float getY() const
 
 GPUhd () float getZ() const
 
 GPUhd () float getR() const
 
 GPUd () float getSigmaX2() const
 
 GPUd () float getSigmaY2() const
 
 GPUd () float getSigmaZ2() const
 
 GPUd () float getSigmaXY() const
 
 GPUd () float getSigmaXZ() const
 
 GPUd () float getSigmaYZ() const
 
 GPUd () float getSigmaX() const
 
 GPUd () float getSigmaY() const
 
 GPUd () float getSigmaZ() const
 
 GPUd () const std
 
 GPUd () void setX(float x)
 
 GPUd () void setY(float y)
 
 GPUd () void setZ(float z)
 
 GPUd () void setXYZ(float x
 
 setY (y)
 
 setZ (z)
 
 GPUd () void setPos(const math_utils
 
 GPUd () void setSigmaX2(float v)
 
 GPUd () void setSigmaY2(float v)
 
 GPUd () void setSigmaZ2(float v)
 
 GPUd () void setSigmaXY(float v)
 
 GPUd () void setSigmaXZ(float v)
 
 GPUd () void setSigmaYZ(float v)
 
 GPUd () void setSigmaX(float val)
 
 GPUd () void setSigmaY(float val)
 
 GPUd () void setSigmaZ(float val)
 
 GPUd () void setCov(float sxx
 
 setSigmaY2 (syy)
 
 setSigmaZ2 (szz)
 
 setSigmaXY (sxy)
 
 setSigmaXZ (sxz)
 
 setSigmaYZ (syz)
 
 GPUd () void setCov(const std
 
 GPUd () void setCov(float c
 
bool operator== (const VertexBase &other) const
 
bool operator!= (const VertexBase &other) const
 

Public Attributes

const float * cov
 
const float ushort nCont
 
const float ushort float chi2: VertexBase(pos
 
const float ushort float cov
 
ushort mNContributors = 0
 N contributors.
 
ushort mBits = 0
 bit field for flags
 
Stamp mTimeStamp
 vertex time-stamp
 
- Public Attributes inherited from o2::dataformats::VertexBase
const float * cov
 
 mCov [kCovXX] = cov[kCovXX]
 
float y
 
float float z
 
float sxy
 
float float syy
 
float float float sxz
 
float float float float syz
 
float float float float float szz
 
int e { mCov[e] = c
 

Additional Inherited Members

- Static Public Attributes inherited from o2::dataformats::VertexBase
static constexpr int kNCov = 6
 
- Protected Member Functions inherited from o2::dataformats::VertexBase
 ClassDefNV (VertexBase, 1)
 
- Protected Attributes inherited from o2::dataformats::VertexBase
math_utils::Point3D< float > mPos {0., 0., 0.}
 cartesian position
 
std::array< float, kNCovmCov {}
 errors, see CovElems enum
 

Detailed Description

template<typename Stamp>
class o2::dataformats::Vertex< Stamp >

Definition at line 135 of file Vertex.h.

Member Typedef Documentation

◆ ushort

template<typename Stamp >
using o2::dataformats::Vertex< Stamp >::ushort = unsigned short

Definition at line 138 of file Vertex.h.

Member Enumeration Documentation

◆ Flags

template<typename Stamp >
enum o2::dataformats::Vertex::Flags : ushort
Enumerator
TimeValidated 
UPCMode 
FlagsMask 

Definition at line 139 of file Vertex.h.

Member Function Documentation

◆ asString()

template<typename Stamp >
std::string o2::dataformats::Vertex< Stamp >::asString ( ) const
inline

Definition at line 197 of file Vertex.h.

◆ ClassDefNV()

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::ClassDefNV ( Vertex< Stamp >  ,
 
)

◆ GPUd() [1/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( ) const
inline

Definition at line 160 of file Vertex.h.

◆ GPUd() [2/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( ) const
inline

Definition at line 159 of file Vertex.h.

◆ GPUd() [3/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( ) const
inline

Definition at line 155 of file Vertex.h.

◆ GPUd() [4/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( )
inline

Definition at line 157 of file Vertex.h.

◆ GPUd() [5/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( )

chi2 or quality of tracks to vertex attachment

◆ GPUd() [6/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( )
inline

Definition at line 161 of file Vertex.h.

◆ GPUd() [7/7]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUd ( )
inline

Definition at line 156 of file Vertex.h.

◆ GPUhd() [1/2]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUhd ( ) const

◆ GPUhd() [2/2]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUhd ( ) const
inline

Definition at line 148 of file Vertex.h.

◆ GPUhdDefault() [1/2]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUhdDefault ( )
default

◆ GPUhdDefault() [2/2]

template<typename Stamp >
o2::dataformats::Vertex< Stamp >::GPUhdDefault ( )
default

◆ mChi2()

template<typename Stamp >
const float ushort float o2::dataformats::Vertex< Stamp >::mChi2 ( chi2  )

◆ mNContributors()

template<typename Stamp >
const float ushort float o2::dataformats::Vertex< Stamp >::mNContributors ( nCont  )
inline

Definition at line 147 of file Vertex.h.

◆ print()

template<typename Stamp >
void o2::dataformats::Vertex< Stamp >::print ( ) const
inline

Definition at line 221 of file Vertex.h.

Member Data Documentation

◆ chi2

template<typename Stamp >
const float ushort float o2::dataformats::Vertex< Stamp >::chi2

Definition at line 147 of file Vertex.h.

◆ cov [1/2]

template<typename Stamp >
const float* o2::dataformats::Vertex< Stamp >::cov

Definition at line 147 of file Vertex.h.

◆ cov [2/2]

template<typename Stamp >
const float ushort float o2::dataformats::Vertex< Stamp >::cov

Definition at line 147 of file Vertex.h.

◆ mBits

template<typename Stamp >
ushort o2::dataformats::Vertex< Stamp >::mBits = 0

bit field for flags

Definition at line 174 of file Vertex.h.

◆ mNContributors

template<typename Stamp >
ushort o2::dataformats::Vertex< Stamp >::mNContributors = 0

N contributors.

Definition at line 173 of file Vertex.h.

◆ mTimeStamp

template<typename Stamp >
Stamp o2::dataformats::Vertex< Stamp >::mTimeStamp

vertex time-stamp

Definition at line 175 of file Vertex.h.

◆ nCont

template<typename Stamp >
const float ushort o2::dataformats::Vertex< Stamp >::nCont

Definition at line 147 of file Vertex.h.


The documentation for this class was generated from the following file: