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

#include <MutableTrajectory.h>

Public Types

using object_type = Trajectory
 
using collection_type = TrajectoryCollection
 

Public Member Functions

 MutableTrajectory ()
 default constructor
 
 MutableTrajectory (std::uint32_t type, std::uint32_t nStates, std::uint32_t nMeasurements, std::uint32_t nOutliers, std::uint32_t nHoles, std::uint32_t nSharedHits)
 Constructor initializing all members.
 
 MutableTrajectory (const MutableTrajectory &other)=default
 copy constructor
 
MutableTrajectoryoperator= (MutableTrajectory other)
 copy-assignment operator
 
MutableTrajectory clone (bool cloneRelations=true) const
 
 ~MutableTrajectory ()=default
 destructor
 
std::uint32_t getType () const
 Access the 0 (does not have good track fit), 1 (has good track fit)
 
std::uint32_t getNStates () const
 Access the Number of tracking steps.
 
std::uint32_t getNMeasurements () const
 Access the Number of hits used.
 
std::uint32_t getNOutliers () const
 Access the Number of hits not considered.
 
std::uint32_t getNHoles () const
 Access the Number of missing hits.
 
std::uint32_t getNSharedHits () const
 Access the Number of shared hits with other trajectories.
 
const edm4eic::TrackSeed getSeed () const
 Access the Corresponding track seed.
 
void setType (std::uint32_t value)
 Set the 0 (does not have good track fit), 1 (has good track fit)
 
std::uint32_t & getType ()
 Get mutable reference to 0 (does not have good track fit), 1 (has good track fit)
 
std::uint32_t & type ()
 Get reference to 0 (does not have good track fit), 1 (has good track fit)
 
void setNStates (std::uint32_t value)
 Set the Number of tracking steps.
 
std::uint32_t & getNStates ()
 Get mutable reference to Number of tracking steps.
 
std::uint32_t & nStates ()
 Get reference to Number of tracking steps.
 
void setNMeasurements (std::uint32_t value)
 Set the Number of hits used.
 
std::uint32_t & getNMeasurements ()
 Get mutable reference to Number of hits used.
 
std::uint32_t & nMeasurements ()
 Get reference to Number of hits used.
 
void setNOutliers (std::uint32_t value)
 Set the Number of hits not considered.
 
std::uint32_t & getNOutliers ()
 Get mutable reference to Number of hits not considered.
 
std::uint32_t & nOutliers ()
 Get reference to Number of hits not considered.
 
void setNHoles (std::uint32_t value)
 Set the Number of missing hits.
 
std::uint32_t & getNHoles ()
 Get mutable reference to Number of missing hits.
 
std::uint32_t & nHoles ()
 Get reference to Number of missing hits.
 
void setNSharedHits (std::uint32_t value)
 Set the Number of shared hits with other trajectories.
 
std::uint32_t & getNSharedHits ()
 Get mutable reference to Number of shared hits with other trajectories.
 
std::uint32_t & nSharedHits ()
 Get reference to Number of shared hits with other trajectories.
 
void setSeed (const edm4eic::TrackSeed &value)
 Set the Corresponding track seed.
 
void addToTrackParameters (const edm4eic::TrackParameters &)
 
std::size_t trackParameters_size () const
 
edm4eic::TrackParameters getTrackParameters (std::size_t) const
 
std::vector< edm4eic::TrackParameters >::const_iterator trackParameters_begin () const
 
std::vector< edm4eic::TrackParameters >::const_iterator trackParameters_end () const
 
podio::RelationRange< edm4eic::TrackParametersgetTrackParameters () const
 
void addToMeasurements_deprecated (const edm4eic::Measurement2D &)
 
std::size_t measurements_deprecated_size () const
 
edm4eic::Measurement2D getMeasurements_deprecated (std::size_t) const
 
std::vector< edm4eic::Measurement2D >::const_iterator measurements_deprecated_begin () const
 
std::vector< edm4eic::Measurement2D >::const_iterator measurements_deprecated_end () const
 
podio::RelationRange< edm4eic::Measurement2DgetMeasurements_deprecated () const
 
void addToOutliers_deprecated (const edm4eic::Measurement2D &)
 
std::size_t outliers_deprecated_size () const
 
edm4eic::Measurement2D getOutliers_deprecated (std::size_t) const
 
std::vector< edm4eic::Measurement2D >::const_iterator outliers_deprecated_begin () const
 
std::vector< edm4eic::Measurement2D >::const_iterator outliers_deprecated_end () const
 
podio::RelationRange< edm4eic::Measurement2DgetOutliers_deprecated () const
 
void addToMeasurementChi2 (const float &)
 
std::size_t measurementChi2_size () const
 
float getMeasurementChi2 (std::size_t) const
 
std::vector< float >::const_iterator measurementChi2_begin () const
 
std::vector< float >::const_iterator measurementChi2_end () const
 
podio::RelationRange< float > getMeasurementChi2 () const
 
void addToOutlierChi2 (const float &)
 
std::size_t outlierChi2_size () const
 
float getOutlierChi2 (std::size_t) const
 
std::vector< float >::const_iterator outlierChi2_begin () const
 
std::vector< float >::const_iterator outlierChi2_end () const
 
podio::RelationRange< float > getOutlierChi2 () const
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrajectoryObj instance
 
bool operator== (const MutableTrajectory &other) const
 
bool operator== (const Trajectory &other) const
 
bool operator!= (const MutableTrajectory &other) const
 
bool operator!= (const Trajectory &other) const
 
bool operator< (const MutableTrajectory &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class TrajectoryCollection
 
class TrajectoryMutableCollectionIterator
 
class Trajectory
 
void swap (MutableTrajectory &a, MutableTrajectory &b)
 

Detailed Description

Raw trajectory from the tracking algorithm. What is called hit here is 2d measurement indeed.

Author
: S. Joosten, S. Li

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrajectory() [1/3]

edm4eic::MutableTrajectory::MutableTrajectory ( )

default constructor

◆ MutableTrajectory() [2/3]

edm4eic::MutableTrajectory::MutableTrajectory ( std::uint32_t type,
std::uint32_t nStates,
std::uint32_t nMeasurements,
std::uint32_t nOutliers,
std::uint32_t nHoles,
std::uint32_t nSharedHits )

Constructor initializing all members.

◆ MutableTrajectory() [3/3]

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

copy constructor

◆ ~MutableTrajectory()

edm4eic::MutableTrajectory::~MutableTrajectory ( )
default

destructor

Member Function Documentation

◆ addToMeasurementChi2()

void edm4eic::MutableTrajectory::addToMeasurementChi2 ( const float & component)

◆ addToMeasurements_deprecated()

void edm4eic::MutableTrajectory::addToMeasurements_deprecated ( const edm4eic::Measurement2D & component)

◆ addToOutlierChi2()

void edm4eic::MutableTrajectory::addToOutlierChi2 ( const float & component)

◆ addToOutliers_deprecated()

void edm4eic::MutableTrajectory::addToOutliers_deprecated ( const edm4eic::Measurement2D & component)

◆ addToTrackParameters()

void edm4eic::MutableTrajectory::addToTrackParameters ( const edm4eic::TrackParameters & component)

◆ clone()

MutableTrajectory edm4eic::MutableTrajectory::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

◆ getMeasurementChi2() [1/2]

podio::RelationRange< float > edm4eic::MutableTrajectory::getMeasurementChi2 ( ) const

◆ getMeasurementChi2() [2/2]

float edm4eic::MutableTrajectory::getMeasurementChi2 ( std::size_t index) const

◆ getMeasurements_deprecated() [1/2]

podio::RelationRange< edm4eic::Measurement2D > edm4eic::MutableTrajectory::getMeasurements_deprecated ( ) const

◆ getMeasurements_deprecated() [2/2]

edm4eic::Measurement2D edm4eic::MutableTrajectory::getMeasurements_deprecated ( std::size_t index) const

◆ getNHoles() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getNHoles ( )

Get mutable reference to Number of missing hits.

◆ getNHoles() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getNHoles ( ) const

Access the Number of missing hits.

◆ getNMeasurements() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getNMeasurements ( )

Get mutable reference to Number of hits used.

◆ getNMeasurements() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getNMeasurements ( ) const

Access the Number of hits used.

◆ getNOutliers() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getNOutliers ( )

Get mutable reference to Number of hits not considered.

◆ getNOutliers() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getNOutliers ( ) const

Access the Number of hits not considered.

◆ getNSharedHits() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getNSharedHits ( )

Get mutable reference to Number of shared hits with other trajectories.

◆ getNSharedHits() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getNSharedHits ( ) const

Access the Number of shared hits with other trajectories.

◆ getNStates() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getNStates ( )

Get mutable reference to Number of tracking steps.

◆ getNStates() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getNStates ( ) const

Access the Number of tracking steps.

◆ getObjectID()

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

◆ getOutlierChi2() [1/2]

podio::RelationRange< float > edm4eic::MutableTrajectory::getOutlierChi2 ( ) const

◆ getOutlierChi2() [2/2]

float edm4eic::MutableTrajectory::getOutlierChi2 ( std::size_t index) const

◆ getOutliers_deprecated() [1/2]

podio::RelationRange< edm4eic::Measurement2D > edm4eic::MutableTrajectory::getOutliers_deprecated ( ) const

◆ getOutliers_deprecated() [2/2]

edm4eic::Measurement2D edm4eic::MutableTrajectory::getOutliers_deprecated ( std::size_t index) const

◆ getSeed()

const edm4eic::TrackSeed edm4eic::MutableTrajectory::getSeed ( ) const

Access the Corresponding track seed.

◆ getTrackParameters() [1/2]

podio::RelationRange< edm4eic::TrackParameters > edm4eic::MutableTrajectory::getTrackParameters ( ) const

◆ getTrackParameters() [2/2]

edm4eic::TrackParameters edm4eic::MutableTrajectory::getTrackParameters ( std::size_t index) const

◆ getType() [1/2]

std::uint32_t & edm4eic::MutableTrajectory::getType ( )

Get mutable reference to 0 (does not have good track fit), 1 (has good track fit)

◆ getType() [2/2]

std::uint32_t edm4eic::MutableTrajectory::getType ( ) const

Access the 0 (does not have good track fit), 1 (has good track fit)

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableTrajectory::isAvailable ( ) const

check whether the object is actually available

◆ measurementChi2_begin()

std::vector< float >::const_iterator edm4eic::MutableTrajectory::measurementChi2_begin ( ) const

◆ measurementChi2_end()

std::vector< float >::const_iterator edm4eic::MutableTrajectory::measurementChi2_end ( ) const

◆ measurementChi2_size()

std::size_t edm4eic::MutableTrajectory::measurementChi2_size ( ) const

◆ measurements_deprecated_begin()

std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrajectory::measurements_deprecated_begin ( ) const

◆ measurements_deprecated_end()

std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrajectory::measurements_deprecated_end ( ) const

◆ measurements_deprecated_size()

std::size_t edm4eic::MutableTrajectory::measurements_deprecated_size ( ) const

◆ nHoles()

std::uint32_t & edm4eic::MutableTrajectory::nHoles ( )

Get reference to Number of missing hits.

◆ nMeasurements()

std::uint32_t & edm4eic::MutableTrajectory::nMeasurements ( )

Get reference to Number of hits used.

◆ nOutliers()

std::uint32_t & edm4eic::MutableTrajectory::nOutliers ( )

Get reference to Number of hits not considered.

◆ nSharedHits()

std::uint32_t & edm4eic::MutableTrajectory::nSharedHits ( )

Get reference to Number of shared hits with other trajectories.

◆ nStates()

std::uint32_t & edm4eic::MutableTrajectory::nStates ( )

Get reference to Number of tracking steps.

◆ operator!=() [1/2]

bool edm4eic::MutableTrajectory::operator!= ( const MutableTrajectory & other) const
inline

◆ operator!=() [2/2]

bool edm4eic::MutableTrajectory::operator!= ( const Trajectory & other) const
inline

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool edm4eic::MutableTrajectory::operator== ( const Trajectory & other) const

◆ outlierChi2_begin()

std::vector< float >::const_iterator edm4eic::MutableTrajectory::outlierChi2_begin ( ) const

◆ outlierChi2_end()

std::vector< float >::const_iterator edm4eic::MutableTrajectory::outlierChi2_end ( ) const

◆ outlierChi2_size()

std::size_t edm4eic::MutableTrajectory::outlierChi2_size ( ) const

◆ outliers_deprecated_begin()

std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrajectory::outliers_deprecated_begin ( ) const

◆ outliers_deprecated_end()

std::vector< edm4eic::Measurement2D >::const_iterator edm4eic::MutableTrajectory::outliers_deprecated_end ( ) const

◆ outliers_deprecated_size()

std::size_t edm4eic::MutableTrajectory::outliers_deprecated_size ( ) const

◆ setNHoles()

void edm4eic::MutableTrajectory::setNHoles ( std::uint32_t value)

Set the Number of missing hits.

◆ setNMeasurements()

void edm4eic::MutableTrajectory::setNMeasurements ( std::uint32_t value)

Set the Number of hits used.

◆ setNOutliers()

void edm4eic::MutableTrajectory::setNOutliers ( std::uint32_t value)

Set the Number of hits not considered.

◆ setNSharedHits()

void edm4eic::MutableTrajectory::setNSharedHits ( std::uint32_t value)

Set the Number of shared hits with other trajectories.

◆ setNStates()

void edm4eic::MutableTrajectory::setNStates ( std::uint32_t value)

Set the Number of tracking steps.

◆ setSeed()

void edm4eic::MutableTrajectory::setSeed ( const edm4eic::TrackSeed & value)

Set the Corresponding track seed.

◆ setType()

void edm4eic::MutableTrajectory::setType ( std::uint32_t value)

Set the 0 (does not have good track fit), 1 (has good track fit)

◆ trackParameters_begin()

std::vector< edm4eic::TrackParameters >::const_iterator edm4eic::MutableTrajectory::trackParameters_begin ( ) const

◆ trackParameters_end()

std::vector< edm4eic::TrackParameters >::const_iterator edm4eic::MutableTrajectory::trackParameters_end ( ) const

◆ trackParameters_size()

std::size_t edm4eic::MutableTrajectory::trackParameters_size ( ) const

◆ type()

std::uint32_t & edm4eic::MutableTrajectory::type ( )

Get reference to 0 (does not have good track fit), 1 (has good track fit)

◆ unlink()

void edm4eic::MutableTrajectory::unlink ( )
inline

disconnect from TrajectoryObj instance

Friends And Related Symbol Documentation

◆ swap

void swap ( MutableTrajectory & a,
MutableTrajectory & b )
friend

◆ Trajectory

friend class Trajectory
friend

◆ TrajectoryCollection

friend class TrajectoryCollection
friend

◆ TrajectoryMutableCollectionIterator


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