File MultiTrajectoryHelpers.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
namespace MultiTrajectoryHelpers¶
Typedefs
-
using VolumeTrajectoryStateContainer = std::unordered_map<GeometryIdentifier::Value, TrajectoryState>¶
Functions
-
template<typename track_state_proxy_t>
FreeVector freeFiltered(const GeometryContext &gctx, const track_state_proxy_t &trackStateProxy)¶ Transforms the filtered parameters from a
TrackStateProxy
to free parameters.- Template Parameters
track_state_proxy_t – Type of the
TrackStateProxy
- Parameters
gctx – [in] Geometry context
trackStateProxy – [in] TrackStateProxy
- Returns
Free parameters representation of the filtered parameters
-
template<typename track_state_proxy_t>
FreeVector freeSmoothed(const GeometryContext &gctx, const track_state_proxy_t &trackStateProxy)¶ Transforms the smoothed parameters from a
TrackStateProxy
to free parameters.- Template Parameters
track_state_proxy_t – Type of the
TrackStateProxy
- Parameters
gctx – [in] Geometry context
trackStateProxy – [in] TrackStateProxy
- Returns
Free parameters representation of the smoothed parameters
-
inline TrajectoryState trajectoryState(const Acts::MultiTrajectory &multiTraj, const size_t &entryIndex)¶
Getter for global trajectory info.
- Template Parameters
source_link_t – Type of source link
- Parameters
multiTraj – The MultiTrajectory object
entryIndex – The entry index of trajectory to investigate
- Returns
The trajectory summary info
-
inline VolumeTrajectoryStateContainer trajectoryState(const Acts::MultiTrajectory &multiTraj, const size_t &entryIndex, const std::vector<GeometryIdentifier::Value> &volumeIds)¶
Getter for trajectory info for different sub-detectors.
- Template Parameters
source_link_t – Type of source link
- Parameters
multiTraj – The MultiTrajectory object
entryIndex – The entry index of trajectory to investigate track states at different sub-detectors.
volumeIds – The container for sub-detector Ids
- Returns
The trajectory summary info at different sub-detectors (i.e. different volumes)
-
struct TrajectoryState¶
- #include <Acts/EventData/MultiTrajectoryHelpers.hpp>
Struct for brief trajectory summary info.
Public Members
-
double chi2Sum = 0¶
-
std::vector<double> measurementChi2 = {}¶
-
std::vector<unsigned int> measurementLayer = {}¶
-
std::vector<unsigned int> measurementVolume = {}¶
-
size_t NDF = 0¶
-
size_t nHoles = 0¶
-
size_t nMeasurements = 0¶
-
size_t nOutliers = 0¶
-
size_t nStates = 0¶
-
std::vector<double> outlierChi2 = {}¶
-
std::vector<unsigned int> outlierLayer = {}¶
-
std::vector<unsigned int> outlierVolume = {}¶
-
double chi2Sum = 0¶
-
using VolumeTrajectoryStateContainer = std::unordered_map<GeometryIdentifier::Value, TrajectoryState>¶
-
namespace MultiTrajectoryHelpers¶