4#ifndef MUONINFERENCEINTERACES_GRAPHFEATURE_H
5#define MUONINFERENCEINTERACES_GRAPHFEATURE_H
30 const Func_t& extractFunc):
36 const std::string&
name()
const {
43 return m_func(bucket, spIndex);
The LayerSpBucket is a space pointbucket where the points are internally sorted by their layer number...
NodeFeature(NodeFeature &&other)=default
Standard move assignment & move constructor.
LayerSpBucket Bucket_t
Abreviation of the Space point bucket type.
const std::string & name() const
Returns the feature name.
double eval(const Bucket_t &bucket, size_t spIndex) const
Extract the feature from a space point inside the bucket.
std::function< double(const Bucket_t &, size_t)> Func_t
Lambda function type to extract the feature from a bucket.
NodeFeature(const std::string &featName, const Func_t &extractFunc)
Standard constructor to build a feature.