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