Provides util::makeValueIndex() helper function.
More...
#include "larcorealg/CoreUtils/enumerate.h"#include "larcorealg/CoreUtils/fromFutureImport.h"#include "larcorealg/CoreUtils/DebugUtils.h"#include <map>#include <stdexcept>#include <string>#include <type_traits>#include <cstddef>Go to the source code of this file.
Namespaces | |
| util | |
| Namespace for general, non-LArSoft-specific utilities. | |
Functions | |
| template<typename Coll , typename Extractor > | |
| decltype(auto) | util::makeValueIndex (Coll const &coll, Extractor getter) |
| Returns a map of value to index. More... | |
| template<typename Coll > | |
| auto | util::makeValueIndex (Coll const &coll) |
Provides util::makeValueIndex() helper function.
This is a header-only library.
This utility belongs to the same cetegory as util::MakeIndex(), but that one is definded in lardataalg and we need this one for geometry.
Definition in file makeValueIndex.h.
1.8.5