ATLAS Offline Software
Static Public Member Functions | Static Private Attributes | List of all members
TrigConf::HLTUtils Class Reference

#include <HLTUtils.h>

Collaboration diagram for TrigConf::HLTUtils:

Static Public Member Functions

static HLTHash string2hash (const std::string &, const std::string &category="TE")
 hash function translating TE names into identifiers More...
 
static const std::string hash2string (HLTHash, const std::string &category="TE")
 hash function translating identifiers into names (via internal dictionary) More...
 
static void hashes2file (const std::string &fileName="hashes2string.txt")
 debugging output of internal dictionary More...
 
static void file2hashes (const std::string &fileName="hashes2string.txt")
 debugging output of internal dictionary More...
 

Static Private Attributes

static const std::string s_newCategory {"##NewCategory"}
 In-file identifier. More...
 
static HashStore s_hashStore ATLAS_THREAD_SAFE {}
 Nested concurrent hash-maps to store (key=hash, value=string) pairs for different hash categories. More...
 

Detailed Description

Definition at line 47 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

Member Function Documentation

◆ file2hashes()

static void TrigConf::HLTUtils::file2hashes ( const std::string &  fileName = "hashes2string.txt")
static

debugging output of internal dictionary

◆ hash2string()

static const std::string TrigConf::HLTUtils::hash2string ( HLTHash  ,
const std::string &  category = "TE" 
)
static

hash function translating identifiers into names (via internal dictionary)

◆ hashes2file()

static void TrigConf::HLTUtils::hashes2file ( const std::string &  fileName = "hashes2string.txt")
static

debugging output of internal dictionary

◆ string2hash()

static HLTHash TrigConf::HLTUtils::string2hash ( const std::string &  ,
const std::string &  category = "TE" 
)
static

hash function translating TE names into identifiers

Member Data Documentation

◆ ATLAS_THREAD_SAFE

HashStore s_hashStore TrigConf::HLTUtils::ATLAS_THREAD_SAFE {}
inlinestaticprivate

Nested concurrent hash-maps to store (key=hash, value=string) pairs for different hash categories.

Definition at line 63 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.

◆ s_newCategory

const std::string TrigConf::HLTUtils::s_newCategory {"##NewCategory"}
inlinestaticprivate

In-file identifier.

Definition at line 60 of file TrigConfHLTUtils/TrigConfHLTUtils/HLTUtils.h.


The documentation for this class was generated from the following file: