ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::TrackStateType Class Reference

TrackStateTypeBase captured by value. More...

#include <Acts/EventData/TrackStateType.hpp>

Inheritance diagram for Acts::TrackStateType:
[legend]
Collaboration diagram for Acts::TrackStateType:
[legend]

Public Types

using Base = TrackStateTypeBase<TrackStateType, false>
Public Types inherited from Acts::TrackStateTypeBase< TrackStateType, false >
using bitset_type
 Type alias for bitset representation.
using raw_type
 Type alias for underlying raw data type.

Public Member Functions

 TrackStateType ()=default
 TrackStateType (raw_type raw)
TrackStateType operator= (const TrackStateTypeBase< DerivedOther, ReadOnlyOther > &other)
 Assigns the flags from another TrackStateTypeBase.
raw_typeraw ()
const raw_typeraw () const
Public Member Functions inherited from Acts::TrackStateTypeBase< TrackStateType, false >
bool hasMaterial () const
 Checks if the track state has material.
bool hasMeasurement () const
 Checks if the track state has a measurement.
bool hasNoExpectedHit () const
 Checks if the track state has no expected hit.
bool hasParameters () const
 Checks if the track state has parameters.
bool isHole () const
 Checks if the track state is a hole.
bool isMaterial () const
 Checks if the track state is a pure material state.
bool isMeasurement () const
 Checks if the track state is a pure measurement state.
bool isOutlier () const
 Checks if the track state is an outlier.
bool isSharedHit () const
 Checks if the track state has a shared hit.
bool isSplitHit () const
 Checks if the track state has a split hit.
TrackStateType operator= (const TrackStateTypeBase< DerivedOther, ReadOnlyOther > &other)
 Assigns the flags from another TrackStateTypeBase.
void reset ()
 Resets all flags to zero.
TrackStateTypesetHasMaterial (bool value=true)
 Sets whether the track state has material.
TrackStateTypesetHasMeasurement (bool value=true)
 Sets whether the track state has a measurement.
TrackStateTypesetHasNoExpectedHit (bool value=true)
 Sets the track state to have no expected hit.
TrackStateTypesetHasParameters (bool value=true)
 Sets whether the track state has parameters.
TrackStateTypesetIsHole (bool value=true)
 Sets the track state to be a hole.
TrackStateTypesetIsMaterial ()
 Sets the track state to be a pure material state.
TrackStateTypesetIsMeasurement ()
 Sets the track state to be a pure measurement state.
TrackStateTypesetIsOutlier (bool value=true)
 Sets the track state to be an outlier.
TrackStateTypesetIsSharedHit (bool value=true)
 Sets the track state to be a shared hit.
TrackStateTypesetIsSplitHit (bool value=true)
 Sets the track state to be a split hit.
void setUnchecked (std::size_t pos, bool value=true)
 Change the value of the bit at position pos to value.
void setUnchecked (TrackStateFlag flag, bool value=true)
 Change the value of the bit for flag to value.
bool test (std::size_t pos) const
 Return if the bit at position pos is set.
bool test (TrackStateFlag flag) const
 Return if the bit for flag is set.

Additional Inherited Members

Static Public Attributes inherited from Acts::TrackStateTypeBase< TrackStateType, false >
static constexpr std::size_t kRawBits
 Number of bits available in the raw storage type.
Protected Member Functions inherited from Acts::TrackStateTypeBase< TrackStateType, false >
void assertConsistency () const
 Asserts the consistency of the current flag combination.
bitset_type bits () const
 Returns the bitset representation of the underlying raw data.
TrackStateTypeself ()
const TrackStateTypeself () const

Detailed Description

TrackStateTypeBase captured by value.

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ TrackStateType() [1/2]

Acts::TrackStateType::TrackStateType ( )
default

◆ TrackStateType() [2/2]

Acts::TrackStateType::TrackStateType ( raw_type raw)
explicit

Member Function Documentation

◆ operator=()

TrackStateType Acts::TrackStateTypeBase< TrackStateType, ReadOnly >::operator= ( const TrackStateTypeBase< DerivedOther, ReadOnlyOther > & other)

Assigns the flags from another TrackStateTypeBase.

◆ raw() [1/2]

raw_type & Acts::TrackStateType::raw ( )

◆ raw() [2/2]

const raw_type & Acts::TrackStateType::raw ( ) const