ATLAS Offline Software
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 
14 namespace asg {
15  class AsgTool;
16 }
17 
18 namespace FlavorTagDiscriminants {
19 
20  struct GNNOptions;
21 
23  std::string flipTagConfig;
24  std::map<std::string,std::string> variableRemapping;
25  std::string trackLinkType;
26  float default_output_value = NAN;
27  std::map<std::string, double> default_output_values; // hack [1]
28  bool default_zero_tracks = false;
29  };
30 
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.
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
FlavorTagDiscriminants::GNNToolProperties::flipTagConfig
std::string flipTagConfig
Definition: GNNToolifiers.h:23
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::GNNOptions
Definition: GNNOptions.h:16
FlavorTagDiscriminants::GNNToolProperties::trackLinkType
std::string trackLinkType
Definition: GNNToolifiers.h:25
asg
Definition: DataHandleTestTool.h:28
FlavorTagDiscriminants::GNNToolProperties::default_output_value
float default_output_value
Definition: GNNToolifiers.h:26
FlavorTagDiscriminants::GNNToolProperties
Definition: GNNToolifiers.h:22
FlavorTagDiscriminants::GNNToolProperties::default_output_values
std::map< std::string, double > default_output_values
Definition: GNNToolifiers.h:27
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
FlavorTagDiscriminants::GNNToolProperties::default_zero_tracks
bool default_zero_tracks
Definition: GNNToolifiers.h:28
FlavorTagDiscriminants::GNNToolProperties::variableRemapping
std::map< std::string, std::string > variableRemapping
Definition: GNNToolifiers.h:24
FlavorTagDiscriminants::getOptions
GNNOptions getOptions(const GNNToolProperties &)
Definition: GNNToolifiers.cxx:24
FlavorTagDiscriminants::propify
void propify(asg::AsgTool &tool, GNNToolProperties *props)
Definition: GNNToolifiers.cxx:12