FCCAnalyses
Loading...
Searching...
No Matches
FCCAnalyses::JetFlavourUtils Namespace Reference

Typedefs

using FCCAnalysesJetConstituentsData = rv::RVec<float>
 
using Variables = rv::RVec<FCCAnalysesJetConstituentsData>
 

Functions

rv::RVec< rv::RVec< float > > compute_weights (unsigned int slot, const rv::RVec< Variables > &)
 Compute all weights given a collection of input variables.
 
void setup_weaver (const std::string &, const std::string &, const rv::RVec< std::string > &, unsigned int nSlots)
 Setup the ONNXRuntime instance using Weaver-provided parameters.
 
template<typename... Args>
ROOT::VecOps::RVec< ROOT::VecOps::RVec< float > > get_weights (unsigned int slot, Args &&... args)
 Compute all weights given an unspecified collection of input variables.
 
rv::RVec< float > get_weight (const rv::RVec< rv::RVec< float > > &, int)
 Get one specific weight previously computed.
 

Typedef Documentation

◆ FCCAnalysesJetConstituentsData

◆ Variables

Function Documentation

◆ compute_weights()

rv::RVec< rv::RVec< float > > FCCAnalyses::JetFlavourUtils::compute_weights ( unsigned int slot,
const rv::RVec< Variables > & vars )

Compute all weights given a collection of input variables.

Note
This helper should not be used directly in RDataFrame examples

◆ get_weight()

rv::RVec< float > FCCAnalyses::JetFlavourUtils::get_weight ( const rv::RVec< rv::RVec< float > > & jets_weights,
int weight )

Get one specific weight previously computed.

◆ get_weights()

template<typename... Args>
ROOT::VecOps::RVec< ROOT::VecOps::RVec< float > > FCCAnalyses::JetFlavourUtils::get_weights ( unsigned int slot,
Args &&... args )

Compute all weights given an unspecified collection of input variables.

◆ setup_weaver()

void FCCAnalyses::JetFlavourUtils::setup_weaver ( const std::string & onnx_filename,
const std::string & json_filename,
const rv::RVec< std::string > & vars,
unsigned int nSlots )

Setup the ONNXRuntime instance using Weaver-provided parameters.