ATLAS Offline Software
Loading...
Searching...
No Matches
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"
14
16
17#include <algorithm>
18#include <fstream>
19#include <memory>
20#include <string>
21#include <map>
22
23namespace FlavorTagInference{
24 class SaltModel;
25}
26
36class TauGNN : public asg::AsgMessaging {
37public:
38 std::shared_ptr<const FlavorTagInference::SaltModel> m_saltModel;
40public:
41
42 TauGNN(
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
55};
56
57#endif // TAURECTOOLS_TAUGNN_H
Evaluate cluster kinematics with a different vertex / signal state.
TauGNNDataLoader m_dataloader
Definition TauGNN.h:39
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
FlavorTagInference::OutputConfig gnn_output_config
Definition TauGNN.h:54
~TauGNN()=default
TauGNN(const TauGNNDataLoader::Config &config)
Definition TauGNN.cxx:9
std::shared_ptr< const FlavorTagInference::SaltModel > m_saltModel
Definition TauGNN.h:38
Class mimicking the AthMessaging class from the offline software.
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::vector< SaltModelOutput > OutputConfig
Definition ISaltModel.h:36
TauJet_v3 TauJet
Definition of the current "tau version".