File TrackStateType.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Enums
-
class ConstTrackStateType
- #include <Acts/EventData/TrackStateType.hpp>
View type over a bitset stored in a 64 bit integer This view does not allow modifications.
Public Types
-
using raw_type = std::uint64_t
Public Functions
-
inline ConstTrackStateType(const raw_type &raw)
Constructor from a reference to the underlying value container.
- Parameters
raw – the value container
-
inline bool test(std::size_t pos) const
Return if the bit at position
pos
is 1.- Parameters
pos – the bit position
- Returns
if the bit at
pos
is one or not
Public Static Attributes
-
static constexpr std::size_t kRawBits = std::numeric_limits<std::make_unsigned<raw_type>::type>::digits
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, ConstTrackStateType t)
- friend class TrackStateType
-
using raw_type = std::uint64_t
-
class TrackStateType
- #include <Acts/EventData/TrackStateType.hpp>
View type over a bitset stored in a 64 bit integer This view allows modifications.
Public Types
-
using raw_type = std::uint64_t
Public Functions
-
inline TrackStateType(raw_type &raw)
Constructor from a reference to the underlying value container.
- Parameters
raw – the value container
-
inline operator ConstTrackStateType()
Automatically convert to const track state type.
-
inline TrackStateType &operator=(const TrackStateType &other)
Assign the value from another set of flags.
- Parameters
other – the other set of flags to assign
- Returns
this object
-
inline TrackStateType &operator=(const ConstTrackStateType &other)
Assign the value from another set of flags.
- Parameters
other – the other set of flags to assign
- Returns
this object
-
inline void reset(std::size_t pos)
Change the value of the bit at position at
pos
tofalse
.- Parameters
pos – the position of the bit to change
-
inline void set(std::size_t pos, bool value = true)
Change the value of the bit at position
pos
tovalue
.- Parameters
pos – the position of the bit to change
value – the value to change the bit to
-
inline bool test(std::size_t pos) const
Return if the bit at position
pos
is 1.- Parameters
pos – the bit position
- Returns
if the bit at
pos
is one or not
Public Static Attributes
-
static constexpr std::size_t kRawBits = std::numeric_limits<std::make_unsigned<raw_type>::type>::digits
-
using raw_type = std::uint64_t
-
class ConstTrackStateType