EICd
EIC data model
|
#include <TrackSegment.h>
Public Member Functions | |
TrackSegment () | |
default constructor More... | |
TrackSegment (float length, float lengthError) | |
TrackSegment (TrackSegmentObj *obj) | |
constructor from existing TrackSegmentObj More... | |
TrackSegment (const TrackSegment &other) | |
copy constructor More... | |
TrackSegment & | operator= (TrackSegment other) |
copy-assignment operator More... | |
MutableTrackSegment | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~TrackSegment () | |
destructor More... | |
const float & | getLength () const |
Access the Pathlength from the first to the last point. More... | |
const float & | getLengthError () const |
Access the Error on the segment length. More... | |
const eicd::Track | getTrack () const |
Access the Track used for this projection. More... | |
unsigned int | points_size () const |
eicd::TrackPoint | getPoints (unsigned int) const |
std::vector< eicd::TrackPoint >::const_iterator | points_begin () const |
std::vector< eicd::TrackPoint >::const_iterator | points_end () const |
podio::RelationRange< eicd::TrackPoint > | getPoints () const |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from TrackSegmentObj instance More... | |
bool | operator== (const TrackSegment &other) const |
bool | operator== (const MutableTrackSegment &other) const |
bool | operator< (const TrackSegment &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MutableTrackSegment |
class | TrackSegmentCollection |
class | TrackSegmentCollectionIterator |
void | swap (TrackSegment &a, TrackSegment &b) |
A track segment defined by one or more points along a track.
eicd::TrackSegment::TrackSegment | ( | ) |
default constructor
eicd::TrackSegment::TrackSegment | ( | float | length, |
float | lengthError | ||
) |
eicd::TrackSegment::TrackSegment | ( | TrackSegmentObj * | obj | ) |
constructor from existing TrackSegmentObj
eicd::TrackSegment::TrackSegment | ( | const TrackSegment & | other | ) |
copy constructor
eicd::TrackSegment::~TrackSegment | ( | ) |
destructor
MutableTrackSegment eicd::TrackSegment::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const float & eicd::TrackSegment::getLength | ( | ) | const |
Access the Pathlength from the first to the last point.
const float & eicd::TrackSegment::getLengthError | ( | ) | const |
Access the Error on the segment length.
const podio::ObjectID eicd::TrackSegment::getObjectID | ( | ) | const |
podio::RelationRange< eicd::TrackPoint > eicd::TrackSegment::getPoints | ( | ) | const |
eicd::TrackPoint eicd::TrackSegment::getPoints | ( | unsigned int | index | ) | const |
const eicd::Track eicd::TrackSegment::getTrack | ( | ) | const |
Access the Track used for this projection.
|
inline |
bool eicd::TrackSegment::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
TrackSegment & eicd::TrackSegment::operator= | ( | TrackSegment | other | ) |
copy-assignment operator
bool eicd::TrackSegment::operator== | ( | const MutableTrackSegment & | other | ) | const |
|
inline |
std::vector< eicd::TrackPoint >::const_iterator eicd::TrackSegment::points_begin | ( | ) | const |
std::vector< eicd::TrackPoint >::const_iterator eicd::TrackSegment::points_end | ( | ) | const |
unsigned int eicd::TrackSegment::points_size | ( | ) | const |
|
inline |
disconnect from TrackSegmentObj instance
|
friend |
|
friend |
|
friend |
|
friend |