#include <trackAlgoPriorityOrder.h>
Static Public Member Functions | |
template<typename... Args> | |
static std::array< T, N > | value (Args &&...args) |
Helper template to initialize std::array compile-time.
Idea is that it "loops" over all reco::TrackBase::TrackAlgorithm enumerators from end to beginning. In each "iteration", the order priority is obtained from impl::algoPriorityOrder array, and the priority is added to a parameter pack. When the beginning is reached (termination condition is a partial specialization, see below), the std::array is initialized from the parameter pack. The "looping" is implemented as recursion.
T | value_type of the std::array |
N | Size of the std::array |
I | Current index |
Definition at line 119 of file trackAlgoPriorityOrder.h.
|
inlinestatic |
Definition at line 122 of file trackAlgoPriorityOrder.h.
References createfilelist::args, Exhume::I, and impl::priorityForAlgo().
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), and impl::makeArray().