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

#include <Trajectory.h>

Public Types

using mutable_type = MutableTrajectory
 
using collection_type = TrajectoryCollection
 

Public Member Functions

 Trajectory ()
 default constructor
 
 Trajectory (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.
 
 Trajectory (const Trajectory &other)=default
 copy constructor
 
Trajectoryoperator= (Trajectory other)
 copy-assignment operator
 
MutableTrajectory clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~Trajectory ()=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.
 
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
 
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
 
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
 
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
 
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 Trajectory &other) const
 
bool operator== (const MutableTrajectory &other) const
 
bool operator< (const Trajectory &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static Trajectory makeEmpty ()
 

Friends

class MutableTrajectory
 
class TrajectoryCollection
 
class edm4eic::TrajectoryCollectionData
 
class TrajectoryCollectionIterator
 
void swap (Trajectory &a, Trajectory &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

◆ mutable_type

Constructor & Destructor Documentation

◆ Trajectory() [1/3]

edm4eic::Trajectory::Trajectory ( )

default constructor

◆ Trajectory() [2/3]

edm4eic::Trajectory::Trajectory ( 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.

◆ Trajectory() [3/3]

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

copy constructor

◆ ~Trajectory()

edm4eic::Trajectory::~Trajectory ( )
default

destructor

Member Function Documentation

◆ clone()

MutableTrajectory edm4eic::Trajectory::clone ( ) const

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

◆ getMeasurementChi2() [1/2]

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

◆ getMeasurementChi2() [2/2]

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

◆ getMeasurements_deprecated() [1/2]

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

◆ getMeasurements_deprecated() [2/2]

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

◆ getNHoles()

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

Access the Number of missing hits.

◆ getNMeasurements()

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

Access the Number of hits used.

◆ getNOutliers()

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

Access the Number of hits not considered.

◆ getNSharedHits()

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

Access the Number of shared hits with other trajectories.

◆ getNStates()

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

Access the Number of tracking steps.

◆ getObjectID()

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

◆ getOutlierChi2() [1/2]

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

◆ getOutlierChi2() [2/2]

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

◆ getOutliers_deprecated() [1/2]

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

◆ getOutliers_deprecated() [2/2]

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

◆ getSeed()

const edm4eic::TrackSeed edm4eic::Trajectory::getSeed ( ) const

Access the Corresponding track seed.

◆ getTrackParameters() [1/2]

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

◆ getTrackParameters() [2/2]

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

◆ getType()

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

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

◆ id()

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

◆ isAvailable()

bool edm4eic::Trajectory::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

Trajectory edm4eic::Trajectory::makeEmpty ( )
static

◆ measurementChi2_begin()

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

◆ measurementChi2_end()

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

◆ measurementChi2_size()

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

◆ measurements_deprecated_begin()

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

◆ measurements_deprecated_end()

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

◆ measurements_deprecated_size()

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

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ outlierChi2_begin()

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

◆ outlierChi2_end()

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

◆ outlierChi2_size()

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

◆ outliers_deprecated_begin()

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

◆ outliers_deprecated_end()

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

◆ outliers_deprecated_size()

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

◆ trackParameters_begin()

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

◆ trackParameters_end()

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

◆ trackParameters_size()

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

◆ unlink()

void edm4eic::Trajectory::unlink ( )
inline

disconnect from TrajectoryObj instance

Friends And Related Symbol Documentation

◆ edm4eic::TrajectoryCollectionData

friend class edm4eic::TrajectoryCollectionData
friend

◆ MutableTrajectory

friend class MutableTrajectory
friend

◆ swap

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

◆ TrajectoryCollection

friend class TrajectoryCollection
friend

◆ TrajectoryCollectionIterator

friend class TrajectoryCollectionIterator
friend

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