|
EDM4eic
EIC data model
|
#include <MutableVertex.h>
Public Types | |
| using | object_type = Vertex |
| using | collection_type = VertexCollection |
Public Member Functions | |
| MutableVertex () | |
| default constructor | |
| MutableVertex (const std::int32_t type, const float chi2, const int ndf, const edm4hep::Vector4f &position, const edm4eic::Cov4f &positionError) | |
| Constructor initializing all members. | |
| MutableVertex (const MutableVertex &other)=default | |
| copy constructor | |
| MutableVertex & | operator= (MutableVertex other) & |
| copy-assignment operator | |
| MutableVertex & | operator= (MutableVertex other) &&=delete |
| MutableVertex | clone (bool cloneRelations=true) const |
| ~MutableVertex ()=default | |
| destructor | |
| 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. | |
| void | setType (const std::int32_t type) |
| Set the Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.) | |
| std::int32_t & | getType () |
| Get mutable reference to Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.) | |
| std::int32_t & | type () |
| Get reference to Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.) | |
| void | setChi2 (const float chi2) |
| Set the Chi-squared of the vertex fit. | |
| float & | getChi2 () |
| Get mutable reference to Chi-squared of the vertex fit. | |
| float & | chi2 () |
| Get reference to Chi-squared of the vertex fit. | |
| void | setNdf (const int ndf) |
| Set the NDF of the vertex fit. | |
| int & | getNdf () |
| Get mutable reference to NDF of the vertex fit. | |
| int & | ndf () |
| Get reference to NDF of the vertex fit. | |
| void | setPosition (const edm4hep::Vector4f &position) |
| Set the position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector. | |
| edm4hep::Vector4f & | getPosition () |
| Get mutable reference to position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector. | |
| edm4hep::Vector4f & | position () |
| Get reference to position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector. | |
| void | setPositionError (const edm4eic::Cov4f &positionError) |
| Set the Covariance matrix of the position+time. Time is 4th component, similarly to 4vector. | |
| edm4eic::Cov4f & | getPositionError () |
| Get mutable reference to Covariance matrix of the position+time. Time is 4th component, similarly to 4vector. | |
| edm4eic::Cov4f & | positionError () |
| Get reference to Covariance matrix of the position+time. Time is 4th component, similarly to 4vector. | |
| void | addToAssociatedParticles (const edm4eic::ReconstructedParticle &) |
| 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 MutableVertex &other) const |
| bool | operator== (const Vertex &other) const |
| bool | operator!= (const MutableVertex &other) const |
| bool | operator!= (const Vertex &other) const |
| bool | operator< (const MutableVertex &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Friends | |
| class | VertexCollection |
| class | VertexMutableCollectionIterator |
| class | Vertex |
| void | swap (MutableVertex &a, MutableVertex &b) |
EIC vertex
| edm4eic::MutableVertex::MutableVertex | ( | ) |
default constructor
| edm4eic::MutableVertex::MutableVertex | ( | 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
| void edm4eic::MutableVertex::addToAssociatedParticles | ( | const edm4eic::ReconstructedParticle & | component | ) |
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableVertex::associatedParticles_begin | ( | ) | const |
| std::vector< edm4eic::ReconstructedParticle >::const_iterator edm4eic::MutableVertex::associatedParticles_end | ( | ) | const |
| std::size_t edm4eic::MutableVertex::associatedParticles_size | ( | ) | const |
| float & edm4eic::MutableVertex::chi2 | ( | ) |
Get reference to Chi-squared of the vertex fit.
| MutableVertex edm4eic::MutableVertex::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::MutableVertex::getAssociatedParticles | ( | ) | const |
| edm4eic::ReconstructedParticle edm4eic::MutableVertex::getAssociatedParticles | ( | std::size_t | index | ) | const |
| float & edm4eic::MutableVertex::getChi2 | ( | ) |
Get mutable reference to Chi-squared of the vertex fit.
| float edm4eic::MutableVertex::getChi2 | ( | ) | const |
Access the Chi-squared of the vertex fit.
| int & edm4eic::MutableVertex::getNdf | ( | ) |
Get mutable reference to NDF of the vertex fit.
| int edm4eic::MutableVertex::getNdf | ( | ) | const |
Access the NDF of the vertex fit.
| const podio::ObjectID edm4eic::MutableVertex::getObjectID | ( | ) | const |
| edm4hep::Vector4f & edm4eic::MutableVertex::getPosition | ( | ) |
Get mutable reference to position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector.
| const edm4hep::Vector4f & edm4eic::MutableVertex::getPosition | ( | ) | const |
Access the position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector.
| edm4eic::Cov4f & edm4eic::MutableVertex::getPositionError | ( | ) |
Get mutable reference to Covariance matrix of the position+time. Time is 4th component, similarly to 4vector.
| const edm4eic::Cov4f & edm4eic::MutableVertex::getPositionError | ( | ) | const |
Access the Covariance matrix of the position+time. Time is 4th component, similarly to 4vector.
| std::int32_t & edm4eic::MutableVertex::getType | ( | ) |
Get mutable reference to Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.)
| std::int32_t edm4eic::MutableVertex::getType | ( | ) | const |
Access the Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.)
|
inline |
| bool edm4eic::MutableVertex::isAvailable | ( | ) | const |
check whether the object is actually available
| int & edm4eic::MutableVertex::ndf | ( | ) |
Get reference to NDF of the vertex fit.
|
inline |
|
inline |
|
inline |
| MutableVertex & edm4eic::MutableVertex::operator= | ( | MutableVertex | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MutableVertex::operator== | ( | const Vertex & | other | ) | const |
| edm4hep::Vector4f & edm4eic::MutableVertex::position | ( | ) |
Get reference to position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector.
| edm4eic::Cov4f & edm4eic::MutableVertex::positionError | ( | ) |
Get reference to Covariance matrix of the position+time. Time is 4th component, similarly to 4vector.
| void edm4eic::MutableVertex::setChi2 | ( | const float | chi2 | ) |
Set the Chi-squared of the vertex fit.
| void edm4eic::MutableVertex::setNdf | ( | const int | ndf | ) |
Set the NDF of the vertex fit.
| void edm4eic::MutableVertex::setPosition | ( | const edm4hep::Vector4f & | position | ) |
Set the position [mm] + time t0 [ns] of the vertex. Time is 4th component in vector.
| void edm4eic::MutableVertex::setPositionError | ( | const edm4eic::Cov4f & | positionError | ) |
Set the Covariance matrix of the position+time. Time is 4th component, similarly to 4vector.
| void edm4eic::MutableVertex::setType | ( | const std::int32_t | type | ) |
Set the Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.)
| std::int32_t & edm4eic::MutableVertex::type | ( | ) |
Get reference to Type flag, to identify what type of vertex it is (e.g. primary, secondary, generated, etc.)
|
inline |
disconnect from VertexObj instance
|
friend |
|
friend |
|
friend |
|
friend |