EICd
EIC data model
|
#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... | |
MutableTrajectory & | operator= (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::TrackerHit > | getMeasurementHits () 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::TrackerHit > | getOutlierHits () 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) |
Raw trajectory from the tracking algorithm
eicd::MutableTrajectory::MutableTrajectory | ( | ) |
default constructor
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 | ||
) |
eicd::MutableTrajectory::MutableTrajectory | ( | TrajectoryObj * | obj | ) |
constructor from existing TrajectoryObj
eicd::MutableTrajectory::MutableTrajectory | ( | const MutableTrajectory & | other | ) |
copy constructor
eicd::MutableTrajectory::~MutableTrajectory | ( | ) |
destructor
void eicd::MutableTrajectory::addToMeasurementChi2 | ( | float | component | ) |
void eicd::MutableTrajectory::addToMeasurementHits | ( | eicd::TrackerHit | component | ) |
void eicd::MutableTrajectory::addToOutlierChi2 | ( | float | component | ) |
void eicd::MutableTrajectory::addToOutlierHits | ( | eicd::TrackerHit | component | ) |
MutableTrajectory eicd::MutableTrajectory::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const float & eicd::MutableTrajectory::getChi2 | ( | ) | const |
Access the Total chi2.
podio::RelationRange< float > eicd::MutableTrajectory::getMeasurementChi2 | ( | ) | const |
float eicd::MutableTrajectory::getMeasurementChi2 | ( | unsigned int | index | ) | const |
podio::RelationRange< eicd::TrackerHit > eicd::MutableTrajectory::getMeasurementHits | ( | ) | const |
eicd::TrackerHit eicd::MutableTrajectory::getMeasurementHits | ( | unsigned int | index | ) | const |
const std::uint32_t & eicd::MutableTrajectory::getNdf | ( | ) | const |
Access the Number of degrees of freedom.
const std::uint32_t & eicd::MutableTrajectory::getNHoles | ( | ) | const |
Access the Number of missing hits.
const std::uint32_t & eicd::MutableTrajectory::getNMeasurements | ( | ) | const |
Access the Number of hits used.
const std::uint32_t & eicd::MutableTrajectory::getNOutliers | ( | ) | const |
Access the Number of hits not considered.
const std::uint32_t & eicd::MutableTrajectory::getNSharedHits | ( | ) | const |
Access the Number of shared hits with other trajectories.
const std::uint32_t & eicd::MutableTrajectory::getNStates | ( | ) | const |
Access the Number of tracking steps.
const podio::ObjectID eicd::MutableTrajectory::getObjectID | ( | ) | const |
podio::RelationRange< float > eicd::MutableTrajectory::getOutlierChi2 | ( | ) | const |
float eicd::MutableTrajectory::getOutlierChi2 | ( | unsigned int | index | ) | const |
podio::RelationRange< eicd::TrackerHit > eicd::MutableTrajectory::getOutlierHits | ( | ) | const |
eicd::TrackerHit eicd::MutableTrajectory::getOutlierHits | ( | unsigned int | index | ) | const |
const eicd::TrackParameters eicd::MutableTrajectory::getTrackParameters | ( | ) | const |
Access the Associated track parameters, if any.
const std::uint32_t & eicd::MutableTrajectory::getType | ( | ) | const |
Access the 0 (does not have good track fit), 1 (has good track fit)
|
inline |
bool eicd::MutableTrajectory::isAvailable | ( | ) | const |
check whether the object is actually available
std::vector< float >::const_iterator eicd::MutableTrajectory::measurementChi2_begin | ( | ) | const |
std::vector< float >::const_iterator eicd::MutableTrajectory::measurementChi2_end | ( | ) | const |
unsigned int eicd::MutableTrajectory::measurementChi2_size | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::measurementHits_begin | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::measurementHits_end | ( | ) | const |
unsigned int eicd::MutableTrajectory::measurementHits_size | ( | ) | const |
eicd::MutableTrajectory::operator Trajectory | ( | ) | const |
conversion to const object
|
inline |
MutableTrajectory & eicd::MutableTrajectory::operator= | ( | MutableTrajectory | other | ) |
copy-assignment operator
|
inline |
bool eicd::MutableTrajectory::operator== | ( | const Trajectory & | other | ) | const |
std::vector< float >::const_iterator eicd::MutableTrajectory::outlierChi2_begin | ( | ) | const |
std::vector< float >::const_iterator eicd::MutableTrajectory::outlierChi2_end | ( | ) | const |
unsigned int eicd::MutableTrajectory::outlierChi2_size | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::outlierHits_begin | ( | ) | const |
std::vector< eicd::TrackerHit >::const_iterator eicd::MutableTrajectory::outlierHits_end | ( | ) | const |
unsigned int eicd::MutableTrajectory::outlierHits_size | ( | ) | const |
void eicd::MutableTrajectory::setChi2 | ( | float | value | ) |
Set the Total chi2.
void eicd::MutableTrajectory::setNdf | ( | std::uint32_t | value | ) |
Set the Number of degrees of freedom.
void eicd::MutableTrajectory::setNHoles | ( | std::uint32_t | value | ) |
Set the Number of missing hits.
void eicd::MutableTrajectory::setNMeasurements | ( | std::uint32_t | value | ) |
Set the Number of hits used.
void eicd::MutableTrajectory::setNOutliers | ( | std::uint32_t | value | ) |
Set the Number of hits not considered.
void eicd::MutableTrajectory::setNSharedHits | ( | std::uint32_t | value | ) |
Set the Number of shared hits with other trajectories.
void eicd::MutableTrajectory::setNStates | ( | std::uint32_t | value | ) |
Set the Number of tracking steps.
void eicd::MutableTrajectory::setTrackParameters | ( | eicd::TrackParameters | value | ) |
Set the Associated track parameters, if any.
void eicd::MutableTrajectory::setType | ( | std::uint32_t | value | ) |
Set the 0 (does not have good track fit), 1 (has good track fit)
|
inline |
disconnect from TrajectoryObj instance
|
friend |
|
friend |
|
friend |
|
friend |