| HepMC3 event record library
    | 
specialisation of Feature for floating point type
Test of equality of floating point types is not safe. Here we provide a "reasonable" definition of equality based on the floating point precision.
#include <Feature.h>
 Inheritance diagram for Feature< Feature_type, typename std::enable_if< std::is_floating_point< Feature_type >::value, void >::type >:
 Inheritance diagram for Feature< Feature_type, typename std::enable_if< std::is_floating_point< Feature_type >::value, void >::type >: Collaboration diagram for Feature< Feature_type, typename std::enable_if< std::is_floating_point< Feature_type >::value, void >::type >:
 Collaboration diagram for Feature< Feature_type, typename std::enable_if< std::is_floating_point< Feature_type >::value, void >::type >:| Public Types | |
| using | Evaluator_type | 
| evaluator type | |
| using | EvaluatorPtr | 
| shared pointer for evaluator type | |
| Public Member Functions | |
| Feature (Evaluator_type functor) | |
| Feature. | |
| Feature (const Feature ©) | |
| Copy. | |
| Feature< Feature_type > | abs () const | 
| abs function | |
| Filter | operator== (Feature_type value) const override | 
| equality operator | |
| Filter | operator!= (Feature_type value) const override | 
| inequality operator | |
| Feature (Evaluator_type functor) | |
| Feature. | |
| Feature (const Feature ©) | |
| Copy. | |
| Feature< Feature_type > | abs () const | 
| Abs function. | |
| Feature_type | operator() (ConstGenParticlePtr input) const | 
| access the underlying feature value | |
| Filter | operator> (Feature_type value) const | 
| greater than operator | |
| Filter | operator< (Feature_type value) const | 
| less than operator | |
| Filter | operator>= (Feature_type value) const | 
| greater than or equals operator | |
| Filter | operator<= (Feature_type value) const | 
| less than or equals operator | |
| virtual Filter | operator== (Feature_type value) const | 
| equality operator | |
| virtual Filter | operator!= (Feature_type value) const | 
| inequality operator | |
| Protected Attributes | |
| EvaluatorPtr | m_internal | 
| internal copy of func for evaluation on the heap so will persist in resulting Filters even if parent Feature object was destroyed | |
| using Evaluator_type | 
| using EvaluatorPtr | 
| 
 | inline | 
Definition at line 297 of file Feature.h.
References GenericFeature< Feature_type >::GenericFeature().
| 
 | inline | 
Copy.
Definition at line 299 of file Feature.h.
References Feature(), and GenericFeature< Feature_type >::GenericFeature().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
abs function
Definition at line 302 of file Feature.h.
References Feature< Feature_type, Dummy >::Feature(), Feature(), and m_internal.
| 
 | inlinevirtual | 
| 
 | inlineoverridevirtual | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlinevirtual | 
| 
 | inlineoverridevirtual | 
equality operator
Reimplemented from GenericFeature< Feature_type >.
Definition at line 308 of file Feature.h.
References m_internal.
| 
 | inline | 
| 
 | inline | 
| 
 | protected |