EICd
EIC data model
eic::ConstVertex Class Reference

#include <VertexConst.h>

Public Member Functions

 ConstVertex ()
 default constructor More...
 
 ConstVertex (eic::Index ID, eic::VectorXYZ position, float time, float chi2, float probability, bool primary)
 
 ConstVertex (VertexObj *obj)
 constructor from existing VertexObj More...
 
 ConstVertex (const ConstVertex &other)
 copy constructor More...
 
ConstVertexoperator= (const ConstVertex &other)
 copy-assignment operator More...
 
ConstVertex clone () const
 support cloning (deep-copy) More...
 
 ~ConstVertex ()
 destructor More...
 
const eic::IndexID () const
 Access the unique vertex ID. More...
 
const eic::VectorXYZposition () const
 Access the postion of vertex [mm]. More...
 
const float & time () const
 Access the time of vertex [ns]. More...
 
const float & chi2 () const
 Access the Chi squared of the vertex fit. More...
 
const float & probability () const
 Access the Probability of the vertex fit. More...
 
const bool & primary () const
 Access the Whether it is the primary vertex of the event. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from VertexObj instance More...
 
bool operator== (const ConstVertex &other) const
 
bool operator== (const Vertex &other) const
 
bool operator< (const ConstVertex &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class Vertex
 
class VertexCollection
 
class VertexConstCollectionIterator
 

Detailed Description

EIC vertex

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ ConstVertex() [1/4]

eic::ConstVertex::ConstVertex ( )

default constructor

◆ ConstVertex() [2/4]

eic::ConstVertex::ConstVertex ( eic::Index  ID,
eic::VectorXYZ  position,
float  time,
float  chi2,
float  probability,
bool  primary 
)

◆ ConstVertex() [3/4]

eic::ConstVertex::ConstVertex ( VertexObj obj)

constructor from existing VertexObj

◆ ConstVertex() [4/4]

eic::ConstVertex::ConstVertex ( const ConstVertex other)

copy constructor

◆ ~ConstVertex()

eic::ConstVertex::~ConstVertex ( )

destructor

Member Function Documentation

◆ chi2()

const float & eic::ConstVertex::chi2 ( ) const

Access the Chi squared of the vertex fit.

◆ clone()

ConstVertex eic::ConstVertex::clone ( ) const

support cloning (deep-copy)

◆ getObjectID()

const podio::ObjectID eic::ConstVertex::getObjectID ( ) const

◆ ID()

const eic::Index & eic::ConstVertex::ID ( ) const

Access the unique vertex ID.

◆ id()

unsigned int eic::ConstVertex::id ( ) const
inline

◆ isAvailable()

bool eic::ConstVertex::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

bool eic::ConstVertex::operator< ( const ConstVertex other) const
inline

◆ operator=()

ConstVertex & eic::ConstVertex::operator= ( const ConstVertex other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::ConstVertex::operator== ( const ConstVertex other) const
inline

◆ operator==() [2/2]

bool eic::ConstVertex::operator== ( const Vertex other) const

◆ position()

const eic::VectorXYZ & eic::ConstVertex::position ( ) const

Access the postion of vertex [mm].

◆ primary()

const bool & eic::ConstVertex::primary ( ) const

Access the Whether it is the primary vertex of the event.

◆ probability()

const float & eic::ConstVertex::probability ( ) const

Access the Probability of the vertex fit.

◆ time()

const float & eic::ConstVertex::time ( ) const

Access the time of vertex [ns].

◆ unlink()

void eic::ConstVertex::unlink ( )
inline

disconnect from VertexObj instance

Friends And Related Function Documentation

◆ Vertex

friend class Vertex
friend

◆ VertexCollection

friend class VertexCollection
friend

◆ VertexConstCollectionIterator

friend class VertexConstCollectionIterator
friend

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