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