|
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>
Public Types | |
| using | Evaluator_type |
| using | EvaluatorPtr |
Public Member Functions | |
| Feature (Evaluator_type functor) | |
| Feature (const Feature ©) | |
| Feature< Feature_type > | abs () const |
| Filter | operator== (Feature_type value) const override |
| equality operator | |
| Filter | operator!= (Feature_type value) const override |
| inequality operator | |
| 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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlineoverridevirtual |
|
inline |
|
inline |