Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Helpers.hpp File Reference
#include "Acts/Definitions/Algebra.hpp"
#include <algorithm>
#include <iostream>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <vector>
+ Include dependency graph for Helpers.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 

Macros

#define ACTS_CHECK_BIT(value, mask)   ((value & mask) == mask)
 

Functions

template<typename T >
std::vector< T * > Acts::unpack_shared_vector (const std::vector< std::shared_ptr< T >> &items)
 
template<typename T >
std::vector< const T * > Acts::unpack_shared_vector (const std::vector< std::shared_ptr< const T >> &items)
 
template<typename T >
std::vector< const T * > Acts::unpack_shared_const_vector (const std::vector< std::shared_ptr< T >> &items)
 
template<std::size_t kDIM, typename value_type >
std::array< value_type, kDIM > Acts::to_array (const std::vector< value_type > &vecvals)
 
template<template< size_t > class Callable, size_t N, size_t NMAX, typename... Args>
auto Acts::template_switch (size_t v, Args &&...args)
 Dispatch a call based on a runtime value on a function taking the value at compile time.
 
template<size_t N, size_t NMAX, typename Lambda , typename... Args>
auto Acts::template_switch_lambda (size_t v, Lambda &&func, Args &&...args)
 
template<typename T , typename U >
T Acts::clampValue (U value)
 
template<typename T >
std::array< typename
T::value_type, 2u > 
Acts::min_max (const T &tseries)
 
template<typename T >
std::tuple< typename
T::value_type, ActsScalar > 
Acts::range_medium (const T &tseries)
 

Macro Definition Documentation