ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::TruthFitTrack Struct Reference

struct for truth fitting result More...

#include <acts/blob/master/Examples/Framework/include/ACTFW/EventData/TruthFitTrack.hpp>

Public Member Functions

 TruthFitTrack ()=default
 
 TruthFitTrack (size_t tTip, const Acts::MultiTrajectory< SimSourceLink > &trajectory)
 
 TruthFitTrack (const Acts::BoundParameters &parameter)
 
 TruthFitTrack (size_t tTip, const Acts::MultiTrajectory< SimSourceLink > &trajectory, const Acts::BoundParameters &parameter)
 
const std::pair< size_t,
Acts::MultiTrajectory
< SimSourceLink > > 
trajectory () const
 Get trajectory along with the entry point.
 
const Acts::BoundParameterstrackParameters () const
 Get fitted track parameter.
 
size_t numStates () const
 Get number of track states.
 
size_t numMeasurements () const
 Get number of track states that have measurements.
 
bool hasTrajectory () const
 Indicator for having fitted trajectory or not.
 
bool hasTrackParameters () const
 Indicator for having fitted track parameter or not.
 
std::vector< ParticleHitCountidentifyMajorityParticle () const
 Get the truth particle counts to help identify majority particle.
 

Private Attributes

std::optional
< Acts::MultiTrajectory
< SimSourceLink > > 
m_trajectory
 
size_t m_trackTip = SIZE_MAX
 
std::optional
< Acts::BoundParameters
m_trackParameters
 

Detailed Description

struct for truth fitting result

Use a track proxy or helper to retrieve the detailed info, such as number of measurments, holes, truth info etc.

Definition at line 27 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 27 of file TruthFitTrack.hpp

Constructor & Destructor Documentation

FW::TruthFitTrack::TruthFitTrack ( )
default
FW::TruthFitTrack::TruthFitTrack ( size_t  tTip,
const Acts::MultiTrajectory< SimSourceLink > &  trajectory 
)
inline

Constructor from fitted trajectory

Parameters
tTipThe fitted multiTrajectory entry point
trajectoryThe fitted multiTrajectory

Definition at line 36 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 36 of file TruthFitTrack.hpp

FW::TruthFitTrack::TruthFitTrack ( const Acts::BoundParameters parameter)
inline

Constructor from fitted track parameter

Parameters
parameterThe fitted track parameter

Definition at line 43 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 43 of file TruthFitTrack.hpp

FW::TruthFitTrack::TruthFitTrack ( size_t  tTip,
const Acts::MultiTrajectory< SimSourceLink > &  trajectory,
const Acts::BoundParameters parameter 
)
inline

Constructor from fitted trajectory and fitted track parameter

Parameters
tTipThe fitted multiTrajectory entry point
trajectoryThe fitted multiTrajectory
parameterThe fitted track parameter

Definition at line 51 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 51 of file TruthFitTrack.hpp

Member Function Documentation

bool FW::TruthFitTrack::hasTrackParameters ( ) const
inline

Indicator for having fitted track parameter or not.

Definition at line 106 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 106 of file TruthFitTrack.hpp

References m_trackParameters.

bool FW::TruthFitTrack::hasTrajectory ( ) const
inline

Indicator for having fitted trajectory or not.

Definition at line 103 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 103 of file TruthFitTrack.hpp

References m_trajectory.

std::vector<ParticleHitCount> FW::TruthFitTrack::identifyMajorityParticle ( ) const
inline

Get the truth particle counts to help identify majority particle.

Definition at line 109 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 109 of file TruthFitTrack.hpp

References FW::ParticleHitCount::hitCount, it, m_trackTip, m_trajectory, Acts::MeasurementFlag, and Acts::UnitConstants::u.

size_t FW::TruthFitTrack::numMeasurements ( ) const
inline

Get number of track states that have measurements.

Definition at line 90 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 90 of file TruthFitTrack.hpp

References m_trackTip, m_trajectory, and Acts::MeasurementFlag.

size_t FW::TruthFitTrack::numStates ( ) const
inline

Get number of track states.

Definition at line 79 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 79 of file TruthFitTrack.hpp

References m_trackTip, and m_trajectory.

const Acts::BoundParameters& FW::TruthFitTrack::trackParameters ( ) const
inline

Get fitted track parameter.

Definition at line 69 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 69 of file TruthFitTrack.hpp

References m_trackParameters.

const std::pair<size_t, Acts::MultiTrajectory<SimSourceLink> > FW::TruthFitTrack::trajectory ( ) const
inline

Get trajectory along with the entry point.

Definition at line 59 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 59 of file TruthFitTrack.hpp

References m_trackTip, and m_trajectory.

Member Data Documentation

std::optional<Acts::BoundParameters> FW::TruthFitTrack::m_trackParameters
private

Definition at line 155 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 155 of file TruthFitTrack.hpp

Referenced by hasTrackParameters(), and trackParameters().

size_t FW::TruthFitTrack::m_trackTip = SIZE_MAX
private

Definition at line 152 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 152 of file TruthFitTrack.hpp

Referenced by identifyMajorityParticle(), numMeasurements(), numStates(), and trajectory().

std::optional<Acts::MultiTrajectory<SimSourceLink> > FW::TruthFitTrack::m_trajectory
private

Definition at line 149 of file TruthFitTrack.hpp.

View newest version in sPHENIX GitHub at line 149 of file TruthFitTrack.hpp

Referenced by hasTrajectory(), identifyMajorityParticle(), numMeasurements(), numStates(), and trajectory().


The documentation for this struct was generated from the following file: