ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
FlavorTagInference
FlavorTagInference
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
FlavorTagInference
{
19
20
struct
GNNOptions
;
21
22
struct
GNNToolProperties
{
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
31
void
propify
(
asg::AsgTool
& tool,
GNNToolProperties
* props);
32
GNNOptions
getOptions
(
const
GNNToolProperties
&);
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
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:27
FlavorTagInference::getOptions
GNNOptions getOptions(const GNNToolProperties &)
Definition
GNNToolifiers.cxx:24
FlavorTagInference::propify
void propify(asg::AsgTool &tool, GNNToolProperties *props)
Definition
GNNToolifiers.cxx:12
asg
Definition
DataHandleTestTool.h:28
FlavorTagInference::GNNOptions
Definition
GNNOptions.h:15
FlavorTagInference::GNNToolProperties
Definition
GNNToolifiers.h:22
FlavorTagInference::GNNToolProperties::trackLinkType
std::string trackLinkType
Definition
GNNToolifiers.h:25
FlavorTagInference::GNNToolProperties::flipTagConfig
std::string flipTagConfig
Definition
GNNToolifiers.h:23
FlavorTagInference::GNNToolProperties::default_output_values
std::map< std::string, double > default_output_values
Definition
GNNToolifiers.h:27
FlavorTagInference::GNNToolProperties::variableRemapping
std::map< std::string, std::string > variableRemapping
Definition
GNNToolifiers.h:24
FlavorTagInference::GNNToolProperties::default_zero_tracks
bool default_zero_tracks
Definition
GNNToolifiers.h:28
FlavorTagInference::GNNToolProperties::default_output_value
float default_output_value
Definition
GNNToolifiers.h:26
Generated on
for ATLAS Offline Software by
1.14.0