1 #ifndef DataFormats_TrackReco_trackAlgoPriorityOrder_h
2 #define DataFormats_TrackReco_trackAlgoPriorityOrder_h
86 throw "Index out of bounds, this means that some reco::TrackBase::TrackAlgorithm enumerator is missing from impl::algoPriorityOrder array.";
118 template <
typename T,
size_t N,
size_t I>
120 template <
typename ...Args>
130 template <
typename T,
size_t N>
132 template <
typename ...Args>
135 return std::array<T, N>{{std::forward<Args>(
args)...}};
148 template <
typename T,
size_t N>
163 #endif // DataFormats_TrackReco_trackAlgoPriorityOrder_h
static std::array< T, N > value(Args &&...args)
std::array< T, N > makeArray()
unsigned int findIndex(const reco::TrackBase::TrackAlgorithm algo, const unsigned int index)
unsigned int priorityForAlgo(const reco::TrackBase::TrackAlgorithm algo)
TrackAlgorithm
track algorithm
const std::complex< double > I
static std::array< T, N > value(Args &&...args)
reco::TrackBase::TrackAlgorithm algoPriorityOrder[]