LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Procedures to create maps of object locations. More...
Go to the source code of this file.
Namespaces | |
util | |
Namespace for general, non-LArSoft-specific utilities. | |
Functions | |
template<typename Coll , typename KeyOf > | |
std::vector< size_t > | util::MakeIndex (Coll const &data, KeyOf key_of=KeyOf()) |
Creates a map of indices from an existing collection. More... | |
template<typename Coll , typename KeyOf > | |
auto | util::MakeMap (Coll const &data, KeyOf key_of=KeyOf()) -> std::vector< decltype(key_of(*(data.begin()))) const * > |
Creates a map of objects from an existing collection. More... | |