![]() |
ATLAS Offline Software
|
Namespaces | |
| namespace | KLFEnums |
Classes | |
| class | Edge |
| class | Global |
| class | GraphBase |
| class | HyPERGraph |
| class | HyPERModel |
| struct | HyPEROutputNode |
| Description of a single output node of the ONNX graph. More... | |
| class | HyPERParser |
| This class is in charge of parsing the information from: Graph object -> onnxruntime object. More... | |
| class | HyPERTtbarAllHadronicModel |
| This class is in charge of loading the correct HyPER model based on the Ttbar all hadronic topology. More... | |
| class | HyPERTtbarAllHadronicParser |
| class | HyPERTtbarDiLeptonModel |
| This class is in charge of loading the correct HyPER model based on the Ttbar di-lepton topology. More... | |
| class | HyPERTtbarDiLeptonParser |
| class | HyPERTtbarLJetsModel |
| This class is in charge of loading the correct HyPER model based on the Ttbar single lepton topology. More... | |
| class | HyPERTtbarLJetsParser |
| struct | InputsPack |
| This struct stores the input objects needed to build the graph after reading and filtering the xAOD containers. More... | |
| class | KLFitterFinalizeOutputAlg |
| class | Node |
| class | RunHyPERAlg |
| This class is in charge of building the HyPER graph and running the HyPER algorithm: The user-inputs are: More... | |
| class | RunKLFitterAlg |
Typedefs | |
| using | Features = std::vector<float> |
| using | EdgeIndex = std::pair<int64_t, int64_t> |
Enumerations | |
| enum class | HyPERTopology { NotSelected = 0 , TtbarLJets , TtbarAllHadronic , TtbarDiLepton , NumberOfTopologies } |
| enum class | HyPEROutputDim { HyperEdges , Edges , Single } |
| Which of the graph's dynamic dimensions an output tensor scales with. More... | |
| enum | HyPERParticleID { jet = 1 , e = 2 , mu = 3 , met = 4 , tau = 5 } |
Functions | |
| 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. | |
| 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) |
| bool | isAllowedDecay (std::vector< int64_t > &decay_indices, const std::vector< std::vector< int64_t > > &allowed_decay_modes) |
| template<typename T> | |
| void | combinations (const std::vector< T > &elements, int64_t k, int64_t offset, std::vector< T > ¤t, std::vector< std::vector< T > > &result) |
| template<typename T> | |
| std::vector< std::vector< T > > | buildCombinations (const std::vector< T > &elements, int64_t hyperEdgeOrder) |
| template<typename T, typename V> | |
| std::vector< T > | vector1DTypeConverter (const std::vector< V > &input) |
| template<typename T, typename V> | |
| std::vector< std::vector< T > > | vector2DTypeConverter (const std::vector< std::vector< V > > &input) |
| template<typename T> | |
| std::vector< std::vector< T > > | convertONNXOutput (T *onnxOutput, const std::vector< int64_t > &shape) |
| template<typename T> | |
| void | flatTensorAndSetShape (const std::vector< std::vector< T > > &input, std::vector< T > &flatTensor, std::vector< int64_t > &shape) |
| std::vector< std::vector< int64_t > > | transpose (const std::vector< std::vector< int64_t > > &vecs) |
| std::vector< int64_t > | range (int64_t n) |
| HyPERTopology | strToHyPERTopology (const std::string &str) |
| std::size_t | getIndexFromLabel (const std::vector< std::string > &vecvec, const std::string &label) |
| float | deltaPhi (float phi1, float phi2) |
| bool | isHadTop (const std::vector< int64_t > &decay_indices) |
| std::vector< int64_t > | findWInTopLep (const std::vector< int64_t > &decay_indices, const std::vector< int64_t > &decay_ids) |
| int | countParticlesSameType (const HyPERGraph &hyperGraph, EventReco::HyPERParticleID particleType) |
| int | countParticlesSameType (const HyPERGraph &hyperGraph, float particleType) |
| void | reescaleIndicesTtbarLJets (const HyPERGraph &hyperGraph, std::vector< int64_t > &top_indices, std::vector< int64_t > &w_indices, const std::vector< int64_t > &ids) |
| Re-scale the indices of the reconstructed leptonic top decay to reflect the position in the particle-specific containers. | |
| void | reescaleIndicesTtbarDiLepton (const HyPERGraph &hyperGraph, std::vector< int64_t > &top_indices, const std::vector< int64_t > &ids) |
| void | RecoHadronicTop (const HyPERGraph &hyperGraph, const scores &edge_scores, const scores &hyperedge_scores, std::vector< int64_t > &hyperedge_masks, std::vector< int64_t > &top_reco_indices, std::vector< int64_t > &w_reco_indices, float &top_reco_score, float &w_reco_score) |
| Reconstruct the hadronic top quark (with the highest score) and W boson from the hypergraph score outputs. | |
| void | RecoTop (const HyPERGraph &hyperGraph, const scores &edge_scores, const scores &hyperedge_scores, std::vector< int64_t > &hyperedge_masks, std::vector< int64_t > &top_reco_indices, std::vector< int64_t > &w_reco_indices, float &top_reco_score, float &w_reco_score, std::vector< int64_t > &top_reco_ids, const std::vector< std::vector< int64_t > > &allowed_decay_modes) |
| Reconstruct a top quark with a decay compatible with a list of decay modes specified by a list of indices. | |
| void | RecoTopForDiLepton (const HyPERGraph &hyperGraph, const scores &edge_scores, std::vector< int64_t > &edge_masks, std::vector< int64_t > &top_reco_indices, float &top_reco_score, std::vector< int64_t > &top_reco_ids, const std::vector< std::vector< int64_t > > &allowed_decay_modes) |
| Reconstruct the leptonic top quark (with the highest score) from DiLepton topology. | |
Variables | |
| MSG::Level | g_hyper_msg_level = MSG::INFO |
| using EventReco::EdgeIndex = std::pair<int64_t, int64_t> |
Definition at line 17 of file GraphBase.h.
| using EventReco::Features = std::vector<float> |
Definition at line 16 of file GraphBase.h.
|
strong |
Which of the graph's dynamic dimensions an output tensor scales with.
The HyPER models declare every output with exactly one symbolic dimension, tied either to the number of hyperedges or to the number of edges.
| Enumerator | |
|---|---|
| HyperEdges | |
| Edges | |
| Single | |
Definition at line 38 of file HyPERModel.h.
| Enumerator | |
|---|---|
| jet | |
| e | |
| mu | |
| met | |
| tau | |
Definition at line 20 of file HyPERUtils.h.
|
strong |
| Enumerator | |
|---|---|
| NotSelected | |
| TtbarLJets | |
| TtbarAllHadronic | |
| TtbarDiLepton | |
| NumberOfTopologies | |
Definition at line 25 of file HyPERModel.h.
| bool EventReco::anyCommonElement | ( | const std::vector< int64_t > & | vec1, |
| const std::vector< int64_t > & | vec2 ) |
Definition at line 14 of file HyPERTopoReco.cxx.
| std::vector< std::vector< T > > EventReco::buildCombinations | ( | const std::vector< T > & | elements, |
| int64_t | hyperEdgeOrder ) |
Definition at line 47 of file HyPERUtils.h.
| void EventReco::combinations | ( | const std::vector< T > & | elements, |
| int64_t | k, | ||
| int64_t | offset, | ||
| std::vector< T > & | current, | ||
| std::vector< std::vector< T > > & | result ) |
Definition at line 24 of file HyPERUtils.h.
| std::vector< std::vector< T > > EventReco::convertONNXOutput | ( | T * | onnxOutput, |
| const std::vector< int64_t > & | shape ) |
Definition at line 85 of file HyPERUtils.h.
| int EventReco::countParticlesSameType | ( | const HyPERGraph & | hyperGraph, |
| EventReco::HyPERParticleID | particleType ) |
Definition at line 79 of file HyPERTopoReco.cxx.
| int EventReco::countParticlesSameType | ( | const HyPERGraph & | hyperGraph, |
| float | particleType ) |
Definition at line 96 of file HyPERTopoReco.cxx.
| float EventReco::deltaPhi | ( | float | phi1, |
| float | phi2 ) |
Definition at line 61 of file HyPERUtils.cxx.
| std::vector< int64_t > EventReco::findWInTopLep | ( | const std::vector< int64_t > & | decay_indices, |
| const std::vector< int64_t > & | decay_ids ) |
Definition at line 55 of file HyPERTopoReco.cxx.
| void EventReco::flatTensorAndSetShape | ( | const std::vector< std::vector< T > > & | input, |
| std::vector< T > & | flatTensor, | ||
| std::vector< int64_t > & | shape ) |
Definition at line 101 of file HyPERUtils.h.
| std::size_t EventReco::getIndexFromLabel | ( | const std::vector< std::string > & | vec, |
| const std::string & | label ) |
Definition at line 49 of file HyPERUtils.cxx.
| bool EventReco::isAllowedDecay | ( | std::vector< int64_t > & | decay_indices, |
| const std::vector< std::vector< int64_t > > & | allowed_decay_modes ) |
Definition at line 25 of file HyPERTopoReco.cxx.
| bool EventReco::isHadTop | ( | const std::vector< int64_t > & | decay_indices | ) |
Definition at line 42 of file HyPERTopoReco.cxx.
| std::vector< int64_t > EventReco::range | ( | int64_t | n | ) |
Definition at line 29 of file HyPERUtils.cxx.
| void EventReco::RecoHadronicTop | ( | const HyPERGraph & | hyperGraph, |
| const scores & | edge_scores, | ||
| const scores & | hyperedge_scores, | ||
| std::vector< int64_t > & | hyperedge_masks, | ||
| std::vector< int64_t > & | top_reco_indices, | ||
| std::vector< int64_t > & | w_reco_indices, | ||
| float & | top_reco_score, | ||
| float & | w_reco_score ) |
Reconstruct the hadronic top quark (with the highest score) and W boson from the hypergraph score outputs.
Tops already reconstructed are masked out.
Definition at line 194 of file HyPERTopoReco.cxx.
| void EventReco::RecoTop | ( | const HyPERGraph & | hyperGraph, |
| const scores & | edge_scores, | ||
| const scores & | hyperedge_scores, | ||
| std::vector< int64_t > & | hyperedge_masks, | ||
| std::vector< int64_t > & | top_reco_indices, | ||
| std::vector< int64_t > & | w_reco_indices, | ||
| float & | top_reco_score, | ||
| float & | w_reco_score, | ||
| std::vector< int64_t > & | top_reco_ids, | ||
| const std::vector< std::vector< int64_t > > & | allowed_decay_modes ) |
Reconstruct a top quark with a decay compatible with a list of decay modes specified by a list of indices.
Tops already reconstructed are masked out.
Definition at line 264 of file HyPERTopoReco.cxx.
| void EventReco::RecoTopForDiLepton | ( | const HyPERGraph & | hyperGraph, |
| const scores & | edge_scores, | ||
| std::vector< int64_t > & | edge_masks, | ||
| std::vector< int64_t > & | top_reco_indices, | ||
| float & | top_reco_score, | ||
| std::vector< int64_t > & | top_reco_ids, | ||
| const std::vector< std::vector< int64_t > > & | allowed_decay_modes ) |
Reconstruct the leptonic top quark (with the highest score) from DiLepton topology.
Tops already reconstructed are masked out. Only edges are considered in this case.
Definition at line 660 of file HyPERTopoReco.cxx.
| void EventReco::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.
Definition at line 382 of file HyPERTopoReco.cxx.
| void EventReco::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.
Definition at line 729 of file HyPERTopoReco.cxx.
| void EventReco::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.
Definition at line 454 of file HyPERTopoReco.cxx.
| void EventReco::reescaleIndicesTtbarDiLepton | ( | const HyPERGraph & | hyperGraph, |
| std::vector< int64_t > & | top_indices, | ||
| const std::vector< int64_t > & | ids ) |
Definition at line 153 of file HyPERTopoReco.cxx.
| void EventReco::reescaleIndicesTtbarLJets | ( | const HyPERGraph & | hyperGraph, |
| std::vector< int64_t > & | top_indices, | ||
| std::vector< int64_t > & | w_indices, | ||
| const std::vector< int64_t > & | ids ) |
Re-scale the indices of the reconstructed leptonic top decay to reflect the position in the particle-specific containers.
Definition at line 114 of file HyPERTopoReco.cxx.
| HyPERTopology EventReco::strToHyPERTopology | ( | const std::string & | str | ) |
Definition at line 37 of file HyPERUtils.cxx.
| std::vector< std::vector< int64_t > > EventReco::transpose | ( | const std::vector< std::vector< int64_t > > & | vecs | ) |
Definition at line 12 of file HyPERUtils.cxx.
| std::vector< T > EventReco::vector1DTypeConverter | ( | const std::vector< V > & | input | ) |
Definition at line 60 of file HyPERUtils.h.
| std::vector< std::vector< T > > EventReco::vector2DTypeConverter | ( | const std::vector< std::vector< V > > & | input | ) |
Definition at line 70 of file HyPERUtils.h.
|
thread_local |
Definition at line 10 of file HyPERUtils.cxx.