![]() |
Project
|
#include <DigitBlockBase.h>
Public Types | |
typedef DigitType | Digit_t |
typedef std::tuple< std::vector< DigitType >, std::vector< SubDigitTypes >... > | TupleVecDigitObjs_t |
typedef boost::mpl::vector< SubDigitTypes... > | VecAllSubDigit_t |
typedef DigitBlockHelper::GetVecSubDigit< VecAllSubDigit_t > | VecSubDigit_t |
typedef DigitBlockHelper::GetVecSingleSubDigit< VecAllSubDigit_t > | VecSingleSubDigit_t |
typedef DigitBlockHelper::GetSubDigitField< VecSubDigit_t >::vector_type | SubDigit_t |
typedef DigitBlockHelper::GetSubDigitField< VecSingleSubDigit_t >::type | SingleSubDigit_t |
Public Member Functions | |
DigitBlockBase (const o2::InteractionRecord &intRec) | |
DigitBlockBase (const DigitType &digit) | |
DigitBlockBase ()=default | |
DigitBlockBase (const DigitBlockBase &other)=default | |
~DigitBlockBase ()=default | |
template<typename VecDigit , typename... VecSubDigits> | |
auto | getSubDigits (VecDigit &vecDigits, VecSubDigits &... vecSubDigits) -> std::enable_if_t< sizeof...(VecSubDigits)==sNSubDigits > |
template<typename... T> | |
auto | getSingleSubDigits (T &... vecSingleSubDigits) -> std::enable_if_t< sizeof...(T)==sNSingleSubDigits > |
template<std::size_t N, std::size_t N_TOTAL, typename... T> | |
auto | getSubDigit (std::tuple< T... > tupleVecSubDigits) -> std::enable_if_t<(N_TOTAL > 1)> |
template<std::size_t N, std::size_t N_TOTAL, typename... T> | |
auto | getSubDigit (std::tuple< T... > tupleVecSubDigits) -> std::enable_if_t<(N_TOTAL==1)> |
template<std::size_t N, std::size_t N_TOTAL, typename... T> | |
auto | getSingleSubDigit (std::tuple< T... > tupleVecSingleSubDigits) -> std::enable_if_t<(N_TOTAL > 1)> |
template<std::size_t N, std::size_t N_TOTAL, typename... T> | |
auto | getSingleSubDigit (std::tuple< T... > tupleVecSingleSubDigits) -> std::enable_if_t<(N_TOTAL==1)> |
void | print () const |
Static Public Member Functions | |
template<typename DigitBlockType , typename DigitT , typename SubDigitT > | |
static auto | makeDigitBlock (const std::vector< DigitT > &vecDigits, const std::vector< SubDigitT > &vecSubDigits) -> std::enable_if_t< DigitBlockHelper::GetDigitRefsN< DigitT >::value==1 &&DigitBlockHelper::IsSpecOfType< DigitBlockBase, typename DigitBlockType::DigitBlockBase_t >::value, std::vector< DigitBlockType > > |
template<typename DigitBlockType , typename DigitT , typename... SubDigitT> | |
static auto | makeDigitBlock (const std::vector< DigitT > &vecDigits, const std::vector< SubDigitT > &... vecSubDigits) -> std::enable_if_t<(DigitBlockHelper::GetDigitRefsN< DigitT >::value > 1) &&(DigitBlockHelper::IsSpecOfType< DigitBlockBase, typename DigitBlockType::DigitBlockBase_t >::value), std::vector< DigitBlockType > > |
template<std::size_t N, typename DigitT , typename... T> | |
static void | fillSubDigitTuple (const DigitT &digit, const std::tuple< T... > &tupleSrc, std::tuple< T... > &tupleDest) |
Public Attributes | |
Digit_t | mDigit |
SubDigit_t | mSubDigit |
SingleSubDigit_t | mSingleSubDigit |
Static Public Attributes | |
static constexpr std::size_t | sNSubDigits = DigitBlockHelper::GetSubDigitField<VecSubDigit_t>::size |
static constexpr std::size_t | sNSingleSubDigits = DigitBlockHelper::GetSubDigitField<VecSingleSubDigit_t>::size |
Definition at line 159 of file DigitBlockBase.h.
typedef DigitType o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::Digit_t |
Definition at line 173 of file DigitBlockBase.h.
typedef DigitBlockHelper::GetSubDigitField<VecSingleSubDigit_t>::type o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::SingleSubDigit_t |
Definition at line 179 of file DigitBlockBase.h.
typedef DigitBlockHelper::GetSubDigitField<VecSubDigit_t>::vector_type o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::SubDigit_t |
Definition at line 178 of file DigitBlockBase.h.
typedef std::tuple<std::vector<DigitType>, std::vector<SubDigitTypes>...> o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::TupleVecDigitObjs_t |
Definition at line 174 of file DigitBlockBase.h.
typedef boost::mpl::vector<SubDigitTypes...> o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::VecAllSubDigit_t |
Definition at line 175 of file DigitBlockBase.h.
typedef DigitBlockHelper::GetVecSingleSubDigit<VecAllSubDigit_t> o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::VecSingleSubDigit_t |
Definition at line 177 of file DigitBlockBase.h.
typedef DigitBlockHelper::GetVecSubDigit<VecAllSubDigit_t> o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::VecSubDigit_t |
Definition at line 176 of file DigitBlockBase.h.
|
inline |
Definition at line 162 of file DigitBlockBase.h.
|
inline |
Definition at line 167 of file DigitBlockBase.h.
|
default |
|
default |
|
default |
|
inlinestatic |
Definition at line 266 of file DigitBlockBase.h.
|
inline |
Definition at line 221 of file DigitBlockBase.h.
|
inline |
Definition at line 229 of file DigitBlockBase.h.
|
inline |
Definition at line 196 of file DigitBlockBase.h.
|
inline |
Definition at line 205 of file DigitBlockBase.h.
|
inline |
Definition at line 214 of file DigitBlockBase.h.
|
inline |
Definition at line 186 of file DigitBlockBase.h.
|
inlinestatic |
Definition at line 253 of file DigitBlockBase.h.
|
inlinestatic |
Definition at line 235 of file DigitBlockBase.h.
|
inline |
Definition at line 280 of file DigitBlockBase.h.
Digit_t o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::mDigit |
Definition at line 182 of file DigitBlockBase.h.
SingleSubDigit_t o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::mSingleSubDigit |
Definition at line 184 of file DigitBlockBase.h.
SubDigit_t o2::fit::DigitBlockBase< DigitType, SubDigitTypes >::mSubDigit |
Definition at line 183 of file DigitBlockBase.h.
|
staticconstexpr |
Definition at line 181 of file DigitBlockBase.h.
|
staticconstexpr |
Definition at line 180 of file DigitBlockBase.h.