ATLAS Offline Software
Loading...
Searching...
No Matches
HyPERUtils.h File Reference
#include "HyPERAnalysisAlgorithms/HyPERModel.h"
#include <AsgMessaging/MsgLevel.h>
#include <cstdint>
#include <algorithm>
#include <vector>
Include dependency graph for HyPERUtils.h:

Go to the source code of this file.

Namespaces

namespace  EventReco

Enumerations

enum  EventReco::HyPERParticleID {
  EventReco::jet = 1 , EventReco::e = 2 , EventReco::mu = 3 , EventReco::met = 4 ,
  EventReco::tau = 5
}

Functions

template<typename T>
void EventReco::combinations (const std::vector< T > &elements, int64_t k, int64_t offset, std::vector< T > &current, std::vector< std::vector< T > > &result)
template<typename T>
std::vector< std::vector< T > > EventReco::buildCombinations (const std::vector< T > &elements, int64_t hyperEdgeOrder)
template<typename T, typename V>
std::vector< T > EventReco::vector1DTypeConverter (const std::vector< V > &input)
template<typename T, typename V>
std::vector< std::vector< T > > EventReco::vector2DTypeConverter (const std::vector< std::vector< V > > &input)
template<typename T>
std::vector< std::vector< T > > EventReco::convertONNXOutput (T *onnxOutput, const std::vector< int64_t > &shape)
template<typename T>
void EventReco::flatTensorAndSetShape (const std::vector< std::vector< T > > &input, std::vector< T > &flatTensor, std::vector< int64_t > &shape)
std::vector< std::vector< int64_t > > EventReco::transpose (const std::vector< std::vector< int64_t > > &vecs)
std::vector< int64_t > EventReco::range (int64_t n)
HyPERTopology EventReco::strToHyPERTopology (const std::string &str)
std::size_t EventReco::getIndexFromLabel (const std::vector< std::string > &vecvec, const std::string &label)
float EventReco::deltaPhi (float phi1, float phi2)

Variables

MSG::Level EventReco::g_hyper_msg_level = MSG::INFO