|
EDM4eic
EIC data model
|
#include <MutableMeasurement2D.h>
Public Types | |
| using | object_type = Measurement2D |
| using | collection_type = Measurement2DCollection |
Public Member Functions | |
| MutableMeasurement2D () | |
| default constructor | |
| MutableMeasurement2D (const std::uint64_t surface, const edm4hep::Vector2f &loc, const float time, const edm4eic::Cov3f &covariance) | |
| Constructor initializing all members. | |
| MutableMeasurement2D (const MutableMeasurement2D &other)=default | |
| copy constructor | |
| MutableMeasurement2D & | operator= (MutableMeasurement2D other) & |
| copy-assignment operator | |
| MutableMeasurement2D & | operator= (MutableMeasurement2D other) &&=delete |
| MutableMeasurement2D | clone (bool cloneRelations=true) const |
| ~MutableMeasurement2D ()=default | |
| destructor | |
| std::uint64_t | getSurface () const |
| Access the Surface for bound coordinates (geometryID) | |
| const edm4hep::Vector2f & | getLoc () const |
| Access the 2D location on surface. | |
| float | getTime () const |
| Access the Measurement time. | |
| const edm4eic::Cov3f & | getCovariance () const |
| Access the Covariance on location and time. | |
| void | setSurface (const std::uint64_t surface) |
| Set the Surface for bound coordinates (geometryID) | |
| std::uint64_t & | getSurface () |
| Get mutable reference to Surface for bound coordinates (geometryID) | |
| std::uint64_t & | surface () |
| Get reference to Surface for bound coordinates (geometryID) | |
| void | setLoc (const edm4hep::Vector2f &loc) |
| Set the 2D location on surface. | |
| edm4hep::Vector2f & | getLoc () |
| Get mutable reference to 2D location on surface. | |
| edm4hep::Vector2f & | loc () |
| Get reference to 2D location on surface. | |
| void | setTime (const float time) |
| Set the Measurement time. | |
| float & | getTime () |
| Get mutable reference to Measurement time. | |
| float & | time () |
| Get reference to Measurement time. | |
| void | setCovariance (const edm4eic::Cov3f &covariance) |
| Set the Covariance on location and time. | |
| edm4eic::Cov3f & | getCovariance () |
| Get mutable reference to Covariance on location and time. | |
| edm4eic::Cov3f & | covariance () |
| Get reference to Covariance on location and time. | |
| void | addToHits (const edm4eic::TrackerHit &) |
| std::size_t | hits_size () const |
| edm4eic::TrackerHit | getHits (std::size_t) const |
| std::vector< edm4eic::TrackerHit >::const_iterator | hits_begin () const |
| std::vector< edm4eic::TrackerHit >::const_iterator | hits_end () const |
| podio::RelationRange< edm4eic::TrackerHit > | getHits () const |
| void | addToWeights (const float &) |
| std::size_t | weights_size () const |
| float | getWeights (std::size_t) const |
| std::vector< float >::const_iterator | weights_begin () const |
| std::vector< float >::const_iterator | weights_end () const |
| podio::RelationRange< float > | getWeights () const |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from Measurement2DObj instance | |
| bool | operator== (const MutableMeasurement2D &other) const |
| bool | operator== (const Measurement2D &other) const |
| bool | operator!= (const MutableMeasurement2D &other) const |
| bool | operator!= (const Measurement2D &other) const |
| bool | operator< (const MutableMeasurement2D &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Friends | |
| class | Measurement2DCollection |
| class | Measurement2DMutableCollectionIterator |
| class | Measurement2D |
| void | swap (MutableMeasurement2D &a, MutableMeasurement2D &b) |
2D measurement (on an arbitrary surface)
| edm4eic::MutableMeasurement2D::MutableMeasurement2D | ( | ) |
default constructor
| edm4eic::MutableMeasurement2D::MutableMeasurement2D | ( | const std::uint64_t | surface, |
| const edm4hep::Vector2f & | loc, | ||
| const float | time, | ||
| const edm4eic::Cov3f & | covariance ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| void edm4eic::MutableMeasurement2D::addToHits | ( | const edm4eic::TrackerHit & | component | ) |
| void edm4eic::MutableMeasurement2D::addToWeights | ( | const float & | component | ) |
| MutableMeasurement2D edm4eic::MutableMeasurement2D::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
| edm4eic::Cov3f & edm4eic::MutableMeasurement2D::covariance | ( | ) |
Get reference to Covariance on location and time.
| edm4eic::Cov3f & edm4eic::MutableMeasurement2D::getCovariance | ( | ) |
Get mutable reference to Covariance on location and time.
| const edm4eic::Cov3f & edm4eic::MutableMeasurement2D::getCovariance | ( | ) | const |
Access the Covariance on location and time.
| podio::RelationRange< edm4eic::TrackerHit > edm4eic::MutableMeasurement2D::getHits | ( | ) | const |
| edm4eic::TrackerHit edm4eic::MutableMeasurement2D::getHits | ( | std::size_t | index | ) | const |
| edm4hep::Vector2f & edm4eic::MutableMeasurement2D::getLoc | ( | ) |
Get mutable reference to 2D location on surface.
| const edm4hep::Vector2f & edm4eic::MutableMeasurement2D::getLoc | ( | ) | const |
Access the 2D location on surface.
| const podio::ObjectID edm4eic::MutableMeasurement2D::getObjectID | ( | ) | const |
| std::uint64_t & edm4eic::MutableMeasurement2D::getSurface | ( | ) |
Get mutable reference to Surface for bound coordinates (geometryID)
| std::uint64_t edm4eic::MutableMeasurement2D::getSurface | ( | ) | const |
Access the Surface for bound coordinates (geometryID)
| float & edm4eic::MutableMeasurement2D::getTime | ( | ) |
Get mutable reference to Measurement time.
| float edm4eic::MutableMeasurement2D::getTime | ( | ) | const |
Access the Measurement time.
| podio::RelationRange< float > edm4eic::MutableMeasurement2D::getWeights | ( | ) | const |
| float edm4eic::MutableMeasurement2D::getWeights | ( | std::size_t | index | ) | const |
| std::vector< edm4eic::TrackerHit >::const_iterator edm4eic::MutableMeasurement2D::hits_begin | ( | ) | const |
| std::vector< edm4eic::TrackerHit >::const_iterator edm4eic::MutableMeasurement2D::hits_end | ( | ) | const |
| std::size_t edm4eic::MutableMeasurement2D::hits_size | ( | ) | const |
|
inline |
| bool edm4eic::MutableMeasurement2D::isAvailable | ( | ) | const |
check whether the object is actually available
| edm4hep::Vector2f & edm4eic::MutableMeasurement2D::loc | ( | ) |
Get reference to 2D location on surface.
|
inline |
|
inline |
|
inline |
| MutableMeasurement2D & edm4eic::MutableMeasurement2D::operator= | ( | MutableMeasurement2D | other | ) | & |
copy-assignment operator
|
delete |
| bool edm4eic::MutableMeasurement2D::operator== | ( | const Measurement2D & | other | ) | const |
|
inline |
| void edm4eic::MutableMeasurement2D::setCovariance | ( | const edm4eic::Cov3f & | covariance | ) |
Set the Covariance on location and time.
| void edm4eic::MutableMeasurement2D::setLoc | ( | const edm4hep::Vector2f & | loc | ) |
Set the 2D location on surface.
| void edm4eic::MutableMeasurement2D::setSurface | ( | const std::uint64_t | surface | ) |
Set the Surface for bound coordinates (geometryID)
| void edm4eic::MutableMeasurement2D::setTime | ( | const float | time | ) |
Set the Measurement time.
| std::uint64_t & edm4eic::MutableMeasurement2D::surface | ( | ) |
Get reference to Surface for bound coordinates (geometryID)
| float & edm4eic::MutableMeasurement2D::time | ( | ) |
Get reference to Measurement time.
|
inline |
disconnect from Measurement2DObj instance
| std::vector< float >::const_iterator edm4eic::MutableMeasurement2D::weights_begin | ( | ) | const |
| std::vector< float >::const_iterator edm4eic::MutableMeasurement2D::weights_end | ( | ) | const |
| std::size_t edm4eic::MutableMeasurement2D::weights_size | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |