ATLAS Offline Software
Loading...
Searching...
No Matches
InferenceUtils.h File Reference
#include "AthOnnxComps/OnnxRuntimeSessionToolCUDA.h"
#include "xAODMuon/MuonSegment.h"
#include <algorithm>
#include <cmath>
Include dependency graph for InferenceUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MuonML::InferenceUtils::SessionBackend
struct  MuonML::InferenceUtils::SegmentQualityOrder
 Common quality ordering for segment representatives. More...

Namespaces

namespace  MuonML
namespace  MuonML::InferenceUtils

Functions

template<class SessionToolHandle>
SessionBackend MuonML::InferenceUtils::sessionBackend (const SessionToolHandle &sessionTool)
float MuonML::InferenceUtils::sigmoid (float x)
float MuonML::InferenceUtils::reducedChi2 (const xAOD::MuonSegment &segment)
int MuonML::InferenceUtils::compareFloat (float first, float second)
 Three-way float comparison which orders NaN after all numeric values.
int MuonML::InferenceUtils::compareFloatDescending (float first, float second)
 Three-way descending comparison which also orders NaN last.