5#ifndef TrigConfHLTUtils_HLTUtils
6#define TrigConfHLTUtils_HLTUtils
54 static void hashes2file(
const std::string& fileName=
"hashes2string.txt" );
56 static void file2hashes(
const std::string& fileName=
"hashes2string.txt" );
Hash map from strings allowing concurrent, lockless reads.
Hash map from strings to arbitrary objects allowing concurrent, lockless reads.
Hash map from pointers/integers to arbitrary objects allowing concurrent, lockless reads.
Simple (non-deleting) Updater implementation.
Define macros for attributes used to control the static checker.
Hash map from strings allowing concurrent, lockless reads.
typename Impl_t::Updater_t Updater_t
Hash map from strings to arbitrary objects allowing concurrent, lockless reads.
typename Impl_t::Updater_t Updater_t
Hash map from pointers/integers to arbitrary objects allowing concurrent, lockless reads.
typename Impl_t::Updater_t Updater_t
static const std::string hash2string(HLTHash, const std::string &category="TE")
hash function translating identifiers into names (via internal dictionary)
static void hashes2file(const std::string &fileName="hashes2string.txt")
debugging output of internal dictionary
static const std::string s_newCategory
In-file identifier.
static HLTHash string2hash(const std::string &, const std::string &category="TE")
hash function translating TE names into identifiers
static void file2hashes(const std::string &fileName="hashes2string.txt")
debugging output of internal dictionary
static HashStore s_hashStore ATLAS_THREAD_SAFE
Nested concurrent hash-maps to store (key=hash, value=string) pairs for different hash categories.
Forward iterator to traverse the main components of the trigger configuration.
Two concurrent maps to store name->hash and hash->name mappings.
CxxUtils::ConcurrentToValMap< HLTHash, const std::string, CxxUtils::SimpleUpdater > Hash2NameMap_t
Hash2NameMap_t hash2name
hash to name map
Name2HashMap_t name2hash
name to hash map
CxxUtils::ConcurrentStrMap< HLTHash, CxxUtils::SimpleUpdater > Name2HashMap_t
Store for hash maps per category.
HashMap_t hashCat
one HashMap per category
CxxUtils::ConcurrentStrToValMap< HashMap, CxxUtils::SimpleUpdater > HashMap_t