EICd
EIC data model
eicd::MutableTrajectory Class Reference

#include <MutableTrajectory.h>

Public Member Functions

 MutableTrajectory ()
 default constructor More...
 
 MutableTrajectory (std::uint32_t type, std::uint32_t nStates, std::uint32_t nMeasurements, std::uint32_t nOutliers, std::uint32_t nHoles, float chi2, std::uint32_t ndf, std::uint32_t nSharedHits)
 
 MutableTrajectory (TrajectoryObj *obj)
 constructor from existing TrajectoryObj More...
 
 MutableTrajectory (const MutableTrajectory &other)
 copy constructor More...
 
MutableTrajectoryoperator= (MutableTrajectory other)
 copy-assignment operator More...
 
MutableTrajectory clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableTrajectory ()
 destructor More...
 
 operator Trajectory () const
 conversion to const object More...
 
const std::uint32_t & getType () const
 Access the 0 (does not have good track fit), 1 (has good track fit) More...
 
const std::uint32_t & getNStates () const
 Access the Number of tracking steps. More...
 
const std::uint32_t & getNMeasurements () const
 Access the Number of hits used. More...
 
const std::uint32_t & getNOutliers () const
 Access the Number of hits not considered. More...
 
const std::uint32_t & getNHoles () const
 Access the Number of missing hits. More...
 
const float & getChi2 () const
 Access the Total chi2. More...
 
const std::uint32_t & getNdf () const
 Access the Number of degrees of freedom. More...
 
const std::uint32_t & getNSharedHits () const
 Access the Number of shared hits with other trajectories. More...
 
const eicd::TrackParameters getTrackParameters () const
 Access the Associated track parameters, if any. More...
 
void setType (std::uint32_t value)
 Set the 0 (does not have good track fit), 1 (has good track fit) More...
 
void setNStates (std::uint32_t value)
 Set the Number of tracking steps. More...
 
void setNMeasurements (std::uint32_t value)
 Set the Number of hits used. More...
 
void setNOutliers (std::uint32_t value)
 Set the Number of hits not considered. More...
 
void setNHoles (std::uint32_t value)
 Set the Number of missing hits. More...
 
void setChi2 (float value)
 Set the Total chi2. More...
 
void setNdf (std::uint32_t value)
 Set the Number of degrees of freedom. More...
 
void setNSharedHits (std::uint32_t value)
 Set the Number of shared hits with other trajectories. More...
 
void setTrackParameters (eicd::TrackParameters value)
 Set the Associated track parameters, if any. More...
 
void addToMeasurementHits (eicd::TrackerHit)
 
unsigned int measurementHits_size () const
 
eicd::TrackerHit getMeasurementHits (unsigned int) const
 
std::vector< eicd::TrackerHit >::const_iterator measurementHits_begin () const
 
std::vector< eicd::TrackerHit >::const_iterator measurementHits_end () const
 
podio::RelationRange< eicd::TrackerHitgetMeasurementHits () const
 
void addToOutlierHits (eicd::TrackerHit)
 
unsigned int outlierHits_size () const
 
eicd::TrackerHit getOutlierHits (unsigned int) const
 
std::vector< eicd::TrackerHit >::const_iterator outlierHits_begin () const
 
std::vector< eicd::TrackerHit >::const_iterator outlierHits_end () const
 
podio::RelationRange< eicd::TrackerHitgetOutlierHits () const
 
void addToMeasurementChi2 (float)
 
unsigned int measurementChi2_size () const
 
float getMeasurementChi2 (unsigned int) const
 
std::vector< float >::const_iterator measurementChi2_begin () const
 
std::vector< float >::const_iterator measurementChi2_end () const
 
podio::RelationRange< float > getMeasurementChi2 () const
 
void addToOutlierChi2 (float)
 
unsigned int outlierChi2_size () const
 
float getOutlierChi2 (unsigned int) 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 More...
 
void unlink ()
 disconnect from TrajectoryObj instance More...
 
bool operator== (const MutableTrajectory &other) const
 
bool operator== (const Trajectory &other) const
 
bool operator< (const MutableTrajectory &other) const
 
unsigned int 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

Author
: S. Joosten, S. Li

Constructor & Destructor Documentation

◆ MutableTrajectory() [1/4]

eicd::MutableTrajectory::MutableTrajectory ( )

default constructor

◆ MutableTrajectory() [2/4]

eicd::MutableTrajectory::MutableTrajectory ( std::uint32_t  type,
std::uint32_t  nStates,
std::uint32_t  nMeasurements,
std::uint32_t  nOutliers,
std::uint32_t  nHoles,
float  chi2,
std::uint32_t  ndf,
std::uint32_t  nSharedHits 
)

◆ MutableTrajectory() [3/4]

eicd::MutableTrajectory::MutableTrajectory ( TrajectoryObj obj)

constructor from existing TrajectoryObj

◆ MutableTrajectory() [4/4]

eicd::MutableTrajectory::MutableTrajectory ( const MutableTrajectory other)

copy constructor

◆ ~MutableTrajectory()

eicd::MutableTrajectory::~MutableTrajectory ( )

destructor

Member Function Documentation

◆ addToMeasurementChi2()

void eicd::MutableTrajectory::addToMeasurementChi2 ( float  component)

◆ addToMeasurementHits()

void eicd::MutableTrajectory::addToMeasurementHits ( eicd::TrackerHit  component)

◆ addToOutlierChi2()

void eicd::MutableTrajectory::addToOutlierChi2 ( float  component)

◆ addToOutlierHits()

void eicd::MutableTrajectory::addToOutlierHits ( eicd::TrackerHit  component)

◆ clone()

MutableTrajectory eicd::MutableTrajectory::clone ( ) const

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

◆ getChi2()

const float & eicd::MutableTrajectory::getChi2 ( ) const

Access the Total chi2.

◆ getMeasurementChi2() [1/2]

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

◆ getMeasurementChi2() [2/2]

float eicd::MutableTrajectory::getMeasurementChi2 ( unsigned int  index) const

◆ getMeasurementHits() [1/2]

podio::RelationRange< eicd::TrackerHit > eicd::MutableTrajectory::getMeasurementHits ( ) const

◆ getMeasurementHits() [2/2]

eicd::TrackerHit eicd::MutableTrajectory::getMeasurementHits ( unsigned int  index) const

◆ getNdf()

const std::uint32_t & eicd::MutableTrajectory::getNdf ( ) const

Access the Number of degrees of freedom.

◆ getNHoles()

const std::uint32_t & eicd::MutableTrajectory::getNHoles ( ) const

Access the Number of missing hits.

◆ getNMeasurements()

const std::uint32_t & eicd::MutableTrajectory::getNMeasurements ( ) const

Access the Number of hits used.

◆ getNOutliers()

const std::uint32_t & eicd::MutableTrajectory::getNOutliers ( ) const

Access the Number of hits not considered.

◆ getNSharedHits()

const std::uint32_t & eicd::MutableTrajectory::getNSharedHits ( ) const

Access the Number of shared hits with other trajectories.

◆ getNStates()

const std::uint32_t & eicd::MutableTrajectory::getNStates ( ) const

Access the Number of tracking steps.

◆ getObjectID()

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

◆ getOutlierChi2() [1/2]

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

◆ getOutlierChi2() [2/2]

float eicd::MutableTrajectory::getOutlierChi2 ( unsigned int  index) const

◆ getOutlierHits() [1/2]

podio::RelationRange< eicd::TrackerHit > eicd::MutableTrajectory::getOutlierHits ( ) const

◆ getOutlierHits() [2/2]

eicd::TrackerHit eicd::MutableTrajectory::getOutlierHits ( unsigned int  index) const

◆ getTrackParameters()

const eicd::TrackParameters eicd::MutableTrajectory::getTrackParameters ( ) const

Access the Associated track parameters, if any.

◆ getType()

const std::uint32_t & eicd::MutableTrajectory::getType ( ) const

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

◆ id()

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

◆ isAvailable()

bool eicd::MutableTrajectory::isAvailable ( ) const

check whether the object is actually available

◆ measurementChi2_begin()

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

◆ measurementChi2_end()

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

◆ measurementChi2_size()

unsigned int eicd::MutableTrajectory::measurementChi2_size ( ) const

◆ measurementHits_begin()

std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::measurementHits_begin ( ) const

◆ measurementHits_end()

std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::measurementHits_end ( ) const

◆ measurementHits_size()

unsigned int eicd::MutableTrajectory::measurementHits_size ( ) const

◆ operator Trajectory()

eicd::MutableTrajectory::operator Trajectory ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool eicd::MutableTrajectory::operator== ( const Trajectory other) const

◆ outlierChi2_begin()

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

◆ outlierChi2_end()

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

◆ outlierChi2_size()

unsigned int eicd::MutableTrajectory::outlierChi2_size ( ) const

◆ outlierHits_begin()

std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::outlierHits_begin ( ) const

◆ outlierHits_end()

std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::outlierHits_end ( ) const

◆ outlierHits_size()

unsigned int eicd::MutableTrajectory::outlierHits_size ( ) const

◆ setChi2()

void eicd::MutableTrajectory::setChi2 ( float  value)

Set the Total chi2.

◆ setNdf()

void eicd::MutableTrajectory::setNdf ( std::uint32_t  value)

Set the Number of degrees of freedom.

◆ setNHoles()

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

Set the Number of missing hits.

◆ setNMeasurements()

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

Set the Number of hits used.

◆ setNOutliers()

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

Set the Number of hits not considered.

◆ setNSharedHits()

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

Set the Number of shared hits with other trajectories.

◆ setNStates()

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

Set the Number of tracking steps.

◆ setTrackParameters()

void eicd::MutableTrajectory::setTrackParameters ( eicd::TrackParameters  value)

Set the Associated track parameters, if any.

◆ setType()

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

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

◆ unlink()

void eicd::MutableTrajectory::unlink ( )
inline

disconnect from TrajectoryObj instance

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