EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Struct for truth track fitting/finding result with Acts::KalmanFitter/Acts::CombinatorialKalmanFilter. More...
#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/EventData/SimMultiTrajectory.hpp>
Public Member Functions | |
SimMultiTrajectory ()=default | |
Default constructor. | |
SimMultiTrajectory (const Acts::MultiTrajectory< SimSourceLink > &multiTraj, const std::vector< size_t > &tTips, const IndexedParams ¶meters) | |
Constructor from multiTrajectory and fitted track parameters. | |
SimMultiTrajectory (const SimMultiTrajectory &rhs) | |
Copy constructor. | |
SimMultiTrajectory (SimMultiTrajectory &&rhs) | |
Copy move constructor. | |
~SimMultiTrajectory ()=default | |
Default destructor. | |
SimMultiTrajectory & | operator= (const SimMultiTrajectory &rhs) |
assignment operator | |
SimMultiTrajectory & | operator= (SimMultiTrajectory &&rhs) |
assignment move operator | |
bool | hasTrajectory (const size_t &entryIndex) const |
Indicator if a trajectory exists. | |
bool | hasTrackParameters (const size_t &entryIndex) const |
Indicator if there is fitted track parameters for one trajectory. | |
std::pair< std::vector< size_t > , Acts::MultiTrajectory < SimSourceLink > > | trajectory () const |
Getter for multiTrajectory. | |
const Acts::BoundTrackParameters & | trackParameters (const size_t &entryIndex) const |
Getter of fitted track parameters for one trajectory. | |
std::vector< ParticleHitCount > | identifyMajorityParticle (const size_t &entryIndex) const |
Counter of associated truth particles for one trajectory. | |
Private Attributes | |
Acts::MultiTrajectory < SimSourceLink > | m_multiTrajectory |
std::vector< size_t > | m_trackTips = {} |
IndexedParams | m_trackParameters = {} |
Struct for truth track fitting/finding result with Acts::KalmanFitter/Acts::CombinatorialKalmanFilter.
It contains a MultiTrajectory with a vector of entry indices for individual trajectories, and a map of fitted parameters indexed by the entry index. In case of track fitting, there is at most one trajectory in the MultiTrajectory; In case of track finding, there could be multiple trajectories in the MultiTrajectory.
Definition at line 32 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 32 of file SimMultiTrajectory.hpp
|
default |
Default constructor.
|
inline |
Constructor from multiTrajectory and fitted track parameters.
multiTraj | The multiTrajectory |
tTips | The entry indices for trajectories in multiTrajectory |
parameters | The fitted track parameters indexed by trajectory entry index |
Definition at line 44 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 44 of file SimMultiTrajectory.hpp
|
inline |
Copy constructor.
rhs | The source SimMultiTrajectory |
Definition at line 54 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 54 of file SimMultiTrajectory.hpp
|
inline |
Copy move constructor.
rhs | The source SimMultiTrajectory |
Definition at line 62 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 62 of file SimMultiTrajectory.hpp
|
default |
Default destructor.
|
inline |
Indicator if there is fitted track parameters for one trajectory.
entryIndex | The trajectory entry index |
Definition at line 105 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 105 of file SimMultiTrajectory.hpp
References m_trackParameters.
|
inline |
Indicator if a trajectory exists.
entryIndex | The trajectory entry index |
Definition at line 96 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 96 of file SimMultiTrajectory.hpp
References m_trackTips.
Referenced by identifyMajorityParticle().
std::vector< ActsExamples::ParticleHitCount > ActsExamples::SimMultiTrajectory::identifyMajorityParticle | ( | const size_t & | entryIndex | ) | const |
Counter of associated truth particles for one trajectory.
entryIndex | The trajectory entry index |
Definition at line 12 of file SimMultiTrajectory.cpp.
View newest version in sPHENIX GitHub at line 12 of file SimMultiTrajectory.cpp
References hasTrajectory(), ActsExamples::ParticleHitCount::hitCount, it, m_multiTrajectory, m_trackTips, Acts::MeasurementFlag, Acts::UnitConstants::u, and Acts::MultiTrajectory< source_link_t >::visitBackwards().
|
inline |
assignment operator
rhs | The source SimMultiTrajectory |
Definition at line 74 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 74 of file SimMultiTrajectory.hpp
References m_multiTrajectory, m_trackParameters, and m_trackTips.
|
inline |
assignment move operator
rhs | The source SimMultiTrajectory |
Definition at line 84 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 84 of file SimMultiTrajectory.hpp
References m_multiTrajectory, m_trackParameters, and m_trackTips.
|
inline |
Getter of fitted track parameters for one trajectory.
entryIndex | The trajectory entry index |
Definition at line 124 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 124 of file SimMultiTrajectory.hpp
References it, m_trackParameters, and nlohmann::to_string().
|
inline |
Getter for multiTrajectory.
Definition at line 115 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 115 of file SimMultiTrajectory.hpp
References m_multiTrajectory, and m_trackTips.
|
private |
Definition at line 146 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 146 of file SimMultiTrajectory.hpp
Referenced by identifyMajorityParticle(), operator=(), and trajectory().
|
private |
Definition at line 152 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 152 of file SimMultiTrajectory.hpp
Referenced by hasTrackParameters(), operator=(), and trackParameters().
|
private |
Definition at line 149 of file SimMultiTrajectory.hpp.
View newest version in sPHENIX GitHub at line 149 of file SimMultiTrajectory.hpp
Referenced by hasTrajectory(), identifyMajorityParticle(), operator=(), and trajectory().