![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
37 #ifndef CUSTOM_GETTER_UTILS_H
38 #define CUSTOM_GETTER_UTILS_H
42 namespace getter_utils {
53 std::function<std::pair<std::string, double>(
const xAOD::Jet&)>
57 std::pair<SequenceGetterFunc<T>, std::set<std::string>>
73 using InputSequence = std::function<std::pair<std::string, std::vector<double>>(
87 const std::string&
name,
88 const std::string&
prefix);
std::pair< std::vector< float >, std::vector< int64_t > > getFeats(const xAOD::Jet &jet, const Const &constituents) const
std::map< std::string, std::vector< double > > getDL2Feats(const xAOD::Jet &jet, const Const &constituents) const
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::vector< InputSequence > m_sequence_getters
std::function< std::vector< double >(const xAOD::Jet &, const Constituents< T > &)> SequenceGetterFunc
Template class to extract features from sequence of constituents.
std::pair< SequenceGetterFunc< T >, std::set< std::string > > buildCustomSeqGetter(const std::string &name, const std::string &prefix)
std::pair< InputSequence, std::set< std::string > > seqFromConsituents(const InputVariableConfig &cfg, const FTagOptions &options)
std::set< std::string > m_deps
std::function< std::pair< std::string, std::vector< double > >(const xAOD::Jet &, const Const &)> InputSequence
std::function< std::pair< std::string, double >const xAOD::Jet &)> namedCustomJetGetter(const std::string &)
std::set< std::string > m_used_remap
std::set< std::string > getDependencies() const
Constituents< xAOD::IParticle > Const
std::vector< const T * > Constituents
std::set< std::string > getUsedRemap() const
SeqGetter(std::vector< InputVariableConfig > inputs, const FTagOptions &options)
Base class for elements of a container that can have aux data.
std::pair< InputSequence, std::set< std::string > > getNamedCustomSeqGetter(const std::string &name, const std::string &prefix)