Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::MultiTrajectory< derived_t > Class Template Reference

#include <acts/blob/sPHENIX/Core/include/Acts/EventData/MultiTrajectory.hpp>

+ Inheritance diagram for Acts::MultiTrajectory< derived_t >:

Public Types

using Derived = derived_t
 
using ConstTrackStateProxy = detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, true >
 
using TrackStateProxy = detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, false >
 
using IndexType = typename TrackStateProxy::IndexType
 

Public Member Functions

ConstTrackStateProxy getTrackState (IndexType istate) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
TrackStateProxy getTrackState (IndexType istate)
 
template<typename F >
void visitBackwards (IndexType iendpoint, F &&callable) const
 
auto reverseTrackStateRange (IndexType iendpoint) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
auto reverseTrackStateRange (IndexType iendpoint)
 
auto forwardTrackStateRange (IndexType istartpoint) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
auto forwardTrackStateRange (IndexType istartpoint)
 
template<typename F , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void applyBackwards (IndexType iendpoint, F &&callable)
 
auto && convertToReadOnly () const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void clear ()
 Clear the MultiTrajectory. Leaves the underlying storage untouched.
 
constexpr IndexType size () const
 Returns the number of track states contained.
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr IndexType addTrackState (TrackStatePropMask mask=TrackStatePropMask::All, IndexType iprevious=kInvalid)
 
template<typename T , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void addColumn (const std::string &key)
 
constexpr bool hasColumn (HashedString key) const
 

Static Public Attributes

static constexpr bool ReadOnly = IsReadOnlyMultiTrajectory<Derived>::value
 
static constexpr unsigned int MeasurementSizeMax
 
static constexpr IndexType kInvalid = TrackStateProxy::kInvalid
 

Protected Member Functions

 MultiTrajectory ()=default
 
constexpr bool has (HashedString key, IndexType istate) const
 
template<HashedString key>
constexpr bool has (IndexType istate) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr
TrackStateProxy::Parameters 
parameters (IndexType parIdx)
 
constexpr
ConstTrackStateProxy::Parameters 
parameters (IndexType parIdx) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr
TrackStateProxy::Covariance 
covariance (IndexType covIdx)
 
constexpr
ConstTrackStateProxy::Covariance 
covariance (IndexType covIdx) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr
TrackStateProxy::Covariance 
jacobian (IndexType jacIdx)
 
constexpr
ConstTrackStateProxy::Covariance 
jacobian (IndexType jacIdx) const
 
template<size_t measdim, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr
TrackStateProxy::template
Measurement< measdim > 
measurement (IndexType measIdx)
 
template<size_t measdim>
constexpr
ConstTrackStateProxy::template
Measurement< measdim > 
measurement (IndexType measIdx) const
 
template<size_t measdim, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr
TrackStateProxy::template
MeasurementCovariance< measdim > 
measurementCovariance (IndexType covIdx)
 
template<size_t measdim>
constexpr
ConstTrackStateProxy::template
MeasurementCovariance< measdim > 
measurementCovariance (IndexType covIdx) const
 
IndexType calibratedSize (IndexType istate) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void shareFrom (IndexType iself, IndexType iother, TrackStatePropMask shareSource, TrackStatePropMask shareTarget)
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void unset (TrackStatePropMask target, IndexType istate)
 
template<typename T , HashedString key, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr Tcomponent (IndexType istate)
 
template<typename T , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr Tcomponent (HashedString key, IndexType istate)
 
template<typename T , HashedString key>
constexpr const Tcomponent (IndexType istate) const
 
template<typename T >
constexpr const Tcomponent (HashedString key, IndexType istate) const
 
void allocateCalibrated (IndexType istate, size_t measdim)
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void setUncalibratedSourceLink (IndexType istate, SourceLink sourceLink)
 
SourceLink getUncalibratedSourceLink (IndexType istate) const
 
const SurfacereferenceSurface (IndexType istate) const
 
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void setReferenceSurface (IndexType istate, std::shared_ptr< const Surface > surface)
 

Private Member Functions

constexpr Derivedself ()
 Helper to static cast this to the Derived class for CRTP.
 
constexpr const Derivedself () const
 Helper to static cast this to the Derived class for CRTP. Const version.
 
constexpr bool checkOptional (HashedString key, IndexType istate) const
 

Friends

class detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, true >
 
class detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, false >
 

Detailed Description

template<typename derived_t>
class Acts::MultiTrajectory< derived_t >

Store a trajectory of track states with multiple components.

This container supports both simple, sequential trajectories as well as combinatorial or multi-component trajectories. Each point can store a parent point such that the trajectory forms a directed, acyclic graph of sub-trajectories. From a set of endpoints, all possible sub-components can be easily identified. Some functionality is provided to simplify iterating over specific sub-components.

Definition at line 1075 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1075 of file MultiTrajectory.hpp

Member Typedef Documentation

Definition at line 1087 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1087 of file MultiTrajectory.hpp

template<typename derived_t>
using Acts::MultiTrajectory< derived_t >::Derived = derived_t

Definition at line 1077 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1077 of file MultiTrajectory.hpp

template<typename derived_t>
using Acts::MultiTrajectory< derived_t >::IndexType = typename TrackStateProxy::IndexType

Definition at line 1091 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1091 of file MultiTrajectory.hpp

Definition at line 1089 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1089 of file MultiTrajectory.hpp

Constructor & Destructor Documentation

template<typename derived_t>
Acts::MultiTrajectory< derived_t >::MultiTrajectory ( )
protecteddefault

Member Function Documentation

template<typename derived_t>
template<typename T , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void Acts::MultiTrajectory< derived_t >::addColumn ( const std::string &  key)
inline

Add a column to the MultiTrajectory

Template Parameters
TType of the column values to add
Note
This takes a string argument rather than a hashed string to maintain compatibility with backends.

Definition at line 1281 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1281 of file MultiTrajectory.hpp

Referenced by BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr IndexType Acts::MultiTrajectory< derived_t >::addTrackState ( TrackStatePropMask  mask = TrackStatePropMask::All,
IndexType  iprevious = kInvalid 
)
inline

Add a track state without providing explicit information. Which components of the track state are initialized/allocated can be controlled via mask

Parameters
maskThe bitmask that instructs which components to allocate and which to leave invalid
ipreviousindex of the previous state, kInvalid if first
Returns
Index of the newly added track state

Definition at line 1270 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1270 of file MultiTrajectory.hpp

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE_TEMPLATE().

+ Here is the caller graph for this function:

template<typename derived_t>
void Acts::MultiTrajectory< derived_t >::allocateCalibrated ( IndexType  istate,
size_t  measdim 
)
inlineprotected

Allocate storage for a calibrated measurement of specified dimension

Parameters
istateThe track state to store for
measdimthe dimension of the measurement to store
Note
Is a noop if the track state already has an allocation an the dimension is the same.

Definition at line 1486 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1486 of file MultiTrajectory.hpp

template<typename derived_t>
template<typename F , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void Acts::MultiTrajectory< derived_t >::applyBackwards ( IndexType  iendpoint,
F &&  callable 
)
inline

Apply a function to all previous states starting at a given endpoint.

Parameters
iendpointindex of the last state
callablemodifying functor to be called with each point
Warning
If the trajectory contains multiple components with common points, this can have an impact on the other components.

Definition at line 1215 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1215 of file MultiTrajectory.hpp

template<typename derived_t>
IndexType Acts::MultiTrajectory< derived_t >::calibratedSize ( IndexType  istate) const
inlineprotected

Get the calibrated measurement size for a track state

Parameters
istateThe track state
Returns
the calibrated size

Definition at line 1407 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1407 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr bool Acts::MultiTrajectory< derived_t >::checkOptional ( HashedString  key,
IndexType  istate 
) const
inlineprivate

Helper function to check if a component exists IF it is an optional one. Used in assertions

Definition at line 1107 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1107 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void Acts::MultiTrajectory< derived_t >::clear ( )
inline

Clear the MultiTrajectory. Leaves the underlying storage untouched.

Definition at line 1256 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1256 of file MultiTrajectory.hpp

template<typename derived_t>
template<typename T , HashedString key, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr T& Acts::MultiTrajectory< derived_t >::component ( IndexType  istate)
inlineprotected

Retrieve a mutable reference to a component

Template Parameters
TThe type of the component to access
keyString key for the component to access
Parameters
istateThe track state index to operate on
Returns
Mutable reference to the component given by key

Definition at line 1443 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1443 of file MultiTrajectory.hpp

template<typename derived_t>
template<typename T , bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr T& Acts::MultiTrajectory< derived_t >::component ( HashedString  key,
IndexType  istate 
)
inlineprotected

Retrieve a mutable reference to a component

Template Parameters
TThe type of the component to access
Parameters
keyString key for the component to access
istateThe track state index to operate on
Returns
Mutable reference to the component given by key

Definition at line 1454 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1454 of file MultiTrajectory.hpp

template<typename derived_t>
template<typename T , HashedString key>
constexpr const T& Acts::MultiTrajectory< derived_t >::component ( IndexType  istate) const
inlineprotected

Retrieve a const reference to a component

Template Parameters
TThe type of the component to access
keyString key for the component to access
Parameters
istateThe track state index to operate on
Returns
Const reference to the component given by key

Definition at line 1465 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1465 of file MultiTrajectory.hpp

template<typename derived_t>
template<typename T >
constexpr const T& Acts::MultiTrajectory< derived_t >::component ( HashedString  key,
IndexType  istate 
) const
inlineprotected

Retrieve a const reference to a component

Template Parameters
TThe type of the component to access
Parameters
keyString key for the component to access
istateThe track state index to operate on
Returns
Const reference to the component given by key

Definition at line 1476 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1476 of file MultiTrajectory.hpp

template<typename derived_t>
auto&& Acts::MultiTrajectory< derived_t >::convertToReadOnly ( ) const
inline

Definition at line 1245 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1245 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr TrackStateProxy::Covariance Acts::MultiTrajectory< derived_t >::covariance ( IndexType  covIdx)
inlineprotected

Retrieve a covariance proxy instance for a covariance at a given index

Parameters
covIdxIndex into the covariance column
Returns
Mutable proxy

Definition at line 1332 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1332 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr ConstTrackStateProxy::Covariance Acts::MultiTrajectory< derived_t >::covariance ( IndexType  covIdx) const
inlineprotected

Retrieve a covariance proxy instance for a covariance at a given index

Parameters
covIdxIndex into the covariance column
Returns
Const proxy

Definition at line 1339 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1339 of file MultiTrajectory.hpp

template<typename derived_t>
auto Acts::MultiTrajectory< derived_t >::forwardTrackStateRange ( IndexType  istartpoint) const
inline

Range for the track states from istartpoint to the trajectory end, i.e from inside out

Parameters
istartpointTrajectory state index for the innermost track state to start from
Returns
Iterator pair to iterate over
Note
Const version

Definition at line 1181 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1181 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
auto Acts::MultiTrajectory< derived_t >::forwardTrackStateRange ( IndexType  istartpoint)
inline

Range for the track states from istartpoint to the trajectory end, i.e from inside out

Parameters
istartpointTrajectory state index for the innermost track state to start from
Returns
Iterator pair to iterate over

Definition at line 1197 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1197 of file MultiTrajectory.hpp

template<typename derived_t>
ConstTrackStateProxy Acts::MultiTrajectory< derived_t >::getTrackState ( IndexType  istate) const
inline

Access a read-only point on the trajectory by index.

Parameters
istateThe index to access
Returns
Read only proxy to the stored track state

Definition at line 1126 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1126 of file MultiTrajectory.hpp

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE_TEMPLATE().

+ Here is the caller graph for this function:

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
TrackStateProxy Acts::MultiTrajectory< derived_t >::getTrackState ( IndexType  istate)
inline

Access a writable point on the trajectory by index.

Parameters
istateThe index to access
Returns
Read-write proxy to the stored track state

Definition at line 1134 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1134 of file MultiTrajectory.hpp

template<typename derived_t>
SourceLink Acts::MultiTrajectory< derived_t >::getUncalibratedSourceLink ( IndexType  istate) const
inlineprotected

Definition at line 1498 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1498 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr bool Acts::MultiTrajectory< derived_t >::has ( HashedString  key,
IndexType  istate 
) const
inlineprotected

Check for component existence of key in track satet istate

Parameters
keyThe key for which to check
istateThe track state index to check
Returns
True if the component exists, false if not

Definition at line 1299 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1299 of file MultiTrajectory.hpp

template<typename derived_t>
template<HashedString key>
constexpr bool Acts::MultiTrajectory< derived_t >::has ( IndexType  istate) const
inlineprotected

Check for component existence of key in track satet istate

Template Parameters
keyThe key for which to check
Parameters
istateThe track state index to check
Returns
True if the component exists, false if not

Definition at line 1308 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1308 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr bool Acts::MultiTrajectory< derived_t >::hasColumn ( HashedString  key) const
inline

Check if a column with a key key exists.

Parameters
keyKey to check for a column with
Returns
True if the column exists, false if not.

Definition at line 1288 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1288 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr TrackStateProxy::Covariance Acts::MultiTrajectory< derived_t >::jacobian ( IndexType  jacIdx)
inlineprotected

Retrieve a jacobian proxy instance for a jacobian at a given index

Parameters
jacIdxIndex into the jacobian column
Returns
Mutable proxy

Definition at line 1348 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1348 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr ConstTrackStateProxy::Covariance Acts::MultiTrajectory< derived_t >::jacobian ( IndexType  jacIdx) const
inlineprotected

Retrieve a jacobian proxy instance for a jacobian at a given index

Parameters
jacIdxIndex into the jacobian column
Returns
Const proxy

Definition at line 1355 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1355 of file MultiTrajectory.hpp

template<typename derived_t>
template<size_t measdim, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr TrackStateProxy::template Measurement<measdim> Acts::MultiTrajectory< derived_t >::measurement ( IndexType  measIdx)
inlineprotected

Retrieve a measurement proxy instance for a measurement at a given index

Template Parameters
measdimthe measurement dimension
Parameters
measIdxIndex into the measurement column
Returns
Mutable proxy

Definition at line 1366 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1366 of file MultiTrajectory.hpp

template<typename derived_t>
template<size_t measdim>
constexpr ConstTrackStateProxy::template Measurement<measdim> Acts::MultiTrajectory< derived_t >::measurement ( IndexType  measIdx) const
inlineprotected

Retrieve a measurement proxy instance for a measurement at a given index

Template Parameters
measdimthe measurement dimension
Parameters
measIdxIndex into the measurement column
Returns
Const proxy

Definition at line 1377 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1377 of file MultiTrajectory.hpp

template<typename derived_t>
template<size_t measdim, bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr TrackStateProxy::template MeasurementCovariance<measdim> Acts::MultiTrajectory< derived_t >::measurementCovariance ( IndexType  covIdx)
inlineprotected

Retrieve a measurement covariance proxy instance for a measurement at a given index

Template Parameters
measdimthe measurement dimension
Parameters
covIdxIndex into the measurement covariance column
Returns
Mutable proxy

Definition at line 1389 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1389 of file MultiTrajectory.hpp

template<typename derived_t>
template<size_t measdim>
constexpr ConstTrackStateProxy::template MeasurementCovariance<measdim> Acts::MultiTrajectory< derived_t >::measurementCovariance ( IndexType  covIdx) const
inlineprotected

Retrieve a measurement covariance proxy instance for a measurement at a given index

Parameters
covIdxIndex into the measurement covariance column
Returns
Const proxy

Definition at line 1400 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1400 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr TrackStateProxy::Parameters Acts::MultiTrajectory< derived_t >::parameters ( IndexType  parIdx)
inlineprotected

Retrieve a parameter proxy instance for parameters at a given index

Parameters
parIdxIndex into the parameter column
Returns
Mutable proxy

Definition at line 1316 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1316 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr ConstTrackStateProxy::Parameters Acts::MultiTrajectory< derived_t >::parameters ( IndexType  parIdx) const
inlineprotected

Retrieve a parameter proxy instance for parameters at a given index

Parameters
parIdxIndex into the parameter column
Returns
Const proxy

Definition at line 1323 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1323 of file MultiTrajectory.hpp

template<typename derived_t>
const Surface* Acts::MultiTrajectory< derived_t >::referenceSurface ( IndexType  istate) const
inlineprotected

Definition at line 1502 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1502 of file MultiTrajectory.hpp

template<typename derived_t>
auto Acts::MultiTrajectory< derived_t >::reverseTrackStateRange ( IndexType  iendpoint) const
inline

Range for the track states from iendpoint to the trajectory start

Parameters
iendpointTrajectory entry point to start from
Returns
Iterator pair to iterate over
Note
Const version

Definition at line 1149 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1149 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
auto Acts::MultiTrajectory< derived_t >::reverseTrackStateRange ( IndexType  iendpoint)
inline

Range for the track states from iendpoint to the trajectory start, i.e from the outside in.

Parameters
iendpointTrajectory entry point to start from
Returns
Iterator pair to iterate over
Note
Mutable version

Definition at line 1165 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1165 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr Derived& Acts::MultiTrajectory< derived_t >::self ( )
inlineprivate

Helper to static cast this to the Derived class for CRTP.

Definition at line 1099 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1099 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr const Derived& Acts::MultiTrajectory< derived_t >::self ( ) const
inlineprivate

Helper to static cast this to the Derived class for CRTP. Const version.

Definition at line 1101 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1101 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void Acts::MultiTrajectory< derived_t >::setReferenceSurface ( IndexType  istate,
std::shared_ptr< const Surface surface 
)
inlineprotected

Definition at line 1507 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1507 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
void Acts::MultiTrajectory< derived_t >::setUncalibratedSourceLink ( IndexType  istate,
SourceLink  sourceLink 
)
inlineprotected

Definition at line 1494 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1494 of file MultiTrajectory.hpp

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void Acts::MultiTrajectory< derived_t >::shareFrom ( IndexType  iself,
IndexType  iother,
TrackStatePropMask  shareSource,
TrackStatePropMask  shareTarget 
)
inlineprotected

Share a shareable component from between track state.

Parameters
iselfThe track state index to share "into"
iotherThe track state index to share from
shareSourceWhich component to share from
shareTargetWhich component to share as. This doesn't have to be the same as shareSource, e.g. predicted can be shared as filtered.
Note
Shareable components are predicted, filtered, smoothed, calibrated, jacobian, or projector. See TrackStatePropMask.
The track states both need to be stored in the same MultiTrajectory instance

Definition at line 1422 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1422 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr IndexType Acts::MultiTrajectory< derived_t >::size ( ) const
inline

Returns the number of track states contained.

Definition at line 1261 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1261 of file MultiTrajectory.hpp

Referenced by BOOST_AUTO_TEST_CASE().

+ Here is the caller graph for this function:

template<typename derived_t>
template<bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
constexpr void Acts::MultiTrajectory< derived_t >::unset ( TrackStatePropMask  target,
IndexType  istate 
)
inlineprotected

Unset an optional track state component

Parameters
targetThe component to unset
istateThe track state index to operate on

Definition at line 1432 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1432 of file MultiTrajectory.hpp

template<typename D >
template<typename F >
void MultiTrajectory< D >::visitBackwards ( IndexType  iendpoint,
F &&  callable 
) const

Visit all previous states starting at a given endpoint.

Parameters
iendpointindex of the last state
callablenon-modifying functor to be called with each point

Definition at line 91 of file MultiTrajectory.ipp.

View newest version in sPHENIX GitHub at line 91 of file MultiTrajectory.ipp

References Acts::MultiTrajectoryTraits::kInvalid.

Referenced by ActsTransformations::fillSvtxTrackStates(), ActsExamples::identifyContributingParticles(), and ActsEvaluator::visitTrackStates().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

template<typename derived_t>
friend class detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, false >
friend

Definition at line 1514 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1514 of file MultiTrajectory.hpp

template<typename derived_t>
friend class detail_lt::TrackStateProxy< Derived, MeasurementSizeMax, true >
friend

Definition at line 1513 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1513 of file MultiTrajectory.hpp

Member Data Documentation

template<typename derived_t>
constexpr IndexType Acts::MultiTrajectory< derived_t >::kInvalid = TrackStateProxy::kInvalid
static

Definition at line 1092 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1092 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr unsigned int Acts::MultiTrajectory< derived_t >::MeasurementSizeMax
static
Initial value:

Definition at line 1083 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1083 of file MultiTrajectory.hpp

template<typename derived_t>
constexpr bool Acts::MultiTrajectory< derived_t >::ReadOnly = IsReadOnlyMultiTrajectory<Derived>::value
static

Definition at line 1079 of file MultiTrajectory.hpp.

View newest version in sPHENIX GitHub at line 1079 of file MultiTrajectory.hpp

Referenced by BOOST_AUTO_TEST_CASE().


The documentation for this class was generated from the following files: