| HepMC3 event record library
    | 
Defines Feature interface for selecting Particles according to extracted Features.
Definition in file Feature.h.
#include <functional>#include <memory>#include <limits>#include "HepMC3/GenParticle.h"#include "HepMC3/Filter.h" Include dependency graph for Feature.h:
 Include dependency graph for Feature.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Data Structures | |
| class | GenericFeature< Feature_type > | 
| GenericFeature defines the Feature interface GenericFeature is not intended to be used directly. The derived Feature class and its specialisations should be used.  More... | |
| class | Feature< Feature_type, Dummy > | 
| Expose GenericFeature interface to derived Feature class.  More... | |
| class | Feature< Feature_type, typename std::enable_if< std::is_integral< Feature_type >::value, void >::type > | 
| Specialisation of Feature for integral types.  More... | |
| class | Feature< Feature_type, typename std::enable_if< std::is_floating_point< Feature_type >::value, void >::type > | 
| specialisation of Feature for floating point type  More... | |
| Namespaces | |
| namespace | HepMC3 | 
| HepMC3 main namespace. | |
| Functions | |
| template<typename Feature_type> | |
| Feature< Feature_type > | abs (const Feature< Feature_type > &input) | 
| Obtain the absolute value of a Feature. This works as you'd expect. If foo is a valid Feature, then abs(foo) returns a new Feature that corresponds to the absolute value of the foo feature. You can construct a Filter from that in the usual way with e.g. Filter f = abs(foo) > 10.;. | |