EICd
EIC data model
|
#include <Vertex.h>
Public Member Functions | |
Vertex () | |
default constructor More... | |
Vertex (eic::Index ID, eic::VectorXYZ position, float time, float chi2, float probability, bool primary) | |
Vertex (VertexObj *obj) | |
constructor from existing VertexObj More... | |
Vertex (const Vertex &other) | |
copy constructor More... | |
Vertex & | operator= (const Vertex &other) |
copy-assignment operator More... | |
Vertex | clone () const |
support cloning (deep-copy) More... | |
~Vertex () | |
destructor More... | |
operator ConstVertex () const | |
conversion to const object More... | |
const eic::Index & | ID () const |
Access the unique vertex ID. More... | |
const eic::VectorXYZ & | position () 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... | |
void | ID (eic::Index value) |
Set the unique vertex ID. More... | |
eic::Index & | ID () |
Get reference to unique vertex ID. More... | |
void | position (eic::VectorXYZ value) |
Set the postion of vertex [mm]. More... | |
eic::VectorXYZ & | position () |
Get reference to postion of vertex [mm]. More... | |
void | time (float value) |
Set the time of vertex [ns]. More... | |
void | chi2 (float value) |
Set the Chi squared of the vertex fit. More... | |
void | probability (float value) |
Set the Probability of the vertex fit. More... | |
void | primary (bool value) |
Set 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 Vertex &other) const |
bool | operator== (const ConstVertex &other) const |
bool | operator< (const Vertex &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | VertexCollection |
class | VertexCollectionIterator |
class | ConstVertex |
EIC vertex
eic::Vertex::Vertex | ( | ) |
default constructor
eic::Vertex::Vertex | ( | eic::Index | ID, |
eic::VectorXYZ | position, | ||
float | time, | ||
float | chi2, | ||
float | probability, | ||
bool | primary | ||
) |
eic::Vertex::Vertex | ( | const Vertex & | other | ) |
copy constructor
eic::Vertex::~Vertex | ( | ) |
destructor
const float & eic::Vertex::chi2 | ( | ) | const |
Access the Chi squared of the vertex fit.
void eic::Vertex::chi2 | ( | float | value | ) |
Set the Chi squared of the vertex fit.
Vertex eic::Vertex::clone | ( | ) | const |
support cloning (deep-copy)
const podio::ObjectID eic::Vertex::getObjectID | ( | ) | const |
eic::Index & eic::Vertex::ID | ( | ) |
Get reference to unique vertex ID.
const eic::Index & eic::Vertex::ID | ( | ) | const |
Access the unique vertex ID.
|
inline |
void eic::Vertex::ID | ( | eic::Index | value | ) |
Set the unique vertex ID.
bool eic::Vertex::isAvailable | ( | ) | const |
check whether the object is actually available
eic::Vertex::operator ConstVertex | ( | ) | const |
conversion to const object
|
inline |
bool eic::Vertex::operator== | ( | const ConstVertex & | other | ) | const |
|
inline |
eic::VectorXYZ & eic::Vertex::position | ( | ) |
Get reference to postion of vertex [mm].
const eic::VectorXYZ & eic::Vertex::position | ( | ) | const |
Access the postion of vertex [mm].
void eic::Vertex::position | ( | eic::VectorXYZ | value | ) |
Set the postion of vertex [mm].
const bool & eic::Vertex::primary | ( | ) | const |
Access the Whether it is the primary vertex of the event.
void eic::Vertex::primary | ( | bool | value | ) |
Set the Whether it is the primary vertex of the event.
const float & eic::Vertex::probability | ( | ) | const |
Access the Probability of the vertex fit.
void eic::Vertex::probability | ( | float | value | ) |
Set the Probability of the vertex fit.
const float & eic::Vertex::time | ( | ) | const |
Access the time of vertex [ns].
void eic::Vertex::time | ( | float | value | ) |
Set the time of vertex [ns].
|
inline |
disconnect from VertexObj instance
|
friend |
|
friend |
|
friend |