![]() |
ATLAS Offline Software
|
utility class to select combination of elements in a collection More...
Namespaces | |
| Classify | |
| classify | |
| Delta | |
| compute \( \Delta \) | |
| Imass | |
| compute Invariant mass | |
| Match | |
| find the closest element in a collection to an INavigable4Momentum | |
| Sort | |
| sort | |
Classes | |
| class | Combination |
| combination More... | |
| class | Permutation |
| permutation More... | |
| struct | Selection |
Functions | |
| template<class In , class Out , class Pred > | |
| Out | copy_if (In first, const In &last, Out res, const Pred &p) |
utility class to select combination of elements in a collection
IFilterUtils : Implements a copy iterator (STL is missing this utility, though one could use the std::remove_if with the negative predicate).
Utility class to get elements which pass a selection criteria.
utility class to return permutation of a collection
Tools collection.
User must provide a class for the selection critaria. The class must have a public method "bool isAccepted(Collection::value_type e)".
The output destination container is filled with the current iterator on the input container, only if the predicate is true. Example:
where in and out are STL-like containers and filter is a predicate (in our case, it could be a reference toward an IFilter).
1.8.18