EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MutableTrackSegment Class Reference

#include <MutableTrackSegment.h>

Public Types

using object_type = TrackSegment
 
using collection_type = TrackSegmentCollection
 

Public Member Functions

 MutableTrackSegment ()
 default constructor
 
 MutableTrackSegment (float length, float lengthError)
 Constructor initializing all members.
 
 MutableTrackSegment (const MutableTrackSegment &other)=default
 copy constructor
 
MutableTrackSegmentoperator= (MutableTrackSegment other)
 copy-assignment operator
 
MutableTrackSegment clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableTrackSegment ()=default
 destructor
 
 operator TrackSegment () const
 conversion to const object
 
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 (float value)
 Set the Pathlength from the first to the last point.
 
void setLengthError (float value)
 Set the Error on the segment length.
 
void setTrack (edm4eic::Track value)
 Set the Track used for this projection.
 
void addToPoints (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::TrackPointgetPoints () 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
 
podio::ObjectID 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

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrackSegment() [1/3]

edm4eic::MutableTrackSegment::MutableTrackSegment ( )

default constructor

◆ MutableTrackSegment() [2/3]

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

Constructor initializing all members.

◆ MutableTrackSegment() [3/3]

edm4eic::MutableTrackSegment::MutableTrackSegment ( const MutableTrackSegment & other)
default

copy constructor

◆ ~MutableTrackSegment()

edm4eic::MutableTrackSegment::~MutableTrackSegment ( )
default

destructor

Member Function Documentation

◆ addToPoints()

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

◆ clone()

MutableTrackSegment edm4eic::MutableTrackSegment::clone ( ) const

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

◆ getLength()

float edm4eic::MutableTrackSegment::getLength ( ) const

Access the Pathlength from the first to the last point.

◆ getLengthError()

float edm4eic::MutableTrackSegment::getLengthError ( ) const

Access the Error on the segment length.

◆ getObjectID()

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

◆ getPoints() [1/2]

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

◆ getPoints() [2/2]

edm4eic::TrackPoint edm4eic::MutableTrackSegment::getPoints ( std::size_t index) const

◆ getTrack()

const edm4eic::Track edm4eic::MutableTrackSegment::getTrack ( ) const

Access the Track used for this projection.

◆ id()

podio::ObjectID edm4eic::MutableTrackSegment::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MutableTrackSegment::isAvailable ( ) const

check whether the object is actually available

◆ operator TrackSegment()

edm4eic::MutableTrackSegment::operator TrackSegment ( ) const

conversion to const object

◆ operator<()

bool edm4eic::MutableTrackSegment::operator< ( const MutableTrackSegment & other) const
inline

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableTrackSegment::operator== ( const MutableTrackSegment & other) const
inline

◆ operator==() [2/2]

bool edm4eic::MutableTrackSegment::operator== ( const TrackSegment & other) const

◆ points_begin()

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

◆ points_end()

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

◆ points_size()

std::size_t edm4eic::MutableTrackSegment::points_size ( ) const

◆ setLength()

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

Set the Pathlength from the first to the last point.

◆ setLengthError()

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

Set the Error on the segment length.

◆ setTrack()

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

Set the Track used for this projection.

◆ unlink()

void edm4eic::MutableTrackSegment::unlink ( )
inline

disconnect from TrackSegmentObj instance

Friends And Related Symbol 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: