EDM4eic
EIC data model
|
#include <Measurement2D.h>
Public Types | |
using | mutable_type = MutableMeasurement2D |
using | collection_type = Measurement2DCollection |
Public Member Functions | |
Measurement2D () | |
default constructor | |
Measurement2D (std::uint64_t surface, edm4hep::Vector2f loc, float time, edm4eic::Cov3f covariance) | |
Constructor initializing all members. | |
Measurement2D (const Measurement2D &other)=default | |
copy constructor | |
Measurement2D & | operator= (Measurement2D other) |
copy-assignment operator | |
MutableMeasurement2D | clone () const |
create a mutable deep-copy of the object with identical relations | |
~Measurement2D ()=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. | |
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 |
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 Measurement2D &other) const |
bool | operator== (const MutableMeasurement2D &other) const |
bool | operator< (const Measurement2D &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static Measurement2D | makeEmpty () |
Friends | |
class | MutableMeasurement2D |
class | Measurement2DCollection |
class | edm4eic::Measurement2DCollectionData |
class | Measurement2DCollectionIterator |
void | swap (Measurement2D &a, Measurement2D &b) |
2D measurement (on an arbitrary surface)
edm4eic::Measurement2D::Measurement2D | ( | ) |
default constructor
edm4eic::Measurement2D::Measurement2D | ( | std::uint64_t | surface, |
edm4hep::Vector2f | loc, | ||
float | time, | ||
edm4eic::Cov3f | covariance ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMeasurement2D edm4eic::Measurement2D::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const edm4eic::Cov3f & edm4eic::Measurement2D::getCovariance | ( | ) | const |
Access the Covariance on location and time.
podio::RelationRange< edm4eic::TrackerHit > edm4eic::Measurement2D::getHits | ( | ) | const |
edm4eic::TrackerHit edm4eic::Measurement2D::getHits | ( | std::size_t | index | ) | const |
const edm4hep::Vector2f & edm4eic::Measurement2D::getLoc | ( | ) | const |
Access the 2D location on surface.
const podio::ObjectID edm4eic::Measurement2D::getObjectID | ( | ) | const |
std::uint64_t edm4eic::Measurement2D::getSurface | ( | ) | const |
Access the Surface for bound coordinates (geometryID)
float edm4eic::Measurement2D::getTime | ( | ) | const |
Access the Measurement time.
podio::RelationRange< float > edm4eic::Measurement2D::getWeights | ( | ) | const |
float edm4eic::Measurement2D::getWeights | ( | std::size_t | index | ) | const |
std::vector< edm4eic::TrackerHit >::const_iterator edm4eic::Measurement2D::hits_begin | ( | ) | const |
std::vector< edm4eic::TrackerHit >::const_iterator edm4eic::Measurement2D::hits_end | ( | ) | const |
std::size_t edm4eic::Measurement2D::hits_size | ( | ) | const |
|
inline |
bool edm4eic::Measurement2D::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
Measurement2D & edm4eic::Measurement2D::operator= | ( | Measurement2D | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::Measurement2D::operator== | ( | const MutableMeasurement2D & | other | ) | const |
|
inline |
disconnect from Measurement2DObj instance
std::vector< float >::const_iterator edm4eic::Measurement2D::weights_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Measurement2D::weights_end | ( | ) | const |
std::size_t edm4eic::Measurement2D::weights_size | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |