EICd
EIC data model
|
#include <Vertex.h>
Public Member Functions | |
Vertex () | |
default constructor More... | |
Vertex (std::int32_t primary, float chi2, float probability, edm4hep::Vector3f position, eicd::Cov3f positionError, std::int32_t algorithmType, float time) | |
Vertex (VertexObj *obj) | |
constructor from existing VertexObj More... | |
Vertex (const Vertex &other) | |
copy constructor More... | |
Vertex & | operator= (Vertex other) |
copy-assignment operator More... | |
MutableVertex | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~Vertex () | |
destructor More... | |
const std::int32_t & | getPrimary () const |
Access the Boolean flag, if vertex is the primary vertex of the event. More... | |
const float & | getChi2 () const |
Access the Chi-squared of the vertex fit. More... | |
const float & | getProbability () const |
Access the Probability of the vertex fit. More... | |
const edm4hep::Vector3f & | getPosition () const |
Access the [mm] position of the vertex. More... | |
const eicd::Cov3f & | getPositionError () const |
Access the Covariance matrix of the position. More... | |
const std::int32_t & | getAlgorithmType () const |
Access the Type code for the algorithm that has been used to create the vertex - check/set the collection parameters AlgorithmName and AlgorithmType. More... | |
const float & | getTime () const |
Access the Vertex time. More... | |
const eicd::ReconstructedParticle | getAssociatedParticle () const |
Access the reconstructed particle associated to this vertex. More... | |
unsigned int | parameters_size () const |
float | getParameters (unsigned int) const |
std::vector< float >::const_iterator | parameters_begin () const |
std::vector< float >::const_iterator | parameters_end () const |
podio::RelationRange< float > | getParameters () const |
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 MutableVertex &other) const |
bool | operator< (const Vertex &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MutableVertex |
class | VertexCollection |
class | VertexCollectionIterator |
void | swap (Vertex &a, Vertex &b) |
EIC vertex
eicd::Vertex::Vertex | ( | ) |
default constructor
eicd::Vertex::Vertex | ( | std::int32_t | primary, |
float | chi2, | ||
float | probability, | ||
edm4hep::Vector3f | position, | ||
eicd::Cov3f | positionError, | ||
std::int32_t | algorithmType, | ||
float | time | ||
) |
eicd::Vertex::Vertex | ( | const Vertex & | other | ) |
copy constructor
eicd::Vertex::~Vertex | ( | ) |
destructor
MutableVertex eicd::Vertex::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const std::int32_t & eicd::Vertex::getAlgorithmType | ( | ) | const |
Access the Type code for the algorithm that has been used to create the vertex - check/set the collection parameters AlgorithmName and AlgorithmType.
const eicd::ReconstructedParticle eicd::Vertex::getAssociatedParticle | ( | ) | const |
Access the reconstructed particle associated to this vertex.
const float & eicd::Vertex::getChi2 | ( | ) | const |
Access the Chi-squared of the vertex fit.
const podio::ObjectID eicd::Vertex::getObjectID | ( | ) | const |
podio::RelationRange< float > eicd::Vertex::getParameters | ( | ) | const |
float eicd::Vertex::getParameters | ( | unsigned int | index | ) | const |
const edm4hep::Vector3f & eicd::Vertex::getPosition | ( | ) | const |
Access the [mm] position of the vertex.
const eicd::Cov3f & eicd::Vertex::getPositionError | ( | ) | const |
Access the Covariance matrix of the position.
const std::int32_t & eicd::Vertex::getPrimary | ( | ) | const |
Access the Boolean flag, if vertex is the primary vertex of the event.
const float & eicd::Vertex::getProbability | ( | ) | const |
Access the Probability of the vertex fit.
const float & eicd::Vertex::getTime | ( | ) | const |
Access the Vertex time.
|
inline |
bool eicd::Vertex::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
bool eicd::Vertex::operator== | ( | const MutableVertex & | other | ) | const |
|
inline |
std::vector< float >::const_iterator eicd::Vertex::parameters_begin | ( | ) | const |
std::vector< float >::const_iterator eicd::Vertex::parameters_end | ( | ) | const |
unsigned int eicd::Vertex::parameters_size | ( | ) | const |
|
inline |
disconnect from VertexObj instance
|
friend |
|
friend |
|
friend |