Project
Loading...
Searching...
No Matches
o2::dataformats::VertexBase Class Reference

#include <Vertex.h>

Inherited by o2::dataformats::Vertex< TimeStampWithError< float, float > >, o2::dataformats::MeanVertexObject, and o2::dataformats::Vertex< Stamp >.

Public Types

enum  CovElems : int {
  kCovXX , kCovXY , kCovYY , kCovXZ ,
  kCovYZ , kCovZZ
}
 

Public Member Functions

 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
 
 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
 

Static Public Attributes

static constexpr int kNCov = 6
 

Protected Member Functions

 ClassDefNV (VertexBase, 1)
 

Protected Attributes

math_utils::Point3D< float > mPos {0., 0., 0.}
 cartesian position
 
std::array< float, kNCovmCov {}
 errors, see CovElems enum
 

Detailed Description

Definition at line 36 of file Vertex.h.

Member Enumeration Documentation

◆ CovElems

Enumerator
kCovXX 
kCovXY 
kCovYY 
kCovXZ 
kCovYZ 
kCovZZ 

Definition at line 39 of file Vertex.h.

Member Function Documentation

◆ asString()

std::string o2::dataformats::VertexBase::asString ( ) const

Definition at line 25 of file Vertex.cxx.

◆ ClassDefNV()

o2::dataformats::VertexBase::ClassDefNV ( VertexBase  ,
 
)
protected

◆ GPUd() [1/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 80 of file Vertex.h.

◆ GPUd() [2/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 76 of file Vertex.h.

◆ GPUd() [3/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 70 of file Vertex.h.

◆ GPUd() [4/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 73 of file Vertex.h.

◆ GPUd() [5/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 74 of file Vertex.h.

◆ GPUd() [6/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 77 of file Vertex.h.

◆ GPUd() [7/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 71 of file Vertex.h.

◆ GPUd() [8/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 75 of file Vertex.h.

◆ GPUd() [9/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 78 of file Vertex.h.

◆ GPUd() [10/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 72 of file Vertex.h.

◆ GPUd() [11/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 117 of file Vertex.h.

◆ GPUd() [12/27]

o2::dataformats::VertexBase::GPUd ( )

◆ GPUd() [13/27]

o2::dataformats::VertexBase::GPUd ( )

◆ GPUd() [14/27]

o2::dataformats::VertexBase::GPUd ( ) const
inline

Definition at line 96 of file Vertex.h.

◆ GPUd() [15/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 104 of file Vertex.h.

◆ GPUd() [16/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 98 of file Vertex.h.

◆ GPUd() [17/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 101 of file Vertex.h.

◆ GPUd() [18/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 102 of file Vertex.h.

◆ GPUd() [19/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 105 of file Vertex.h.

◆ GPUd() [20/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 99 of file Vertex.h.

◆ GPUd() [21/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 103 of file Vertex.h.

◆ GPUd() [22/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 106 of file Vertex.h.

◆ GPUd() [23/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 100 of file Vertex.h.

◆ GPUd() [24/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 86 of file Vertex.h.

◆ GPUd() [25/27]

o2::dataformats::VertexBase::GPUd ( )

◆ GPUd() [26/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 87 of file Vertex.h.

◆ GPUd() [27/27]

o2::dataformats::VertexBase::GPUd ( )
inline

Definition at line 88 of file Vertex.h.

◆ GPUhd() [1/6]

o2::dataformats::VertexBase::GPUhd ( ) const
inline

Definition at line 69 of file Vertex.h.

◆ GPUhd() [2/6]

o2::dataformats::VertexBase::GPUhd ( ) const
inline

Definition at line 66 of file Vertex.h.

◆ GPUhd() [3/6]

o2::dataformats::VertexBase::GPUhd ( ) const
inline

Definition at line 67 of file Vertex.h.

◆ GPUhd() [4/6]

o2::dataformats::VertexBase::GPUhd ( ) const
inline

Definition at line 68 of file Vertex.h.

◆ GPUhd() [5/6]

o2::dataformats::VertexBase::GPUhd ( ) const

◆ GPUhd() [6/6]

o2::dataformats::VertexBase::GPUhd ( ) const
inline

Definition at line 58 of file Vertex.h.

◆ GPUhdDefault() [1/2]

o2::dataformats::VertexBase::GPUhdDefault ( )
default

◆ GPUhdDefault() [2/2]

o2::dataformats::VertexBase::GPUhdDefault ( )
default

◆ operator!=()

bool o2::dataformats::VertexBase::operator!= ( const VertexBase other) const
inline

Definition at line 121 of file Vertex.h.

◆ operator==()

bool o2::dataformats::VertexBase::operator== ( const VertexBase other) const

Definition at line 44 of file Vertex.cxx.

◆ print()

void o2::dataformats::VertexBase::print ( ) const

Definition at line 38 of file Vertex.cxx.

◆ setSigmaXY()

o2::dataformats::VertexBase::setSigmaXY ( sxy  )

◆ setSigmaXZ()

o2::dataformats::VertexBase::setSigmaXZ ( sxz  )

◆ setSigmaY2()

o2::dataformats::VertexBase::setSigmaY2 ( syy  )

◆ setSigmaYZ()

o2::dataformats::VertexBase::setSigmaYZ ( syz  )

◆ setSigmaZ2()

o2::dataformats::VertexBase::setSigmaZ2 ( szz  )

◆ setY()

o2::dataformats::VertexBase::setY ( y  )

◆ setZ()

o2::dataformats::VertexBase::setZ ( z  )

Member Data Documentation

◆ cov

const float* o2::dataformats::VertexBase::cov
Initial value:
{
mPos = math_utils::Point3D<float>(pos[0], pos[1], pos[2])
uint16_t pos
Definition RawData.h:3
math_utils::Point3D< float > mPos
cartesian position
Definition Vertex.h:124

Definition at line 48 of file Vertex.h.

◆ e

int o2::dataformats::VertexBase::e { mCov[e] = c

Definition at line 118 of file Vertex.h.

◆ kNCov

constexpr int o2::dataformats::VertexBase::kNCov = 6
staticconstexpr

Definition at line 45 of file Vertex.h.

◆ mCov [1/2]

o2::dataformats::VertexBase::mCov[kCovZZ] = cov[kCovXX]

Definition at line 51 of file Vertex.h.

◆ mCov [2/2]

std::array<float, kNCov> o2::dataformats::VertexBase::mCov {}
protected

errors, see CovElems enum

Definition at line 125 of file Vertex.h.

◆ mPos

math_utils::Point3D<float> o2::dataformats::VertexBase::mPos {0., 0., 0.}
protected

cartesian position

Definition at line 124 of file Vertex.h.

◆ sxy

float o2::dataformats::VertexBase::sxy

Definition at line 108 of file Vertex.h.

◆ sxz

float float float o2::dataformats::VertexBase::sxz

Definition at line 108 of file Vertex.h.

◆ syy

float float o2::dataformats::VertexBase::syy

Definition at line 108 of file Vertex.h.

◆ syz

float float float float o2::dataformats::VertexBase::syz

Definition at line 108 of file Vertex.h.

◆ szz

float float float float float o2::dataformats::VertexBase::szz
Initial value:
{
setSigmaX2(sxx)

Definition at line 108 of file Vertex.h.

◆ y

float o2::dataformats::VertexBase::y

Definition at line 90 of file Vertex.h.

◆ z

float float o2::dataformats::VertexBase::z
Initial value:
{
setX(x)
GLint GLenum GLint x
Definition glcorearb.h:403

Definition at line 90 of file Vertex.h.


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