ATLAS Offline Software
|
Utils to produce Constituent -> vector<double> functions. More...
Classes | |
class | CustomSequenceGetter |
Template class to extract features from sequence of constituents. More... | |
Typedefs | |
using | IParticles = std::vector< const xAOD::IParticle * > |
using | Tracks = std::vector< const xAOD::TrackParticle * > |
using | SequenceFromIParticles = std::function< std::vector< double >(const xAOD::Vertex &, const IParticles &)> |
using | SequenceFromTracks = std::function< std::vector< double >(const xAOD::Vertex &, const Tracks &)> |
Functions | |
std::function< std::pair< std::string, double >const xAOD::Vertex &)> | customGetterAndName (const std::string &) |
template<typename T > | |
std::pair< std::function< std::vector< double > const xAOD::Vertex &, const std::vector< const T * > &)>, std::set< std::string > > | customSequenceGetterWithDeps (const std::string &name, const std::string &prefix) |
template<typename T > | |
std::pair< std::function< std::vector< double > const xAOD::Vertex &, const std::vector< const T * > &)>, std::set< std::string > > | customSequenceGetterWithDeps (const std::string &name) |
Utils to produce Constituent -> vector<double> functions.
The GNN configures its inputs when the algorithm is initalized, meaning that the list of vertex and constituent properties that are used as inputs won't be known at compile time. Instead we build an array of "getter" functions, each of which returns one input for the tagger. The function here returns those getter functions.
Many of the getter functions are trivial: they will, for example, read one double of auxdata off of the Vertex object. The sequence input getters tend to be more complicated. Since we'd like to avoid reimplementing the logic in these functions in multiple places, they are exposed here.
NOTE: This file is for experts only, don't expect support.
using InDetGNNHardScatterSelection::getter_utils::IParticles = typedef std::vector<const xAOD::IParticle*> |
Definition at line 48 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/CustomGetterUtils.h.
using InDetGNNHardScatterSelection::getter_utils::SequenceFromIParticles = typedef std::function<std::vector<double>( const xAOD::Vertex&, const IParticles&)> |
Definition at line 51 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/CustomGetterUtils.h.
using InDetGNNHardScatterSelection::getter_utils::SequenceFromTracks = typedef std::function<std::vector<double>( const xAOD::Vertex&, const Tracks&)> |
Definition at line 54 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/CustomGetterUtils.h.
using InDetGNNHardScatterSelection::getter_utils::Tracks = typedef std::vector<const xAOD::TrackParticle*> |
Definition at line 49 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/CustomGetterUtils.h.
std::function< std::pair< std::string, double >const xAOD::Vertex &)> InDetGNNHardScatterSelection::getter_utils::customGetterAndName | ( | const std::string & | name | ) |
Definition at line 196 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/Root/CustomGetterUtils.cxx.
std::pair< std::function<std::vector<double> const xAOD::Vertex&, const std::vector<const T*>&)>, std::set<std::string> > InDetGNNHardScatterSelection::getter_utils::customSequenceGetterWithDeps | ( | const std::string & | name | ) |
Definition at line 211 of file InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/Root/CustomGetterUtils.cxx.