ATLAS Offline Software
Loading...
Searching...
No Matches
GNNToolifiers.h
Go to the documentation of this file.
1/*
2+ Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5// here lives some common stuff between GNNTool and MultifoldGNNTool
6
7#ifndef GNN_TOOLIFIERS_H
8#define GNN_TOOLIFIERS_H
9
10#include <string>
11#include <map>
12#include <cmath>
13
14namespace asg {
15 class AsgTool;
16}
17
18namespace FlavorTagInference {
19
20 struct GNNOptions;
21
23 std::string flipTagConfig;
24 std::map<std::string,std::string> variableRemapping;
25 std::string trackLinkType;
27 std::map<std::string, double> default_output_values; // hack [1]
28 bool default_zero_tracks = false;
29 };
30
31 void propify(asg::AsgTool& tool, GNNToolProperties* props);
33}
34
35#endif
36
37// [1]: Gaudi doesn't like std::map<std::string, float> as a property,
38// so we use std::map<std::string, double> instead. This is converted
39// to a float before it's used.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
This file contains "getter" functions used for accessing tagger inputs from the EDM.
GNNOptions getOptions(const GNNToolProperties &)
void propify(asg::AsgTool &tool, GNNToolProperties *props)
std::map< std::string, double > default_output_values
std::map< std::string, std::string > variableRemapping