ATLAS Offline Software
Loading...
Searching...
No Matches
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
AsgMessaging.h
CaloVertexedTopoCluster.h
Evaluate cluster kinematics with a different vertex / signal state.
TauJet.h
SaltModel.h
SaltModelGraphConfig.h
TauGNNDataLoader.h
FlavorTagInference::SaltModel
Definition
FlavorTagInference/FlavorTagInference/SaltModel.h:24
TauGNNDataLoader
Definition
TauGNNDataLoader.h:57
TauGNN::m_dataloader
TauGNNDataLoader m_dataloader
Definition
TauGNN.h:39
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
TauGNN::gnn_output_config
FlavorTagInference::OutputConfig gnn_output_config
Definition
TauGNN.h:54
TauGNN::~TauGNN
~TauGNN()=default
TauGNN::TauGNN
TauGNN(const TauGNNDataLoader::Config &config)
Definition
TauGNN.cxx:9
TauGNN::m_saltModel
std::shared_ptr< const FlavorTagInference::SaltModel > m_saltModel
Definition
TauGNN.h:38
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition
AsgMessaging.h:40
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition
PhysicsAnalysis/JetTagging/FlavorTagInference/FlavorTagInference/ConstituentsLoader.h:27
FlavorTagInference::OutputConfig
std::vector< SaltModelOutput > OutputConfig
Definition
ISaltModel.h:36
config
Definition
PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition
Event/xAOD/xAODTau/xAODTau/TauJet.h:17
TauGNNDataLoader::Config
Definition
TauGNNDataLoader.h:59
Generated on
for ATLAS Offline Software by
1.14.0