|
EDM4eic
EIC data model
|
#include <MutableTrackSegment.h>
Public Types | |
| using | object_type = TrackSegment |
| using | collection_type = TrackSegmentCollection |
Public Member Functions | |
| MutableTrackSegment () | |
| default constructor | |
| MutableTrackSegment (const float length, const float lengthError) | |
| Constructor initializing all members. | |
| MutableTrackSegment (const MutableTrackSegment &other)=default | |
| copy constructor | |
| MutableTrackSegment & | operator= (MutableTrackSegment other) & |
| copy-assignment operator | |
| MutableTrackSegment & | operator= (MutableTrackSegment other) &&=delete |
| MutableTrackSegment | clone (bool cloneRelations=true) const |
| ~MutableTrackSegment ()=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. | |
| void | setLength (const float length) |
| Set the Pathlength from the first to the last point. | |
| float & | getLength () |
| Get mutable reference to Pathlength from the first to the last point. | |
| float & | length () |
| Get reference to Pathlength from the first to the last point. | |
| void | setLengthError (const float lengthError) |
| Set the Error on the segment length. | |
| float & | getLengthError () |
| Get mutable reference to Error on the segment length. | |
| float & | lengthError () |
| Get reference to Error on the segment length. | |
| void | setTrack (const edm4eic::Track &value) |
| Set the Track used for this projection. | |
| void | addToPoints (const 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 |
| 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 | ( | const float | length, |
| const float | lengthError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| void edm4eic::MutableTrackSegment::addToPoints | ( | const edm4eic::TrackPoint & | component | ) |
| MutableTrackSegment edm4eic::MutableTrackSegment::clone | ( | bool | cloneRelations = true | ) | const |
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
| float & edm4eic::MutableTrackSegment::getLength | ( | ) |
Get mutable reference to Pathlength from the first to the last point.
| float edm4eic::MutableTrackSegment::getLength | ( | ) | const |
Access the Pathlength from the first to the last point.
| float & edm4eic::MutableTrackSegment::getLengthError | ( | ) |
Get mutable reference to Error on the segment length.
| 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
| float & edm4eic::MutableTrackSegment::length | ( | ) |
Get reference to Pathlength from the first to the last point.
| float & edm4eic::MutableTrackSegment::lengthError | ( | ) |
Get reference to Error on the segment length.
|
inline |
|
inline |
|
inline |
| MutableTrackSegment & edm4eic::MutableTrackSegment::operator= | ( | MutableTrackSegment | other | ) | & |
copy-assignment operator
|
delete |
|
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 | ( | const float | length | ) |
Set the Pathlength from the first to the last point.
| void edm4eic::MutableTrackSegment::setLengthError | ( | const float | lengthError | ) |
Set the Error on the segment length.
| void edm4eic::MutableTrackSegment::setTrack | ( | const edm4eic::Track & | value | ) |
Set the Track used for this projection.
|
inline |
disconnect from TrackSegmentObj instance
|
friend |
|
friend |
|
friend |
|
friend |