EICd
EIC data model
|
#include <MutableTrackSegment.h>
Public Member Functions | |
MutableTrackSegment () | |
default constructor More... | |
MutableTrackSegment (float length, float lengthError) | |
MutableTrackSegment (TrackSegmentObj *obj) | |
constructor from existing TrackSegmentObj More... | |
MutableTrackSegment (const MutableTrackSegment &other) | |
copy constructor More... | |
MutableTrackSegment & | operator= (MutableTrackSegment other) |
copy-assignment operator More... | |
MutableTrackSegment | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~MutableTrackSegment () | |
destructor More... | |
operator TrackSegment () const | |
conversion to const object 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... | |
void | setLength (float value) |
Set the Pathlength from the first to the last point. More... | |
void | setLengthError (float value) |
Set the Error on the segment length. More... | |
void | setTrack (eicd::Track value) |
Set the Track used for this projection. More... | |
void | addToPoints (eicd::TrackPoint) |
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 MutableTrackSegment &other) const |
bool | operator== (const TrackSegment &other) const |
bool | operator< (const MutableTrackSegment &other) const |
unsigned int | 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.
eicd::MutableTrackSegment::MutableTrackSegment | ( | ) |
default constructor
eicd::MutableTrackSegment::MutableTrackSegment | ( | float | length, |
float | lengthError | ||
) |
eicd::MutableTrackSegment::MutableTrackSegment | ( | TrackSegmentObj * | obj | ) |
constructor from existing TrackSegmentObj
eicd::MutableTrackSegment::MutableTrackSegment | ( | const MutableTrackSegment & | other | ) |
copy constructor
eicd::MutableTrackSegment::~MutableTrackSegment | ( | ) |
destructor
void eicd::MutableTrackSegment::addToPoints | ( | eicd::TrackPoint | component | ) |
MutableTrackSegment eicd::MutableTrackSegment::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const float & eicd::MutableTrackSegment::getLength | ( | ) | const |
Access the Pathlength from the first to the last point.
const float & eicd::MutableTrackSegment::getLengthError | ( | ) | const |
Access the Error on the segment length.
const podio::ObjectID eicd::MutableTrackSegment::getObjectID | ( | ) | const |
podio::RelationRange< eicd::TrackPoint > eicd::MutableTrackSegment::getPoints | ( | ) | const |
eicd::TrackPoint eicd::MutableTrackSegment::getPoints | ( | unsigned int | index | ) | const |
const eicd::Track eicd::MutableTrackSegment::getTrack | ( | ) | const |
Access the Track used for this projection.
|
inline |
bool eicd::MutableTrackSegment::isAvailable | ( | ) | const |
check whether the object is actually available
eicd::MutableTrackSegment::operator TrackSegment | ( | ) | const |
conversion to const object
|
inline |
MutableTrackSegment & eicd::MutableTrackSegment::operator= | ( | MutableTrackSegment | other | ) |
copy-assignment operator
|
inline |
bool eicd::MutableTrackSegment::operator== | ( | const TrackSegment & | other | ) | const |
std::vector< eicd::TrackPoint >::const_iterator eicd::MutableTrackSegment::points_begin | ( | ) | const |
std::vector< eicd::TrackPoint >::const_iterator eicd::MutableTrackSegment::points_end | ( | ) | const |
unsigned int eicd::MutableTrackSegment::points_size | ( | ) | const |
void eicd::MutableTrackSegment::setLength | ( | float | value | ) |
Set the Pathlength from the first to the last point.
void eicd::MutableTrackSegment::setLengthError | ( | float | value | ) |
Set the Error on the segment length.
void eicd::MutableTrackSegment::setTrack | ( | eicd::Track | value | ) |
Set the Track used for this projection.
|
inline |
disconnect from TrackSegmentObj instance
|
friend |
|
friend |
|
friend |
|
friend |