ATLAS Offline Software
Loading...
Searching...
No Matches
MultifoldGNN.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 MULTIFOLD_GNN_H
6#define MULTIFOLD_GNN_H
7
11
12#include <vector>
13#include <string>
14#include <memory>
15#include <set>
16
17namespace FlavorTagInference {
18 class GNN;
19 struct GNNOptions;
20}
21
22namespace FlavorTagInference {
23
25 {
26 public:
27 MultifoldGNN(const std::vector<std::string>& folds,
28 const std::string& fold_hash_name,
30 MultifoldGNN(const std::vector<std::shared_ptr<const FlavorTagInference::GNN>>& folds,
31 const std::string& fold_hash_name);
35 void decorate(const xAOD::IParticle& i_jet) const;
36 void decorateWithDefaults(const xAOD::IParticle& i_jet) const;
37
38 // cppcheck-suppress returnByReference
40 private:
41 const FlavorTagInference::GNN& getFold(const SG::AuxElement& element) const;
42 std::vector<std::shared_ptr<const FlavorTagInference::GNN>> m_folds;
45 };
46
47}
48#endif
SG::AuxElement::ConstAccessor< uint32_t > m_fold_hash
MultifoldGNN(const MultifoldGNN &)
SG::AuxElement::ConstAccessor< ElementLink< xAOD::JetContainer > > m_jetLink
void decorate(const xAOD::IParticle &i_jet) const
FTagDataDependencyNames getDependencies() const
MultifoldGNN(const std::vector< std::string > &folds, const std::string &fold_hash_name, const FlavorTagInference::GNNOptions &opts)
void decorateWithDefaults(const xAOD::IParticle &i_jet) const
const FlavorTagInference::GNN & getFold(const SG::AuxElement &element) const
std::vector< std::shared_ptr< const FlavorTagInference::GNN > > m_folds
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:569
Class providing the definition of the 4-vector interface.
This file contains "getter" functions used for accessing tagger inputs from the EDM.