|
EDM4eic
EIC data model
|
#include <Vertex.h>
Public Types | |
| using | mutable_type = MutableVertex |
| using | collection_type = VertexCollection |
Public Member Functions | |
| Vertex () | |
| default constructor | |
| Vertex (const std::int32_t type, const float chi2, const int ndf, const edm4hep::Vector4f &position, const edm4eic::Cov4f &positionError) | |
| Constructor initializing all members. | |
| Vertex (const Vertex &other)=default | |
| copy constructor | |
| Vertex & | operator= (Vertex other) & |
| copy-assignment operator | |
| Vertex & | operator= (Vertex other) &&=delete |
| MutableVertex | clone (bool cloneRelations=true) const |
| ~Vertex ()=default | |
| destructor | |
| Vertex (const MutableVertex &other) | |
| converting constructor from mutable object | |
| std::int32_t | getType () const |
| Access the Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.) | |
| float | getChi2 () const |
| Access the Chi-squared of the vertex fit. | |
| int | getNdf () const |
| Access the NDF of the vertex fit. | |
| const edm4hep::Vector4f & | getPosition () const |
| Access the position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector. | |
| const edm4eic::Cov4f & | getPositionError () const |
| Access the Covariance matrix of the position+time. Time is 4th component, similarly to 4vector. | |
| std::size_t | associatedParticles_size () const |
| edm4eic::ReconstructedParticle | getAssociatedParticles (std::size_t) const |
| std::vector< edm4eic::ReconstructedParticle >::const_iterator | associatedParticles_begin () const |
| std::vector< edm4eic::ReconstructedParticle >::const_iterator | associatedParticles_end () const |
| podio::RelationRange< edm4eic::ReconstructedParticle > | getAssociatedParticles () const |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from VertexObj instance | |
| bool | operator== (const Vertex &other) const |
| bool | operator== (const MutableVertex &other) const |
| bool | operator!= (const Vertex &other) const |
| bool | operator!= (const MutableVertex &other) const |
| bool | operator< (const Vertex &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
| static Vertex | makeEmpty () |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::Vertex" |
Friends | |
| class | MutableVertex |
| class | VertexCollection |
| class | edm4eic::VertexCollectionData |
| class | VertexCollectionIterator |
| podio::detail::OrderKey | podio::detail::getOrderKey (const Vertex &obj) |
| void | swap (Vertex &a, Vertex &b) |
EIC vertex
| edm4eic::Vertex::Vertex | ( | ) |
default constructor
| edm4eic::Vertex::Vertex | ( | const std::int32_t | type, |
| const float | chi2, | ||
| const int | ndf, | ||
| const edm4hep::Vector4f & | position, | ||
| const edm4eic::Cov4f & | positionError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| edm4eic::Vertex::Vertex | ( | const MutableVertex & | other | ) |
converting constructor from mutable object
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::Vertex::associatedParticles_begin | ( | ) | const |
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::Vertex::associatedParticles_end | ( | ) | const |
| std::size_t edm4eic::Vertex::associatedParticles_size | ( | ) | const |
| MutableVertex edm4eic::Vertex::clone | ( | bool | cloneRelations = true | ) | const |
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
| podio::RelationRange< edm4eic::ReconstructedParticle > edm4eic::Vertex::getAssociatedParticles | ( | ) | const |
| edm4eic::ReconstructedParticle edm4eic::Vertex::getAssociatedParticles | ( | std::size_t | index | ) | const |
| float edm4eic::Vertex::getChi2 | ( | ) | const |
Access the Chi-squared of the vertex fit.
| int edm4eic::Vertex::getNdf | ( | ) | const |
Access the NDF of the vertex fit.
| const podio::ObjectID edm4eic::Vertex::getObjectID | ( | ) | const |
| const edm4hep::Vector4f & edm4eic::Vertex::getPosition | ( | ) | const |
Access the position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector.
| const edm4eic::Cov4f & edm4eic::Vertex::getPositionError | ( | ) | const |
Access the Covariance matrix of the position+time. Time is 4th component, similarly to 4vector.
| std::int32_t edm4eic::Vertex::getType | ( | ) | const |
Access the Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.)
|
inline |
| bool edm4eic::Vertex::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
|
inline |
| bool edm4eic::Vertex::operator== | ( | const MutableVertex & | other | ) | const |
|
inline |
|
inline |
disconnect from VertexObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |