ATLAS Offline Software
Reconstruction
tauRecTools
tauRecTools
TauGNN.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TAURECTOOLS_TAUGNN_H
6
#define TAURECTOOLS_TAUGNN_H
7
8
9
#include "
xAODTau/TauJet.h
"
10
#include "
xAODCaloEvent/CaloVertexedTopoCluster.h
"
11
#include "
tauRecTools/TauGNNDataLoader.h
"
12
#include "
FlavorTagInference/SaltModel.h
"
13
#include "
FlavorTagInference/SaltModelGraphConfig.h
"
14
15
#include "
AsgMessaging/AsgMessaging.h
"
16
17
#include <algorithm>
18
#include <fstream>
19
#include <memory>
20
#include <string>
21
#include <map>
22
23
namespace
FlavorTagInference
{
24
class
SaltModel
;
25
}
26
36
class
TauGNN
:
public
asg::AsgMessaging
{
37
public
:
38
std::shared_ptr<const FlavorTagInference::SaltModel>
m_saltModel
;
39
TauGNNDataLoader
m_dataloader
;
40
public
:
41
42
TauGNN
(
43
const
TauGNNDataLoader::Config
&
config
44
);
45
~TauGNN
() =
default
;
46
47
// Output the SaltModel tuple
48
std::tuple<
49
std::map<std::string, float>,
50
std::map<std::string, std::vector<char>>,
51
std::map<std::string, std::vector<float>> >
52
compute
(
const
xAOD::TauJet
&tau)
const
;
53
//Make the output config transparent to external tools
54
FlavorTagInference::OutputConfig
gnn_output_config
;
55
};
56
57
#endif // TAURECTOOLS_TAUGNN_H
SaltModel.h
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition:
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:27
TauGNN::TauGNN
TauGNN(const TauGNNDataLoader::Config &config)
Definition:
TauGNN.cxx:9
TauGNNDataLoader.h
config
Definition:
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
SaltModel
Definition:
JetTagPerformanceCalibration/xAODBTaggingEfficiency/xAODBTaggingEfficiency/SaltModel.h:14
AsgMessaging.h
TauGNN::~TauGNN
~TauGNN()=default
xAOD::TauJet_v3
Class describing a tau jet.
Definition:
TauJet_v3.h:41
TauGNN::compute
std::tuple< std::map< std::string, float >, std::map< std::string, std::vector< char > >, std::map< std::string, std::vector< float > > > compute(const xAOD::TauJet &tau) const
Definition:
TauGNN.cxx:21
TauGNNDataLoader
Definition:
TauGNNDataLoader.h:57
TauGNN::m_dataloader
TauGNNDataLoader m_dataloader
Definition:
TauGNN.h:39
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition:
AsgMessaging.h:40
TauGNN
Wrapper around SaltModel to compute the output score of a model.
Definition:
TauGNN.h:36
CaloVertexedTopoCluster.h
Evaluate cluster kinematics with a different vertex / signal state.
TauGNN::m_saltModel
std::shared_ptr< const FlavorTagInference::SaltModel > m_saltModel
Definition:
TauGNN.h:38
FlavorTagInference::OutputConfig
std::vector< SaltModelOutput > OutputConfig
Definition:
ISaltModel.h:23
TauGNN::gnn_output_config
FlavorTagInference::OutputConfig gnn_output_config
Definition:
TauGNN.h:54
TauJet.h
TauGNNDataLoader::Config
Definition:
TauGNNDataLoader.h:59
SaltModelGraphConfig.h
Generated on Sun Oct 26 2025 21:19:02 for ATLAS Offline Software by
1.8.18