EDM4eic
EIC data model
|
#include <MutableTrackSegment.h>
Public Types | |
using | object_type = TrackSegment |
using | collection_type = TrackSegmentCollection |
Public Member Functions | |
MutableTrackSegment () | |
default constructor | |
MutableTrackSegment (float length, float lengthError) | |
Constructor initializing all members. | |
MutableTrackSegment (const MutableTrackSegment &other)=default | |
copy constructor | |
MutableTrackSegment & | operator= (MutableTrackSegment other) |
copy-assignment operator | |
MutableTrackSegment | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableTrackSegment ()=default | |
destructor | |
operator TrackSegment () const | |
conversion to const object | |
float | getLength () const |
Access the Pathlength from the first to the last point. | |
float | getLengthError () const |
Access the Error on the segment length. | |
const edm4eic::Track | getTrack () const |
Access the Track used for this projection. | |
void | setLength (float value) |
Set the Pathlength from the first to the last point. | |
void | setLengthError (float value) |
Set the Error on the segment length. | |
void | setTrack (edm4eic::Track value) |
Set the Track used for this projection. | |
void | addToPoints (edm4eic::TrackPoint) |
std::size_t | points_size () const |
edm4eic::TrackPoint | getPoints (std::size_t) const |
std::vector< edm4eic::TrackPoint >::const_iterator | points_begin () const |
std::vector< edm4eic::TrackPoint >::const_iterator | points_end () const |
podio::RelationRange< edm4eic::TrackPoint > | getPoints () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from TrackSegmentObj instance | |
bool | operator== (const MutableTrackSegment &other) const |
bool | operator== (const TrackSegment &other) const |
bool | operator< (const MutableTrackSegment &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | TrackSegmentCollection |
class | TrackSegmentMutableCollectionIterator |
class | TrackSegment |
void | swap (MutableTrackSegment &a, MutableTrackSegment &b) |
A track segment defined by one or more points along a track.
edm4eic::MutableTrackSegment::MutableTrackSegment | ( | ) |
default constructor
edm4eic::MutableTrackSegment::MutableTrackSegment | ( | float | length, |
float | lengthError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableTrackSegment::addToPoints | ( | edm4eic::TrackPoint | component | ) |
MutableTrackSegment edm4eic::MutableTrackSegment::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
float edm4eic::MutableTrackSegment::getLength | ( | ) | const |
Access the Pathlength from the first to the last point.
float edm4eic::MutableTrackSegment::getLengthError | ( | ) | const |
Access the Error on the segment length.
const podio::ObjectID edm4eic::MutableTrackSegment::getObjectID | ( | ) | const |
podio::RelationRange< edm4eic::TrackPoint > edm4eic::MutableTrackSegment::getPoints | ( | ) | const |
edm4eic::TrackPoint edm4eic::MutableTrackSegment::getPoints | ( | std::size_t | index | ) | const |
const edm4eic::Track edm4eic::MutableTrackSegment::getTrack | ( | ) | const |
Access the Track used for this projection.
|
inline |
bool edm4eic::MutableTrackSegment::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableTrackSegment::operator TrackSegment | ( | ) | const |
conversion to const object
|
inline |
MutableTrackSegment & edm4eic::MutableTrackSegment::operator= | ( | MutableTrackSegment | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MutableTrackSegment::operator== | ( | const TrackSegment & | other | ) | const |
std::vector< edm4eic::TrackPoint >::const_iterator edm4eic::MutableTrackSegment::points_begin | ( | ) | const |
std::vector< edm4eic::TrackPoint >::const_iterator edm4eic::MutableTrackSegment::points_end | ( | ) | const |
std::size_t edm4eic::MutableTrackSegment::points_size | ( | ) | const |
void edm4eic::MutableTrackSegment::setLength | ( | float | value | ) |
Set the Pathlength from the first to the last point.
void edm4eic::MutableTrackSegment::setLengthError | ( | float | value | ) |
Set the Error on the segment length.
void edm4eic::MutableTrackSegment::setTrack | ( | edm4eic::Track | value | ) |
Set the Track used for this projection.
|
inline |
disconnect from TrackSegmentObj instance
|
friend |
|
friend |
|
friend |
|
friend |