EICd
EIC data model
eicd::MutableTrackSegment Class Reference

#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...
 
MutableTrackSegmentoperator= (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::TrackPointgetPoints () 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)
 

Detailed Description

A track segment defined by one or more points along a track.

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MutableTrackSegment() [1/4]

eicd::MutableTrackSegment::MutableTrackSegment ( )

default constructor

◆ MutableTrackSegment() [2/4]

eicd::MutableTrackSegment::MutableTrackSegment ( float  length,
float  lengthError 
)

◆ MutableTrackSegment() [3/4]

eicd::MutableTrackSegment::MutableTrackSegment ( TrackSegmentObj obj)

constructor from existing TrackSegmentObj

◆ MutableTrackSegment() [4/4]

eicd::MutableTrackSegment::MutableTrackSegment ( const MutableTrackSegment other)

copy constructor

◆ ~MutableTrackSegment()

eicd::MutableTrackSegment::~MutableTrackSegment ( )

destructor

Member Function Documentation

◆ addToPoints()

void eicd::MutableTrackSegment::addToPoints ( eicd::TrackPoint  component)

◆ clone()

MutableTrackSegment eicd::MutableTrackSegment::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getLength()

const float & eicd::MutableTrackSegment::getLength ( ) const

Access the Pathlength from the first to the last point.

◆ getLengthError()

const float & eicd::MutableTrackSegment::getLengthError ( ) const

Access the Error on the segment length.

◆ getObjectID()

const podio::ObjectID eicd::MutableTrackSegment::getObjectID ( ) const

◆ getPoints() [1/2]

podio::RelationRange< eicd::TrackPoint > eicd::MutableTrackSegment::getPoints ( ) const

◆ getPoints() [2/2]

eicd::TrackPoint eicd::MutableTrackSegment::getPoints ( unsigned int  index) const

◆ getTrack()

const eicd::Track eicd::MutableTrackSegment::getTrack ( ) const

Access the Track used for this projection.

◆ id()

unsigned int eicd::MutableTrackSegment::id ( ) const
inline

◆ isAvailable()

bool eicd::MutableTrackSegment::isAvailable ( ) const

check whether the object is actually available

◆ operator TrackSegment()

eicd::MutableTrackSegment::operator TrackSegment ( ) const

conversion to const object

◆ operator<()

bool eicd::MutableTrackSegment::operator< ( const MutableTrackSegment other) const
inline

◆ operator=()

MutableTrackSegment & eicd::MutableTrackSegment::operator= ( MutableTrackSegment  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::MutableTrackSegment::operator== ( const MutableTrackSegment other) const
inline

◆ operator==() [2/2]

bool eicd::MutableTrackSegment::operator== ( const TrackSegment other) const

◆ points_begin()

std::vector< eicd::TrackPoint >::const_iterator eicd::MutableTrackSegment::points_begin ( ) const

◆ points_end()

std::vector< eicd::TrackPoint >::const_iterator eicd::MutableTrackSegment::points_end ( ) const

◆ points_size()

unsigned int eicd::MutableTrackSegment::points_size ( ) const

◆ setLength()

void eicd::MutableTrackSegment::setLength ( float  value)

Set the Pathlength from the first to the last point.

◆ setLengthError()

void eicd::MutableTrackSegment::setLengthError ( float  value)

Set the Error on the segment length.

◆ setTrack()

void eicd::MutableTrackSegment::setTrack ( eicd::Track  value)

Set the Track used for this projection.

◆ unlink()

void eicd::MutableTrackSegment::unlink ( )
inline

disconnect from TrackSegmentObj instance

Friends And Related Function Documentation

◆ swap

void swap ( MutableTrackSegment a,
MutableTrackSegment b 
)
friend

◆ TrackSegment

friend class TrackSegment
friend

◆ TrackSegmentCollection

friend class TrackSegmentCollection
friend

◆ TrackSegmentMutableCollectionIterator


The documentation for this class was generated from the following files: