|
HepMC3 event record library
|
Defines Filter operations for combingin Filters.
Definition in file Filter.h.
Include dependency graph for Filter.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | HepMC3 |
| HepMC3 main namespace. | |
Typedefs | |
| using | Filter = std::function<bool(ConstGenParticlePtr)> |
| type of Filter | |
Functions | |
| std::vector< GenParticlePtr > | applyFilter (const Filter &filter, const std::vector< GenParticlePtr > &particles) |
| Apply a Filter to a list of GenParticles Returns a vector of GenParticles that satisfy the Filter. | |
| std::vector< ConstGenParticlePtr > | applyFilter (const Filter &filter, const std::vector< ConstGenParticlePtr > &particles) |
| Apply a Filter to a list of ConstGenParticles Returns a vector of ConstGenParticles that satisfy the Filter. | |
| bool | ACCEPT_ALL (ConstGenParticlePtr) |
| A Filter that will accept all particles This might be needed if a signature requires a default Filter. | |
| Filter | operator&& (const Filter &lhs, const Filter &rhs) |
| The logical AND of two Filters is itself a Filter. | |
| Filter | operator|| (const Filter &lhs, const Filter &rhs) |
| The logical OR of two Filters is itself a Filter. | |
| Filter | operator! (const Filter &rhs) |
| The negation of a Filter is itself a Filter. | |