ATLAS Offline Software
Loading...
Searching...
No Matches
HyPERTopoReco.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef HYPERANALYSISALGORITHMS_HYPERTOPORECO_H
6#define HYPERANALYSISALGORITHMS_HYPERTOPORECO_H
7
9
10#include <iostream>
11#include <memory>
12#include <vector>
13
15
16using indices = std::vector<std::vector<int64_t>>;
17using scores = std::vector<std::vector<float>>;
18
19namespace EventReco {
20void RecoTtbarAllHadronic(const HyPERGraph& hyperGraph,
21 const scores& edge_scores,
22 const scores& hyperedge_scores, indices& reco_indices,
23 std::vector<float>& reco_scores,
24 std::vector<std::string>& reco_labels);
25void RecoTtbarLJets(const HyPERGraph& hyperGraph, const scores& edge_scores,
26 const scores& hyperedge_scores,
27 const scores& classification_score, indices& reco_indices,
28 std::vector<float>& reco_scores,
29 std::vector<std::string>& reco_labels,
30 std::vector<std::vector<int64_t>>& reco_ids,
31 float& reco_classification_score);
32void RecoTtbarDiLepton(const HyPERGraph& hyperGraph, const scores& edge_scores,
33 const scores& hyperedge_scores,
34 const scores& classification_score,
35 indices& reco_indices, std::vector<float>& reco_scores,
36 std::vector<std::string>& reco_labels,
37 std::vector<std::vector<int64_t>>& reco_ids,
38 float& reco_classification_score);
39
40// Utility functions that are shared with VyPER
41bool anyCommonElement(const std::vector<int64_t>& vec1,
42 const std::vector<int64_t>& vec2);
44 std::vector<int64_t>& decay_indices,
45 const std::vector<std::vector<int64_t>>& allowed_decay_modes);
46
47} // namespace EventReco
48
49#endif // HYPERANALYSISALGORITHMS_HYPERTOPORECO_H
std::vector< std::vector< float > > scores
std::vector< std::vector< int64_t > > indices
void RecoTtbarAllHadronic(const HyPERGraph &hyperGraph, const scores &edge_scores, const scores &hyperedge_scores, indices &reco_indices, std::vector< float > &reco_scores, std::vector< std::string > &reco_labels)
Reconstruct the ttbar all hadronic topology.
bool isAllowedDecay(std::vector< int64_t > &decay_indices, const std::vector< std::vector< int64_t > > &allowed_decay_modes)
void RecoTtbarLJets(const HyPERGraph &hyperGraph, const scores &edge_scores, const scores &hyperedge_scores, const scores &classification_score, indices &reco_indices, std::vector< float > &reco_scores, std::vector< std::string > &reco_labels, std::vector< std::vector< int64_t > > &reco_ids, float &reco_classification_score)
Reconstruct the ttbar single lepton topology.
void RecoTtbarDiLepton(const HyPERGraph &hyperGraph, const scores &edge_scores, const scores &hyperedge_scores, const scores &classification_score, indices &reco_indices, std::vector< float > &reco_scores, std::vector< std::string > &reco_labels, std::vector< std::vector< int64_t > > &reco_ids, float &reco_classification_score)
Reconstruct the ttbar single lepton topology.
bool anyCommonElement(const std::vector< int64_t > &vec1, const std::vector< int64_t > &vec2)