5#ifndef FLAVORTAGINFERENCE_PASSTHROUGHSALTMODEL_H
6#define FLAVORTAGINFERENCE_PASSTHROUGHSALTMODEL_H
11#include "nlohmann/json.hpp"
51 std::map<std::string, Inputs>& gnn_inputs)
const override;
InferenceOutput runInference(std::map< std::string, Inputs > &gnn_inputs) const override
const std::string & getModelName() const override
std::vector< ConstituentNode > m_constituent_nodes
SaltModelGraphConfig::GraphConfig m_graph_config
virtual ~PassThroughSaltModel()=default
std::vector< std::string > m_jet_output_names
Scalar jet variables: output names (matching by index).
PassThroughSaltModel(const nlohmann::json &config)
Construct from a JSON config with the format: { "model_name": "PassThrough", "jet_variables": [ {"inp...
const SaltModelGraphConfig::GraphConfig getGraphConfig() const override
const OutputConfig & getOutputConfig() const override
OutputConfig m_output_config
SaltModelVersion getSaltModelVersion() const override
std::vector< std::string > m_jet_input_names
Scalar jet variables: input names (graph config order).
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::vector< SaltModelOutput > OutputConfig
Per-constituent node config.
size_t num_vars
number of variables in this node
std::vector< std::string > output_names
per-variable output names
std::string node_name
e.g. "tracks_r22loose_sd0sort" (drives ConstituentsLoader sort/select regex)
std::vector< std::string > var_types
per-variable: "float", "int", or "char"
std::string input_key
key in gnn_inputs, read from JSON "input_key" (e.g. "tracks", "flows")